Commit 261e1a6e authored by Ondrej Jirman's avatar Ondrej Jirman Committed by Maxime Ripard

ARM: dts: sun8i: a83t: Add missing cooling device properties for CPUs

Enable to use CPUs as cooling device in the future, by adding
"#cooling-cells" to each CPU node. This property should be present for
all the CPUs of a cluster. If these are present only for a subset of
CPUs of a cluster then things will start falling apart as soon as the
CPUs are brought online in a different order. For example, this will
happen because the operating system looks for such properties in the CPU
node it is trying to bring up, so that it can register a cooling device.
Signed-off-by: default avatarOndrej Jirman <megous@megous.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 86e2f890
...@@ -69,6 +69,7 @@ cpu0: cpu@0 { ...@@ -69,6 +69,7 @@ cpu0: cpu@0 {
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <0>; reg = <0>;
#cooling-cells = <2>;
}; };
cpu@1 { cpu@1 {
...@@ -78,6 +79,7 @@ cpu@1 { ...@@ -78,6 +79,7 @@ cpu@1 {
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <1>; reg = <1>;
#cooling-cells = <2>;
}; };
cpu@2 { cpu@2 {
...@@ -87,6 +89,7 @@ cpu@2 { ...@@ -87,6 +89,7 @@ cpu@2 {
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <2>; reg = <2>;
#cooling-cells = <2>;
}; };
cpu@3 { cpu@3 {
...@@ -96,6 +99,7 @@ cpu@3 { ...@@ -96,6 +99,7 @@ cpu@3 {
cci-control-port = <&cci_control0>; cci-control-port = <&cci_control0>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <3>; reg = <3>;
#cooling-cells = <2>;
}; };
cpu100: cpu@100 { cpu100: cpu@100 {
...@@ -107,6 +111,7 @@ cpu100: cpu@100 { ...@@ -107,6 +111,7 @@ cpu100: cpu@100 {
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <0x100>; reg = <0x100>;
#cooling-cells = <2>;
}; };
cpu@101 { cpu@101 {
...@@ -116,6 +121,7 @@ cpu@101 { ...@@ -116,6 +121,7 @@ cpu@101 {
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <0x101>; reg = <0x101>;
#cooling-cells = <2>;
}; };
cpu@102 { cpu@102 {
...@@ -125,6 +131,7 @@ cpu@102 { ...@@ -125,6 +131,7 @@ cpu@102 {
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <0x102>; reg = <0x102>;
#cooling-cells = <2>;
}; };
cpu@103 { cpu@103 {
...@@ -134,6 +141,7 @@ cpu@103 { ...@@ -134,6 +141,7 @@ cpu@103 {
cci-control-port = <&cci_control1>; cci-control-port = <&cci_control1>;
enable-method = "allwinner,sun8i-a83t-smp"; enable-method = "allwinner,sun8i-a83t-smp";
reg = <0x103>; reg = <0x103>;
#cooling-cells = <2>;
}; };
}; };
......
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