Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Geert Uytterhoeven and committed by
Simon Horman
19417bd9 e50b5ac8

+13
+13
arch/arm/boot/dts/r8a7791-porter.dts
··· 143 143 }; 144 144 145 145 &pfc { 146 + pinctrl-0 = <&scif_clk_pins>; 147 + pinctrl-names = "default"; 148 + 146 149 scif0_pins: serial0 { 147 150 renesas,groups = "scif0_data_d"; 148 151 renesas,function = "scif0"; 152 + }; 153 + 154 + scif_clk_pins: scif_clk { 155 + renesas,groups = "scif_clk"; 156 + renesas,function = "scif_clk"; 149 157 }; 150 158 151 159 ether_pins: ether { ··· 226 218 pinctrl-0 = <&scif0_pins>; 227 219 pinctrl-names = "default"; 228 220 221 + status = "okay"; 222 + }; 223 + 224 + &scif_clk { 225 + clock-frequency = <14745600>; 229 226 status = "okay"; 230 227 }; 231 228