Browse Source

arm64: dts: r8a7796: salvator-x: add serial console pins

Adds pin control for SCIF2.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Ulrich Hecht 9 years ago
parent
commit
6b5f8e7e7f
1 changed files with 16 additions and 0 deletions
  1. 16 0
      arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts

+ 16 - 0
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts

@@ -31,11 +31,27 @@
 	};
 	};
 };
 };
 
 
+&pfc {
+	pinctrl-0 = <&scif_clk_pins>;
+	pinctrl-names = "default";
+
+	scif2_pins: scif2 {
+		groups = "scif2_data_a";
+		function = "scif2";
+	};
+	scif_clk_pins: scif_clk {
+		groups = "scif_clk_a";
+		function = "scif_clk";
+	};
+};
+
 &extal_clk {
 &extal_clk {
 	clock-frequency = <16666666>;
 	clock-frequency = <16666666>;
 };
 };
 
 
 &scif2 {
 &scif2 {
+	pinctrl-0 = <&scif2_pins>;
+	pinctrl-names = "default";
 	status = "okay";
 	status = "okay";
 };
 };