ARM: dts: rskrza1: Add SCIF2 pin group
authorChris Brandt <chris.brandt@renesas.com>
Thu, 20 Jul 2017 18:20:16 +0000 (13:20 -0500)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 31 Jul 2017 15:10:00 +0000 (17:10 +0200)
Add pin configuration for SCIF2 serial console interface.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s72100-rskrza1.dts

index 72df20a..5fac0f8 100644 (file)
@@ -10,6 +10,7 @@
 
 /dts-v1/;
 #include "r7s72100.dtsi"
+#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
 
 / {
        model = "RSKRZA1";
        clock-frequency = <32768>;
 };
 
+&pinctrl {
+
+       /* Serial Console */
+       scif2_pins: serial2 {
+               pinmux = <RZA1_PINMUX(3, 0, 6)>,        /* TxD2 */
+                        <RZA1_PINMUX(3, 2, 4)>;        /* RxD2 */
+       };
+};
+
 &mtu2 {
        status = "okay";
 };
@@ -78,5 +88,7 @@
 };
 
 &scif2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&scif2_pins>;
        status = "okay";
 };