Commit 5fa21c13 authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard

arm64: dts: allwinner: h5: 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 avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200717160053.31191-5-wens@kernel.org
parent e4dae01b
...@@ -13,6 +13,8 @@ cpu0: cpu@0 { ...@@ -13,6 +13,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 {
...@@ -20,6 +22,8 @@ cpu1: cpu@1 { ...@@ -20,6 +22,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 {
...@@ -27,6 +31,8 @@ cpu2: cpu@2 { ...@@ -27,6 +31,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 {
...@@ -34,6 +40,8 @@ cpu3: cpu@3 { ...@@ -34,6 +40,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