Commit 3764db4f authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Maxime Ripard

ARM: dts: sun8i: a83t: Add missing CPU clock references

A83T DTSI has cpu clocks defined only on the first CPU in each cluster.
We can bring down any CPU in the cluster, so we need to define clock
for each CPU, so that the system knows what clock to use if the first
CPU is down.

Also move the clocks property below the compatible on cpus where it is
already defined. Property "clock-names" is not needed.
Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 31ec8c14
...@@ -61,10 +61,9 @@ cpus { ...@@ -61,10 +61,9 @@ cpus {
#size-cells = <0>; #size-cells = <0>;
cpu0: cpu@0 { cpu0: cpu@0 {
clocks = <&ccu CLK_C0CPUX>;
clock-names = "cpu";
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C0CPUX>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -75,6 +74,7 @@ cpu0: cpu@0 { ...@@ -75,6 +74,7 @@ cpu0: cpu@0 {
cpu@1 { cpu@1 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C0CPUX>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -85,6 +85,7 @@ cpu@1 { ...@@ -85,6 +85,7 @@ cpu@1 {
cpu@2 { cpu@2 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C0CPUX>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -95,6 +96,7 @@ cpu@2 { ...@@ -95,6 +96,7 @@ cpu@2 {
cpu@3 { cpu@3 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C0CPUX>;
operating-points-v2 = <&cpu0_opp_table>; operating-points-v2 = <&cpu0_opp_table>;
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -103,10 +105,9 @@ cpu@3 { ...@@ -103,10 +105,9 @@ cpu@3 {
}; };
cpu100: cpu@100 { cpu100: cpu@100 {
clocks = <&ccu CLK_C1CPUX>;
clock-names = "cpu";
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C1CPUX>;
operating-points-v2 = <&cpu1_opp_table>; operating-points-v2 = <&cpu1_opp_table>;
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -117,6 +118,7 @@ cpu100: cpu@100 { ...@@ -117,6 +118,7 @@ cpu100: cpu@100 {
cpu@101 { cpu@101 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C1CPUX>;
operating-points-v2 = <&cpu1_opp_table>; operating-points-v2 = <&cpu1_opp_table>;
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -127,6 +129,7 @@ cpu@101 { ...@@ -127,6 +129,7 @@ cpu@101 {
cpu@102 { cpu@102 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C1CPUX>;
operating-points-v2 = <&cpu1_opp_table>; operating-points-v2 = <&cpu1_opp_table>;
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
...@@ -137,6 +140,7 @@ cpu@102 { ...@@ -137,6 +140,7 @@ cpu@102 {
cpu@103 { cpu@103 {
compatible = "arm,cortex-a7"; compatible = "arm,cortex-a7";
device_type = "cpu"; device_type = "cpu";
clocks = <&ccu CLK_C1CPUX>;
operating-points-v2 = <&cpu1_opp_table>; operating-points-v2 = <&cpu1_opp_table>;
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
......
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