Skip to contentSkip to conversation

ARM: dts: rmobile: Add Renesas RPC HF/QSPI DT node to R8A77990

PATCH New Marek Vasut 1 participant 4 messages Jun 13, 2018 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 ARM: dts: rmobile: Add Renesas RPC HF/QSPI DT node to R8A77990

Add device tree nodes for the Renesas RPC HF/QSPI controller to R8A77990 E3.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/dts/r8a77990.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/dts/r8a77990.dtsi +8 -0
index be4f519711..4f77be2a60 100644
@@ -269,6 +269,14 @@
 			compatible = "renesas,prr";
 			reg = <0 0xfff00044 0 4>;
 		};
+
+		rpc: rpc at 0xee200000 {
+			compatible = "renesas,rpc-r8a77990", "renesas,rpc";
+			reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
+			clocks = <&cpg CPG_MOD 917>;
+			bank-width = <2>;
+			status = "disabled";
+		};
 	};
 
 	timer {
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/4 ARM: dts: rmobile: Add SCIF2 pinmux to E3 Ebisu

Add SCIF2 pinmux nodes to R8A77990 E3 Ebisu.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/dts/r8a77990-ebisu.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/dts/r8a77990-ebisu.dts +16 -0
index 8fd9fd1b4d..ad4923888d 100644
@@ -52,12 +52,25 @@
 };
 
 &pfc {
+	pinctrl-0 = <&scif_clk_pins>;
+	pinctrl-names = "default";
+
 	avb_pins: avb {
 		mux {
 			groups = "avb_link", "avb_mii";
 			function = "avb";
 		};
 	};
+
+	scif2_pins: scif2 {
+		groups = "scif2_data_a";
+		function = "scif2";
+	};
+
+	scif_clk_pins: scif_clk {
+		groups = "scif_clk_a";
+		function = "scif_clk";
+	};
 };
 
 &rpc {
@@ -66,5 +79,8 @@
 };
 
 &scif2 {
+	pinctrl-0 = <&scif2_pins>;
+	pinctrl-names = "default";
+
 	status = "okay";
 };
Signature · 1 line
2.17.1
#2 lore raw

PATCH 3/4 ARM: dts: rmobile: Add initial SDHI nodes to R8A77990 E3

In reply to Marek Vasut

Add SDHI nodes to R8A77990 E3 SoC to allow SDHI operation.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/dts/r8a77990.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/arm/dts/r8a77990.dtsi +24 -0
index 4f77be2a60..6d2d5e1068 100644
@@ -185,6 +185,30 @@
 			reg = <0 0xe6160000 0 0x0200>;
 		};
 
+		sdhi0: sd at ee100000 {
+			compatible = "renesas,sdhi-r8a77990";
+			reg = <0 0xee100000 0 0x2000>;
+			clocks = <&cpg CPG_MOD 314>;
+			max-frequency = <200000000>;
+			status = "disabled";
+		};
+
+		sdhi1: sd at ee120000 {
+			compatible = "renesas,sdhi-r8a77990";
+			reg = <0 0xee120000 0 0x2000>;
+			clocks = <&cpg CPG_MOD 313>;
+			max-frequency = <200000000>;
+			status = "disabled";
+		};
+
+		sdhi3: sd at ee160000 {
+			compatible = "renesas,sdhi-r8a77990";
+			reg = <0 0xee160000 0 0x2000>;
+			clocks = <&cpg CPG_MOD 311>;
+			max-frequency = <200000000>;
+			status = "disabled";
+		};
+
 		sysc: system-controller at e6180000 {
 			compatible = "renesas,r8a77990-sysc";
 			reg = <0 0xe6180000 0 0x0400>;
Signature · 1 line
2.17.1
#3 lore raw

PATCH 4/4 ARM: dts: rmobile: Enable SDHI on E3 Ebisu

In reply to Marek Vasut

Enable SDHI on R8A77990 E3 Ebisu in DT.

Cc Nobuhiro Iwamatsu <[email protected]>
---
 arch/arm/dts/r8a77990-ebisu.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/dts/r8a77990-ebisu.dts +14 -0
index ad4923888d..08991bb5c6 100644
@@ -78,6 +78,20 @@
 	status = "okay";
 };
 
+&sdhi0 {
+	status = "okay";
+};
+
+&sdhi1 {
+	status = "okay";
+};
+
+&sdhi3 {
+	bus-width = <8>;
+	non-removable;
+	status = "okay";
+};
+
 &scif2 {
 	pinctrl-0 = <&scif2_pins>;
 	pinctrl-names = "default";
Signature · 1 line
2.17.1