arm64: dts: renesas: hihope-common: Add pincontrol support to scif2/scif clock
authorBiju Das <biju.das@bp.renesas.com>
Thu, 30 May 2019 14:57:45 +0000 (15:57 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 6 Jun 2019 13:28:23 +0000 (15:28 +0200)
This patch adds pincontrol support to scif2/scif clock.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/hihope-common.dtsi

index 5baf532..de206b7 100644 (file)
        clock-frequency = <32768>;
 };
 
+&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";
+       };
+};
+
 &scif2 {
+       pinctrl-0 = <&scif2_pins>;
+       pinctrl-names = "default";
+
        status = "okay";
 };