From: Magnus Damm <[email protected]>

Configure the r7s72100 PINCTRL hardware and select pin function
for the SCIF2 serial console.

Signed-off-by: Magnus Damm <[email protected]>
Acked-by: Laurent Pinchart <[email protected]>
---
 arch/arm/boot/dts/r7s72100-genmai.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts 
b/arch/arm/boot/dts/r7s72100-genmai.dts
index 118a8e2..8d8fcc7 100644
--- a/arch/arm/boot/dts/r7s72100-genmai.dts
+++ b/arch/arm/boot/dts/r7s72100-genmai.dts
@@ -59,6 +59,16 @@
        };
 };
 
+&pfc {
+       pinctrl-0 = <&scif2_pins>;
+       pinctrl-names = "default";
+
+       scif2_pins: serial2 {
+               renesas,groups = "scif2_txd_p3_0", "scif2_rxd_p3_2";
+               renesas,function = "scif2";
+       };
+};
+
 &scif2 {
        status = "okay";
 };
-- 
2.7.4

Reply via email to