]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: ls208xa: support SD UHS-I on RDB and eMMC HS200 on QDS
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 9 May 2017 02:37:07 +0000 (10:37 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 15 May 2017 01:34:52 +0000 (09:34 +0800)
This patch is to enable SD UHS-I mode on LS208xRDB and eMMC HS200
mode on LS208xQDS in dts. Also, the eSDHC peripheral clock must be
used instead of platform clock to support these modes.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls208xa-qds.dtsi
arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi
arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi

index c4282d9deb74771ca58f1d39fcf87ea16e11aab0..b2374469a830101f64e0212e5510513b6ea3b30b 100644 (file)
@@ -46,6 +46,7 @@
  */
 
 &esdhc {
+       mmc-hs200-1_8v;
        status = "okay";
 };
 
index 9a1d0d2ab1c3fdefbb8dec4e3732f3c3d6030c3c..29af54be2665017059701e942fa601b4a3d72b09 100644 (file)
  */
 
 &esdhc {
+       sd-uhs-sdr104;
+       sd-uhs-sdr50;
+       sd-uhs-sdr25;
+       sd-uhs-sdr12;
        status = "okay";
 };
 
index 6e531b9c36b66375412373b337d072e9e24f7eeb..94cdd30450371ada8dec5dd0fd1ef398b30d30d0 100644 (file)
                        compatible = "fsl,ls2080a-esdhc", "fsl,esdhc";
                        reg = <0x0 0x2140000 0x0 0x10000>;
                        interrupts = <0 28 0x4>; /* Level high type */
-                       clock-frequency = <0>;  /* Updated by bootloader */
+                       clocks = <&clockgen 4 1>;
                        voltage-ranges = <1800 1800 3300 3300>;
                        sdhci,auto-cmd12;
                        little-endian;