Skip to contentSkip to conversation

ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M

PATCH New Marek Vasut 1 participant 1 message Apr 15, 2018 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M

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.

Cc Nobuhiro Iwamatsu <[email protected]>

---
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(+)
arch/arm/dts/r8a77970.dtsi +11 -0
index 42c5c72bf2..ba0e52130a 100644
@@ -389,5 +389,16 @@
 			bank-width = <2>;
 			status = "disabled";
 		};
+
+		sdhi2: sd at 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";
+		};
 	};
 };
Signature · 1 line
2.16.2