Skip to content

Commit 704094c

Browse files
Sam Protsenkokrzk
authored andcommitted
arm64: dts: exynos850: Add CPU clocks
Define CPU cluster 0 and CPU cluster 1 CMUs, which generate CPU clocks, and add corresponding CPU clocks to CPU nodes. Signed-off-by: Sam Protsenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent b115751 commit 704094c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

arch/arm64/boot/dts/exynos/exynos850.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@
9393
compatible = "arm,cortex-a55";
9494
reg = <0x0>;
9595
enable-method = "psci";
96+
clocks = <&cmu_cpucl0 CLK_CLUSTER0_SCLK>;
97+
clock-names = "cluster0_clk";
9698
};
9799
cpu1: cpu@1 {
98100
device_type = "cpu";
@@ -117,6 +119,8 @@
117119
compatible = "arm,cortex-a55";
118120
reg = <0x100>;
119121
enable-method = "psci";
122+
clocks = <&cmu_cpucl1 CLK_CLUSTER1_SCLK>;
123+
clock-names = "cluster1_clk";
120124
};
121125
cpu5: cpu@101 {
122126
device_type = "cpu";
@@ -254,6 +258,28 @@
254258
"dout_peri_uart", "dout_peri_ip";
255259
};
256260

261+
cmu_cpucl1: clock-controller@10800000 {
262+
compatible = "samsung,exynos850-cmu-cpucl1";
263+
reg = <0x10800000 0x8000>;
264+
#clock-cells = <1>;
265+
266+
clocks = <&oscclk>, <&cmu_top CLK_DOUT_CPUCL1_SWITCH>,
267+
<&cmu_top CLK_DOUT_CPUCL1_DBG>;
268+
clock-names = "oscclk", "dout_cpucl1_switch",
269+
"dout_cpucl1_dbg";
270+
};
271+
272+
cmu_cpucl0: clock-controller@10900000 {
273+
compatible = "samsung,exynos850-cmu-cpucl0";
274+
reg = <0x10900000 0x8000>;
275+
#clock-cells = <1>;
276+
277+
clocks = <&oscclk>, <&cmu_top CLK_DOUT_CPUCL0_SWITCH>,
278+
<&cmu_top CLK_DOUT_CPUCL0_DBG>;
279+
clock-names = "oscclk", "dout_cpucl0_switch",
280+
"dout_cpucl0_dbg";
281+
};
282+
257283
cmu_g3d: clock-controller@11400000 {
258284
compatible = "samsung,exynos850-cmu-g3d";
259285
reg = <0x11400000 0x8000>;

0 commit comments

Comments
 (0)