Commit f267eff7 authored by Vasily Khoruzhick's avatar Vasily Khoruzhick Committed by Chen-Yu Tsai

arm64: dts: allwinner: a64: add CPU clock to CPU0-3 nodes

Add CPU clock to the CPU nodes since it is a prerequisite for enabling
DVFS.
Signed-off-by: default avatarVasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
[wens@csie.org: Replace CLK_CPUX macro with raw number]
Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
parent b71818cb
...@@ -51,6 +51,8 @@ cpu0: cpu@0 { ...@@ -51,6 +51,8 @@ cpu0: cpu@0 {
reg = <0>; reg = <0>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&L2>; next-level-cache = <&L2>;
clocks = <&ccu 21>;
clock-names = "cpu";
}; };
cpu1: cpu@1 { cpu1: cpu@1 {
...@@ -59,6 +61,8 @@ cpu1: cpu@1 { ...@@ -59,6 +61,8 @@ cpu1: cpu@1 {
reg = <1>; reg = <1>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&L2>; next-level-cache = <&L2>;
clocks = <&ccu 21>;
clock-names = "cpu";
}; };
cpu2: cpu@2 { cpu2: cpu@2 {
...@@ -67,6 +71,8 @@ cpu2: cpu@2 { ...@@ -67,6 +71,8 @@ cpu2: cpu@2 {
reg = <2>; reg = <2>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&L2>; next-level-cache = <&L2>;
clocks = <&ccu 21>;
clock-names = "cpu";
}; };
cpu3: cpu@3 { cpu3: cpu@3 {
...@@ -75,6 +81,8 @@ cpu3: cpu@3 { ...@@ -75,6 +81,8 @@ cpu3: cpu@3 {
reg = <3>; reg = <3>;
enable-method = "psci"; enable-method = "psci";
next-level-cache = <&L2>; next-level-cache = <&L2>;
clocks = <&ccu 21>;
clock-names = "cpu";
}; };
L2: l2-cache { L2: l2-cache {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment