arm64: dts: h3ulcb: enable SCIF clk and pins
authorVladimir Barinov <vladimir.barinov@cogentembedded.com>
Wed, 31 Aug 2016 10:02:49 +0000 (13:02 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 6 Sep 2016 10:57:24 +0000 (12:57 +0200)
This enables the external crystal for the SCIF_CLK and its pinctrl, to
be used by the Baud Rate Generator for External Clock (BRG) on (H)SCIF.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts

index ecb9e110226616a36b6cafdc6201efd9bde7ed68..67ce368ff9ee0f7420372892a1df7c2ed2ced6be 100644 (file)
 };
 
 &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 {
@@ -49,3 +57,8 @@
 
        status = "okay";
 };
+
+&scif_clk {
+       clock-frequency = <14745600>;
+       status = "okay";
+};