Commit 8a3a9535 authored by Yangtao Li's avatar Yangtao Li Committed by Maxime Ripard

arm64: dts: allwinner: h6: Add clock to CPU cores

The ARM CPU cores are fed by the CPU clock from the CCU. Add a
reference to the clock for each CPU core, along with the clock
transition latency.
Signed-off-by: default avatarYangtao Li <tiny.windzz@gmail.com>
Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
parent 3d478d21
...@@ -25,6 +25,8 @@ cpu0: cpu@0 { ...@@ -25,6 +25,8 @@ cpu0: cpu@0 {
device_type = "cpu"; device_type = "cpu";
reg = <0>; reg = <0>;
enable-method = "psci"; enable-method = "psci";
clocks = <&ccu CLK_CPUX>;
clock-latency-ns = <244144>; /* 8 32k periods */
}; };
cpu1: cpu@1 { cpu1: cpu@1 {
...@@ -32,6 +34,8 @@ cpu1: cpu@1 { ...@@ -32,6 +34,8 @@ cpu1: cpu@1 {
device_type = "cpu"; device_type = "cpu";
reg = <1>; reg = <1>;
enable-method = "psci"; enable-method = "psci";
clocks = <&ccu CLK_CPUX>;
clock-latency-ns = <244144>; /* 8 32k periods */
}; };
cpu2: cpu@2 { cpu2: cpu@2 {
...@@ -39,6 +43,8 @@ cpu2: cpu@2 { ...@@ -39,6 +43,8 @@ cpu2: cpu@2 {
device_type = "cpu"; device_type = "cpu";
reg = <2>; reg = <2>;
enable-method = "psci"; enable-method = "psci";
clocks = <&ccu CLK_CPUX>;
clock-latency-ns = <244144>; /* 8 32k periods */
}; };
cpu3: cpu@3 { cpu3: cpu@3 {
...@@ -46,6 +52,8 @@ cpu3: cpu@3 { ...@@ -46,6 +52,8 @@ cpu3: cpu@3 {
device_type = "cpu"; device_type = "cpu";
reg = <3>; reg = <3>;
enable-method = "psci"; enable-method = "psci";
clocks = <&ccu CLK_CPUX>;
clock-latency-ns = <244144>; /* 8 32k periods */
}; };
}; };
......
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