Skip to contentSkip to conversation

ARM: shmobile: Configure r8a7791 PFC on Koelsch via DTS

PATCH New Magnus Damm 2 participants 2 messages Nov 20, 2013 – Nov 21, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: shmobile: Configure r8a7791 PFC on Koelsch via DTS

From: Magnus Damm <[email protected]>

Configure the "D" set of data signals for SCIF0 and SCIF1 on the Koelsch board to setup pinctrl serial console bits.

---

 arch/arm/boot/dts/r8a7791-koelsch-reference.dts |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/r8a7791-koelsch-reference.dts +16 -0
@@ -30,3 +30,19 @@
 		#size-cells = <1>;
 	};
 };
+
+&pfc {
+	pinctrl-0 = <&scif0_pins &scif1_pins>;
+	pinctrl-names = "default";
+
+	scif0_pins: serial0 {
+		renesas,groups = "scif0_data_d";
+		renesas,function = "scif0";
+	};
+
+	scif1_pins: serial1 {
+		renesas,groups = "scif1_data_d";
+		renesas,function = "scif1";
+	};
+};
+
#1 lore raw

PATCH 1/1 ARM: shmobile: Configure r8a7791 PFC on Koelsch via DTS

Quoted 5 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Configure the "D" set of data signals for SCIF0 and SCIF1 on the Koelsch board to setup pinctrl serial console bits.

Thanks, I will queue this up after removing the trailing blank line that this patch introduces. Assuming all goes will I plan to push this and other updates today or tomorrow.

Quoted 28 lines

---

 arch/arm/boot/dts/r8a7791-koelsch-reference.dts |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/r8a7791-koelsch-reference.dts +16 -0
@@ -30,3 +30,19 @@
 		#size-cells = <1>;
 	};
 };
+
+&pfc {
+	pinctrl-0 = <&scif0_pins &scif1_pins>;
+	pinctrl-names = "default";
+
+	scif0_pins: serial0 {
+		renesas,groups = "scif0_data_d";
+		renesas,function = "scif0";
+	};
+
+	scif1_pins: serial1 {
+		renesas,groups = "scif1_data_d";
+		renesas,function = "scif1";
+	};
+};
+