aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-01-29 05:17:24 -0500
committerSimon Horman <horms+renesas@verge.net.au>2016-02-09 13:43:28 -0500
commit19417bd9c5112f58ea63e97ba72edabd5e1cc0fe (patch)
treed60478a994f8c822eaf7f3ce7ecc904d4dbd2ba3
parente50b5ac88d3e1c4cf6f74797be6f13bc9109b037 (diff)
ARM: dts: porter: Enable SCIF_CLK frequency and pins
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>
-rw-r--r--arch/arm/boot/dts/r8a7791-porter.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/r8a7791-porter.dts b/arch/arm/boot/dts/r8a7791-porter.dts
index 5015eaa0ae50..ed1f6f884e2b 100644
--- a/arch/arm/boot/dts/r8a7791-porter.dts
+++ b/arch/arm/boot/dts/r8a7791-porter.dts
@@ -143,11 +143,19 @@
143}; 143};
144 144
145&pfc { 145&pfc {
146 pinctrl-0 = <&scif_clk_pins>;
147 pinctrl-names = "default";
148
146 scif0_pins: serial0 { 149 scif0_pins: serial0 {
147 renesas,groups = "scif0_data_d"; 150 renesas,groups = "scif0_data_d";
148 renesas,function = "scif0"; 151 renesas,function = "scif0";
149 }; 152 };
150 153
154 scif_clk_pins: scif_clk {
155 renesas,groups = "scif_clk";
156 renesas,function = "scif_clk";
157 };
158
151 ether_pins: ether { 159 ether_pins: ether {
152 renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; 160 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
153 renesas,function = "eth"; 161 renesas,function = "eth";
@@ -221,6 +229,11 @@
221 status = "okay"; 229 status = "okay";
222}; 230};
223 231
232&scif_clk {
233 clock-frequency = <14745600>;
234 status = "okay";
235};
236
224&ether { 237&ether {
225 pinctrl-0 = <&ether_pins &phy1_pins>; 238 pinctrl-0 = <&ether_pins &phy1_pins>;
226 pinctrl-names = "default"; 239 pinctrl-names = "default";