]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: ls1046a: support SD UHS-I and eMMC HS200 on RDB
authorYangbo Lu <yangbo.lu@nxp.com>
Tue, 9 May 2017 02:37:06 +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 and eMMC HS200 mode on
LS1046ARDB 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-ls1046a-rdb.dts
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

index c5361e91ecc12438060aea8446e5dc63016808ed..2d2872638abc9abc5f207aa700650617f2ce011a 100644 (file)
        status = "okay";
 };
 
+&esdhc {
+       mmc-hs200-1_8v;
+       sd-uhs-sdr104;
+       sd-uhs-sdr50;
+       sd-uhs-sdr25;
+       sd-uhs-sdr12;
+};
+
 &i2c0 {
        status = "okay";
 
index 7ef2b9f33e1bc971f85978c3bfdb7b2424af85e9..5975d3002f271521376265b021bfb734ca257acc 100644 (file)
                };
 
                esdhc: esdhc@1560000 {
-                       compatible = "fsl,esdhc";
+                       compatible = "fsl,ls1046a-esdhc", "fsl,esdhc";
                        reg = <0x0 0x1560000 0x0 0x10000>;
                        interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
-                       clock-frequency = <0>;
+                       clocks = <&clockgen 2 1>;
                        voltage-ranges = <1800 1800 3300 3300>;
                        sdhci,auto-cmd12;
                        big-endian;