[U-Boot,V2] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M

Message ID 20180415230706.23241-1-marek.vasut+renesas@gmail.com
State New
Delegated to: Marek Vasut
Headers show
Series
  • [U-Boot,V2] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M
Related show

Commit Message

Marek Vasut April 15, 2018, 11:07 p.m.
Add rudimentary SDHI2 DT node on R8A77970 V3M to allow the
Renesas SDHI driver to bind with it and allow access to the
SD card.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
V2: Drop the Eagle part from commit message, it's obviously for all R8A77970
---
 arch/arm/dts/r8a77970.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Patch

diff --git a/arch/arm/dts/r8a77970.dtsi b/arch/arm/dts/r8a77970.dtsi
index 42c5c72bf2..ba0e52130a 100644
--- a/arch/arm/dts/r8a77970.dtsi
+++ b/arch/arm/dts/r8a77970.dtsi
@@ -389,5 +389,16 @@ 
 			bank-width = <2>;
 			status = "disabled";
 		};
+
+		sdhi2: sd@ee140000 {
+			compatible = "renesas,sdhi-r8a77970";
+			reg = <0 0xee140000 0 0x2000>;
+			interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 314>;
+			max-frequency = <200000000>;
+			power-domains = <&sysc 32>;
+			resets = <&cpg 314>;
+			status = "disabled";
+		};
 	};
 };