Skip to content

Commit

Permalink
ARM: dts: porter: 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 e50b5ac commit 19417bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/r8a7791-porter.dts
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,19 @@
};

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

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

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

ether_pins: ether {
renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
renesas,function = "eth";
Expand Down Expand Up @@ -221,6 +229,11 @@
status = "okay";
};

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

&ether {
pinctrl-0 = <&ether_pins &phy1_pins>;
pinctrl-names = "default";
Expand Down

0 comments on commit 19417bd

Please sign in to comment.