Skip to content

Commit

Permalink
ARM: dts: bockw: Enable SCIF_CLK frequency and pins
Browse files Browse the repository at this point in the history
Add and enable 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.

This increases the range and accuracy of supported baud rates.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed Feb 9, 2016
1 parent 8a758a9 commit 33ef968
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/r8a7778-bockw.dts
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,19 @@
};

&pfc {
pinctrl-0 = <&scif_clk_pins>;
pinctrl-names = "default";

scif0_pins: serial0 {
renesas,groups = "scif0_data_a", "scif0_ctrl";
renesas,function = "scif0";
};

scif_clk_pins: scif_clk {
renesas,groups = "scif_clk";
renesas,function = "scif_clk";
};

mmc_pins: mmc {
renesas,groups = "mmc_data8", "mmc_ctrl";
renesas,function = "mmc";
Expand Down Expand Up @@ -217,3 +225,8 @@

status = "okay";
};

&scif_clk {
clock-frequency = <14745600>;
status = "okay";
};

0 comments on commit 33ef968

Please sign in to comment.