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

dt-bindings: ap806: add the cluster clock node in the syscon file

Document the device tree binding for the cluster clock controllers found
in the Armada 7K/8K SoCs.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Link: https://lkml.kernel.org/r/20190710134346.30239-2-gregory.clement@bootlin.com
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Gregory CLEMENT and committed by
Stephen Boyd
096f4597 5f9e832c

+29 -2
+29 -2
Documentation/devicetree/bindings/arm/marvell/ap806-system-controller.txt
··· 21 21 The Device Tree node representing the AP806 system controller provides 22 22 a number of clocks: 23 23 24 - - 0: clock of CPU cluster 0 25 - - 1: clock of CPU cluster 1 24 + - 0: reference clock of CPU cluster 0 25 + - 1: reference clock of CPU cluster 1 26 26 - 2: fixed PLL at 1200 Mhz 27 27 - 3: MSS clock, derived from the fixed PLL 28 28 ··· 141 141 interrupt-parent = <&sei>; 142 142 interrupts = <18>; 143 143 #thermal-sensor-cells = <1>; 144 + }; 145 + }; 146 + 147 + Cluster clocks: 148 + --------------- 149 + 150 + Device Tree Clock bindings for cluster clock of AP806 Marvell. Each 151 + cluster contain up to 2 CPUs running at the same frequency. 152 + 153 + Required properties: 154 + - compatible: must be "marvell,ap806-cpu-clock"; 155 + - #clock-cells : should be set to 1. 156 + 157 + - clocks : shall be the input parent clock(s) phandle for the clock 158 + (one per cluster) 159 + 160 + - reg: register range associated with the cluster clocks 161 + 162 + ap_syscon1: system-controller@6f8000 { 163 + compatible = "marvell,armada-ap806-syscon1", "syscon", "simple-mfd"; 164 + reg = <0x6f8000 0x1000>; 165 + 166 + cpu_clk: clock-cpu@278 { 167 + compatible = "marvell,ap806-cpu-clock"; 168 + clocks = <&ap_clk 0>, <&ap_clk 1>; 169 + #clock-cells = <1>; 170 + reg = <0x278 0xa30>; 144 171 }; 145 172 };