From: Rosen Penev Date: Fri, 1 Dec 2023 20:54:08 +0000 (-0800) Subject: ath79: fix unit_address_format warning X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6dbc300bafa34a229f342701551d3c4d65c9d22a;p=openwrt%2Fopenwrt.git ath79: fix unit_address_format warning Raised by dtc. Signed-off-by: Rosen Penev --- diff --git a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts index f14e138026..9faddcc37f 100644 --- a/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts +++ b/target/linux/ath79/dts/ar9342_mikrotik_routerboard-912uag-2hpnd.dts @@ -77,7 +77,7 @@ compatible = "gpio-keys-polled"; poll-interval = <20>; - button@0 { + button-reset { label = "reset"; linux,code = ; gpios = <&gpio_key 1 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts b/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts index 6cd93f6b33..ee2e82ef10 100644 --- a/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts +++ b/target/linux/ath79/dts/qca9558_jjplus_jwap230.dts @@ -109,7 +109,7 @@ &mdio0 { status = "okay"; - switch { + switch@0 { compatible = "qca,ar8327"; reg = <0>; diff --git a/target/linux/ath79/dts/qca9561_tplink_tl-wdr6500-v2.dts b/target/linux/ath79/dts/qca9561_tplink_tl-wdr6500-v2.dts index 04567e6b88..8767693c82 100644 --- a/target/linux/ath79/dts/qca9561_tplink_tl-wdr6500-v2.dts +++ b/target/linux/ath79/dts/qca9561_tplink_tl-wdr6500-v2.dts @@ -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>; }; }; @@ -134,7 +134,7 @@ 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"; }; }; @@ -148,21 +148,21 @@ phy-handle = <&swphy4>; - nvmem-cells = <&macaddr_uboot_0fc00 1>; + nvmem-cells = <&macaddr_uboot_fc00 1>; nvmem-cell-names = "mac-address"; }; ð1 { 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"; };