diff mbox series

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

Message ID 20180415225935.20458-1-marek.vasut+renesas@gmail.com
State Superseded
Delegated to: Mario Six
Headers show
Series [U-Boot] ARM: rmobile: Add rudimentary SDHI2 node on R8A77970 V3M Eagle | expand

Commit Message

Marek Vasut April 15, 2018, 10:59 p.m. UTC
Add rudimentary SDHI2 DT node on R8A77970 V3M Eagle 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>
---
 arch/arm/dts/r8a77970.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Marek Vasut April 15, 2018, 11:08 p.m. UTC | #1
On 04/16/2018 12:59 AM, Marek Vasut wrote:
> Add rudimentary SDHI2 DT node on R8A77970 V3M Eagle 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>
> ---

Please ignore, V2 out. The Eagle part shouldn't be in the commit
message, this is V3M generic.
diff mbox series

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";
+		};
 	};
 };