]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: dts: gr-peach: Add SCIF2 pin group
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Thu, 24 Aug 2017 08:48:41 +0000 (10:48 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 19 Sep 2017 09:19:48 +0000 (11:19 +0200)
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>
arch/arm/boot/dts/r7s72100-gr-peach.dts

index 1c40a1afbd8e2b91e9b90f03e8c303bdc30455a3..bcfa6445bbaac5d9411e62b702d8acb2a94f09d3 100644 (file)
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "r7s72100.dtsi"
+#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
 
 / {
        model = "GR-Peach";
        };
 };
 
+&pinctrl {
+       scif2_pins: serial2 {
+               /* P6_2 as RxD2; P6_3 as TxD2 */
+               pinmux = <RZA1_PINMUX(6, 2, 7)>, <RZA1_PINMUX(6, 3, 7)>;
+       };
+};
+
 &extal_clk {
        clock-frequency = <13333000>;
 };
@@ -61,5 +69,8 @@
 };
 
 &scif2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&scif2_pins>;
+
        status = "okay";
 };