arm64: dts: meson-g12b: move G12B thermal nodes to meson-g12b.dtsi
authorNeil Armstrong <narmstrong@baylibre.com>
Tue, 12 May 2020 09:39:15 +0000 (11:39 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 19 May 2020 23:31:53 +0000 (16:31 -0700)
The G12B thermal nodes should be in the meson-g12b.dtsi file.

Fixes: 195f140318a9 ("arm64: dts: meson: g12b: add cooling properties")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20200512093916.19676-2-narmstrong@baylibre.com
arch/arm64/boot/dts/amlogic/meson-g12.dtsi
arch/arm64/boot/dts/amlogic/meson-g12b.dtsi

index 783e5a3..e932205 100644 (file)
        };
 };
 
-&cpu_thermal {
-       cooling-maps {
-               map0 {
-                       trip = <&cpu_passive>;
-                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
-               };
-               map1 {
-                       trip = <&cpu_hot>;
-                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
-                                        <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
-               };
-       };
-};
-
 &ethmac {
        power-domains = <&pwrc PWRC_G12A_ETH_ID>;
 };
index 6dbc396..9b8548e 100644 (file)
        compatible = "amlogic,g12b-clkc";
 };
 
+&cpu_thermal {
+       cooling-maps {
+               map0 {
+                       trip = <&cpu_passive>;
+                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+               };
+               map1 {
+                       trip = <&cpu_hot>;
+                       cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                        <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+               };
+       };
+};