summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/r7s72100-genmai.dts
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo+renesas@jmondi.org>2017-06-22 16:54:33 +0200
committerSimon Horman <horms+renesas@verge.net.au>2017-07-31 17:09:45 +0200
commit177f8744b960ce9a3a5a4086722bb468c01cdc66 (patch)
treeb1e4ff3345e41f6cc5b2c9a0af79d4ddde3eeeb9 /arch/arm/boot/dts/r7s72100-genmai.dts
parentARM: dts: r7s72100: Add pin controller node (diff)
downloadlinux-177f8744b960ce9a3a5a4086722bb468c01cdc66.tar.xz
linux-177f8744b960ce9a3a5a4086722bb468c01cdc66.zip
ARM: dts: genmai: Add SCIF2 pin group
Add pin configuration subnode for SCIF2 serial debug interface. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/boot/dts/r7s72100-genmai.dts')
-rw-r--r--arch/arm/boot/dts/r7s72100-genmai.dts12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts
index b0db621ff176..12306ff18353 100644
--- a/arch/arm/boot/dts/r7s72100-genmai.dts
+++ b/arch/arm/boot/dts/r7s72100-genmai.dts
@@ -11,6 +11,7 @@
/dts-v1/;
#include "r7s72100.dtsi"
+#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
/ {
model = "Genmai";
@@ -36,6 +37,14 @@
};
};
+&pinctrl {
+
+ scif2_pins: serial2 {
+ /* P3_0 as TxD2; P3_2 as RxD2 */
+ pinmux = <RZA1_PINMUX(3, 0, 6)>, <RZA1_PINMUX(3, 2, 4)>;
+ };
+};
+
&extal_clk {
clock-frequency = <13330000>;
};
@@ -68,6 +77,9 @@
};
&scif2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&scif2_pins>;
+
status = "okay";
};