Message ID | 1492746756-12024-4-git-send-email-yangbo.lu@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Apr 21, 2017 at 11:52:36AM +0800, Yangbo Lu wrote: > There are two eSDHC controllers in LS1012A. This patch is to add > eSDHC nodes for ls1012a dts. Also enable eSDHC for RDB/QDS boards. > > Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> > --- > arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 8 ++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 13 ++++++++++++ > arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 25 +++++++++++++++++++++++ > 3 files changed, 46 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > index e2a93d5..a21a587 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > @@ -130,3 +130,11 @@ > &sata { > status = "okay"; > }; > + > +&esdhc0 { > + status = "okay"; > +}; > + > +&esdhc1 { > + status = "okay"; > +}; Sort these labeled nodes alphabetically. > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > index ed77f6b..57669b0 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > @@ -61,3 +61,16 @@ > &sata { > status = "okay"; > }; > + > +&esdhc0 { > + sd-uhs-sdr104; > + sd-uhs-sdr50; > + sd-uhs-sdr25; > + sd-uhs-sdr12; > + status = "okay"; > +}; > + > +&esdhc1 { > + mmc-hs200-1_8v; > + status = "okay"; > +}; Ditto > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > index b497ac1..e3a1943 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > @@ -302,6 +302,31 @@ > }; > }; > > + esdhc0: esdhc@1560000 { Sort the nodes in order of unit-address. > + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; Please document the compatible. Shawn > + reg = <0x0 0x1560000 0x0 0x10000>; > + interrupts = <0 62 0x4>; > + clocks = <&clockgen 4 0>; > + voltage-ranges = <1800 1800 3300 3300>; > + sdhci,auto-cmd12; > + big-endian; > + bus-width = <4>; > + status = "disabled"; > + }; > + > + esdhc1: esdhc@1580000 { > + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; > + reg = <0x0 0x1580000 0x0 0x10000>; > + interrupts = <0 65 0x4>; > + clocks = <&clockgen 4 0>; > + voltage-ranges = <1800 1800 3300 3300>; > + sdhci,auto-cmd12; > + big-endian; > + broken-cd; > + bus-width = <4>; > + status = "disabled"; > + }; > + > i2c0: i2c@2180000 { > compatible = "fsl,vf610-i2c"; > #address-cells = <1>; > -- > 2.1.0.27.g96db324 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Shawn, > -----Original Message----- > From: Shawn Guo [mailto:shawnguo@kernel.org] > Sent: Wednesday, May 03, 2017 9:06 PM > To: Y.B. Lu > Cc: linux-arm-kernel@lists.infradead.org; ulf.hansson@linaro.org; Catalin > Marinas; Xiaobo Xie > Subject: Re: [PATCH 3/3] arm64: dts: ls1012a: add eSDHC nodes > > On Fri, Apr 21, 2017 at 11:52:36AM +0800, Yangbo Lu wrote: > > There are two eSDHC controllers in LS1012A. This patch is to add eSDHC > > nodes for ls1012a dts. Also enable eSDHC for RDB/QDS boards. > > > > Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> > > --- > > arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 8 ++++++++ > > arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 13 ++++++++++++ > > arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 25 > +++++++++++++++++++++++ > > 3 files changed, 46 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > > b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > > index e2a93d5..a21a587 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts > > @@ -130,3 +130,11 @@ > > &sata { > > status = "okay"; > > }; > > + > > +&esdhc0 { > > + status = "okay"; > > +}; > > + > > +&esdhc1 { > > + status = "okay"; > > +}; > > Sort these labeled nodes alphabetically. [Lu Yangbo-B47093] Ok, I will do that. > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > > b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > > index ed77f6b..57669b0 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts > > @@ -61,3 +61,16 @@ > > &sata { > > status = "okay"; > > }; > > + > > +&esdhc0 { > > + sd-uhs-sdr104; > > + sd-uhs-sdr50; > > + sd-uhs-sdr25; > > + sd-uhs-sdr12; > > + status = "okay"; > > +}; > > + > > +&esdhc1 { > > + mmc-hs200-1_8v; > > + status = "okay"; > > +}; > > Ditto > [Lu Yangbo-B47093] No problem. > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > index b497ac1..e3a1943 100644 > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi > > @@ -302,6 +302,31 @@ > > }; > > }; > > > > + esdhc0: esdhc@1560000 { > > Sort the nodes in order of unit-address. [Lu Yangbo-B47093] Ok, I will do that. > > > + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; > > Please document the compatible. > [Lu Yangbo-B47093] Ok, will add a patch for that > Shawn > > > + reg = <0x0 0x1560000 0x0 0x10000>; > > + interrupts = <0 62 0x4>; > > + clocks = <&clockgen 4 0>; > > + voltage-ranges = <1800 1800 3300 3300>; > > + sdhci,auto-cmd12; > > + big-endian; > > + bus-width = <4>; > > + status = "disabled"; > > + }; > > + > > + esdhc1: esdhc@1580000 { > > + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; > > + reg = <0x0 0x1580000 0x0 0x10000>; > > + interrupts = <0 65 0x4>; > > + clocks = <&clockgen 4 0>; > > + voltage-ranges = <1800 1800 3300 3300>; > > + sdhci,auto-cmd12; > > + big-endian; > > + broken-cd; > > + bus-width = <4>; > > + status = "disabled"; > > + }; > > + > > i2c0: i2c@2180000 { > > compatible = "fsl,vf610-i2c"; > > #address-cells = <1>; > > -- > > 2.1.0.27.g96db324 > > > > > > _______________________________________________ > > linux-arm-kernel mailing list > > linux-arm-kernel@lists.infradead.org > > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts index e2a93d5..a21a587 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts @@ -130,3 +130,11 @@ &sata { status = "okay"; }; + +&esdhc0 { + status = "okay"; +}; + +&esdhc1 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts index ed77f6b..57669b0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts @@ -61,3 +61,16 @@ &sata { status = "okay"; }; + +&esdhc0 { + sd-uhs-sdr104; + sd-uhs-sdr50; + sd-uhs-sdr25; + sd-uhs-sdr12; + status = "okay"; +}; + +&esdhc1 { + mmc-hs200-1_8v; + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi index b497ac1..e3a1943 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi @@ -302,6 +302,31 @@ }; }; + esdhc0: esdhc@1560000 { + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1560000 0x0 0x10000>; + interrupts = <0 62 0x4>; + clocks = <&clockgen 4 0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + big-endian; + bus-width = <4>; + status = "disabled"; + }; + + esdhc1: esdhc@1580000 { + compatible = "fsl,ls1012a-esdhc", "fsl,esdhc"; + reg = <0x0 0x1580000 0x0 0x10000>; + interrupts = <0 65 0x4>; + clocks = <&clockgen 4 0>; + voltage-ranges = <1800 1800 3300 3300>; + sdhci,auto-cmd12; + big-endian; + broken-cd; + bus-width = <4>; + status = "disabled"; + }; + i2c0: i2c@2180000 { compatible = "fsl,vf610-i2c"; #address-cells = <1>;
There are two eSDHC controllers in LS1012A. This patch is to add eSDHC nodes for ls1012a dts. Also enable eSDHC for RDB/QDS boards. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> --- arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 8 ++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.dts | 13 ++++++++++++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi | 25 +++++++++++++++++++++++ 3 files changed, 46 insertions(+)