ath79: fix unit_address_format warning
authorRosen Penev <rosenp@gmail.com>
Fri, 1 Dec 2023 20:54:08 +0000 (12:54 -0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 5 Jan 2024 15:17:57 +0000 (16:17 +0100)
Raised by dtc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts
target/linux/ath79/dts/qca9558_jjplus_jwap230.dts
target/linux/ath79/dts/qca9561_tplink_tl-wdr6500-v2.dts

index f14e138026211eeeeda3f5bcefd0674a2c4d3482..9faddcc37f372f55b6dc83ce49ec39a890bac231 100644 (file)
@@ -77,7 +77,7 @@
                compatible = "gpio-keys-polled";
                poll-interval = <20>;
 
-               button@0 {
+               button-reset {
                        label = "reset";
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio_key 1 GPIO_ACTIVE_LOW>;
index 6cd93f6b33d9d1c9bfd4b5a84eab692213ce2f26..ee2e82ef10b5886c2207d40f30a59ef6b6673628 100644 (file)
 &mdio0 {
        status = "okay";
 
-       switch {
+       switch@0 {
                compatible = "qca,ar8327";
                reg = <0>;
 
index 04567e6b889eb39eb8713c260ef92a9c618163c8..8767693c82e559182a432e023dd979b0c61f0c42 100644 (file)
@@ -86,9 +86,9 @@
                                        #address-cells = <1>;
                                        #size-cells = <1>;
 
-                                       macaddr_uboot_0fc00: macaddr@0fc00 {
+                                       macaddr_uboot_fc00: macaddr@fc00 {
                                                compatible = "mac-base";
-                                               reg = <0x0fc00 0x6>;
+                                               reg = <0xfc00 0x6>;
                                                #nvmem-cell-cells = <1>;
                                        };
                                };
                compatible = "qcom,ath10k";
                reg = <0 0 0 0 0>;
 
-               nvmem-cells = <&macaddr_uboot_0fc00 (-2)>, <&calibration_ath10k>;
+               nvmem-cells = <&macaddr_uboot_fc00 (-2)>, <&calibration_ath10k>;
                nvmem-cell-names = "mac-address", "calibration";
        };
 };
 
        phy-handle = <&swphy4>;
 
-       nvmem-cells = <&macaddr_uboot_0fc00 1>;
+       nvmem-cells = <&macaddr_uboot_fc00 1>;
        nvmem-cell-names = "mac-address";
 };
 
 &eth1 {
        status = "okay";
 
-       nvmem-cells = <&macaddr_uboot_0fc00 0>;
+       nvmem-cells = <&macaddr_uboot_fc00 0>;
        nvmem-cell-names = "mac-address";
 };
 
 &wmac {
        status = "okay";
 
-       nvmem-cells = <&macaddr_uboot_0fc00 (-1)>, <&calibration_ath9k>;
+       nvmem-cells = <&macaddr_uboot_fc00 (-1)>, <&calibration_ath9k>;
        nvmem-cell-names = "mac-address", "calibration";
 };