arm64: dts: amlogic: ad402: move thermal-zones to top node
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 May 2024 13:31:59 +0000 (15:31 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 6 Jun 2024 09:10:38 +0000 (11:10 +0200)
It appears that this accidentally got added into the spi node, causing
a warning.

arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts:119.16-161.4: Warning (spi_bus_reg): /soc/spi@fd000400/thermal-zones: missing or empty reg property

Fixes: 593ab951232b ("arm64: dts: amlogic: ad402: setup thermal-zones")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240528133215.2266419-1-arnd@kernel.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
arch/arm64/boot/dts/amlogic/meson-a1-ad402.dts

index c8579b6e67cf9aa7a8d2e4a1adb268cda06f2562..6883471a93b43c1c65e9f119293d7f0afbb909a5 100644 (file)
                vin-supply = <&vddao_3v3>;
                regulator-always-on;
        };
-};
-
-/* Bluetooth HCI H4 */
-&uart_AO {
-       status = "okay";
-       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
-       pinctrl-names = "default";
-};
-
-&uart_AO_B {
-       status = "okay";
-};
-
-&saradc {
-       status = "okay";
-       vref-supply = <&vddio_1v8>;
-};
-
-&spifc {
-       status = "okay";
-       pinctrl-0 = <&spifc_pins>;
-       pinctrl-names = "default";
-
-       flash@0 {
-               compatible = "spi-nand";
-               status = "okay";
-               reg = <0>;
-               spi-max-frequency = <96000000>;
-               spi-tx-bus-width = <4>;
-               spi-rx-bus-width = <4>;
-       };
 
        thermal-zones {
                soc_thermal: soc_thermal {
        };
 };
 
+/* Bluetooth HCI H4 */
+&uart_AO {
+       status = "okay";
+       pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+       pinctrl-names = "default";
+};
+
+&uart_AO_B {
+       status = "okay";
+};
+
+&saradc {
+       status = "okay";
+       vref-supply = <&vddio_1v8>;
+};
+
+&spifc {
+       status = "okay";
+       pinctrl-0 = <&spifc_pins>;
+       pinctrl-names = "default";
+
+       flash@0 {
+               compatible = "spi-nand";
+               status = "okay";
+               reg = <0>;
+               spi-max-frequency = <96000000>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
+       };
+};
+
 &usb2_phy1 {
        phy-supply = <&vcc_3v3>;
 };