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: Yangtao Li <tiny.windzz@gmail.com>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
Yangtao Li 2020-04-20 15:00:13 +02:00 committed by Maxime Ripard
parent 3d478d211b
commit 8a3a953518
No known key found for this signature in database
GPG Key ID: E3EF0D6F671851C5
1 changed files with 8 additions and 0 deletions

View File

@ -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 {
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 {
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 {
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 */
}; };
}; };