arm: imx: Add esdhc3/4 nodes to imx53.dtsi
authorIan Ray <ian.ray@ge.com>
Thu, 31 Jan 2019 14:21:16 +0000 (16:21 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 13 Apr 2019 18:30:08 +0000 (20:30 +0200)
These nodes are required by mx53ppd when built with CONFIG_DM_MMC=y.
They are copied from Linux 4.20.5.

Signed-off-by: Ian Ray <ian.ray@ge.com>
arch/arm/dts/imx53.dtsi

index e13009c8708b51c1b8811ca4dea64febc12d79a2..0fd4acc6f5376d3364978c730f99f868e88283f3 100644 (file)
@@ -33,6 +33,8 @@
                i2c2 = &i2c3;
                mmc0 = &esdhc1;
                mmc1 = &esdhc2;
+               mmc2 = &esdhc3;
+               mmc3 = &esdhc4;
        };
 
        tzic: tz-interrupt-controller@fffc000 {
                                        bus-width = <4>;
                                        status = "disabled";
                                };
+
+                               esdhc3: esdhc@50020000 {
+                                       compatible = "fsl,imx53-esdhc";
+                                       reg = <0x50020000 0x4000>;
+                                       interrupts = <3>;
+                                       clocks = <&clks IMX5_CLK_ESDHC3_IPG_GATE>,
+                                                <&clks IMX5_CLK_DUMMY>,
+                                                <&clks IMX5_CLK_ESDHC3_PER_GATE>;
+                                       clock-names = "ipg", "ahb", "per";
+                                       bus-width = <4>;
+                                       status = "disabled";
+                               };
+
+                               esdhc4: esdhc@50024000 {
+                                       compatible = "fsl,imx53-esdhc";
+                                       reg = <0x50024000 0x4000>;
+                                       interrupts = <4>;
+                                       clocks = <&clks IMX5_CLK_ESDHC4_IPG_GATE>,
+                                                <&clks IMX5_CLK_DUMMY>,
+                                                <&clks IMX5_CLK_ESDHC4_PER_GATE>;
+                                       clock-names = "ipg", "ahb", "per";
+                                       bus-width = <4>;
+                                       status = "disabled";
+                               };
                        };
 
                        iomuxc: iomuxc@53fa8000 {