aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>2018-08-30 10:56:35 -0400
committerSimon Horman <horms+renesas@verge.net.au>2018-09-13 03:47:56 -0400
commit103db9b539567073de2200a8a0a725646610865d (patch)
treec39fa1ba54d6bd8f5e4226e31d8857e1015091cc
parent83e7d2ec0d7bd57666c6f8fd210255e0ec155c38 (diff)
arm64: dts: renesas: r8a77990: Add BRG support to SCIF2
Add the device node for the external SCIF_CLK, and describe the clock inputs for the Baud Rate Generator for External Clock (BRG) for SCIF2, which can increase serial clock accuracy. The presence of the SCIF_CLK crystal and its clock frequency depend on the actual board. Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com> [geert: Enhance patch description] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
-rw-r--r--arch/arm64/boot/dts/renesas/r8a77990.dtsi14
1 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi
index e2c2d1480a68..6198768264be 100644
--- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi
@@ -63,6 +63,13 @@
63 method = "smc"; 63 method = "smc";
64 }; 64 };
65 65
66 /* External SCIF clock - to be overridden by boards that provide it */
67 scif_clk: scif {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <0>;
71 };
72
66 soc: soc { 73 soc: soc {
67 compatible = "simple-bus"; 74 compatible = "simple-bus";
68 interrupt-parent = <&gic>; 75 interrupt-parent = <&gic>;
@@ -412,8 +419,11 @@
412 "renesas,rcar-gen3-scif", "renesas,scif"; 419 "renesas,rcar-gen3-scif", "renesas,scif";
413 reg = <0 0xe6e88000 0 64>; 420 reg = <0 0xe6e88000 0 64>;
414 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 421 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
415 clocks = <&cpg CPG_MOD 310>; 422 clocks = <&cpg CPG_MOD 310>,
416 clock-names = "fck"; 423 <&cpg CPG_CORE R8A77990_CLK_S3D1C>,
424 <&scif_clk>;
425 clock-names = "fck", "brg_int", "scif_clk";
426
417 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; 427 power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
418 resets = <&cpg 310>; 428 resets = <&cpg 310>;
419 status = "disabled"; 429 status = "disabled";