diff mbox series

[U-Boot,2/3] arm: imx: Add esdhc1/2 nodes to imx53.dtsi

Message ID 20190103065434.17284-3-linux-kernel-dev@beckhoff.com
State Accepted
Commit 77fd72ff8f6fb896438c4dbfa31ee8f4ea8f7df5
Delegated to: Stefano Babic
Headers show
Series Migrate i.MX53 based cx9020 to CONFIG_DM_MMC=y | expand

Commit Message

linux-kernel-dev Jan. 3, 2019, 6:54 a.m. UTC
From: Patrick Bruenn <p.bruenn@beckhoff.com>

These nodes are required by CX9020 when build with CONFIG_DM_MMC=y
They are copied from Linux 4.20

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
---

 arch/arm/dts/imx53.dtsi | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Comments

Stefano Babic Jan. 30, 2019, 9:15 a.m. UTC | #1
> From: Patrick Bruenn <p.bruenn@beckhoff.com>
> These nodes are required by CX9020 when build with CONFIG_DM_MMC=y
> They are copied from Linux 4.20
> Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi
index 64591f9d476..e13009c8708 100644
--- a/arch/arm/dts/imx53.dtsi
+++ b/arch/arm/dts/imx53.dtsi
@@ -31,6 +31,8 @@ 
 		i2c0 = &i2c1;
 		i2c1 = &i2c2;
 		i2c2 = &i2c3;
+		mmc0 = &esdhc1;
+		mmc1 = &esdhc2;
 	};
 
 	tzic: tz-interrupt-controller@fffc000 {
@@ -54,6 +56,38 @@ 
 			reg = <0x50000000 0x10000000>;
 			ranges;
 
+			spba@50000000 {
+				compatible = "fsl,spba-bus", "simple-bus";
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0x50000000 0x40000>;
+				ranges;
+
+				esdhc1: esdhc@50004000 {
+					compatible = "fsl,imx53-esdhc";
+					reg = <0x50004000 0x4000>;
+					interrupts = <1>;
+					clocks = <&clks IMX5_CLK_ESDHC1_IPG_GATE>,
+						 <&clks IMX5_CLK_DUMMY>,
+						 <&clks IMX5_CLK_ESDHC1_PER_GATE>;
+					clock-names = "ipg", "ahb", "per";
+					bus-width = <4>;
+					status = "disabled";
+				};
+
+				esdhc2: esdhc@50008000 {
+					compatible = "fsl,imx53-esdhc";
+					reg = <0x50008000 0x4000>;
+					interrupts = <2>;
+					clocks = <&clks IMX5_CLK_ESDHC2_IPG_GATE>,
+						 <&clks IMX5_CLK_DUMMY>,
+						 <&clks IMX5_CLK_ESDHC2_PER_GATE>;
+					clock-names = "ipg", "ahb", "per";
+					bus-width = <4>;
+					status = "disabled";
+				};
+			};
+
 			iomuxc: iomuxc@53fa8000 {
 				compatible = "fsl,imx53-iomuxc";
 				reg = <0x53fa8000 0x4000>;