ath79: fix unit_address_format warning

Raised by dtc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-12-01 12:54:08 -08:00 committed by Christian Marangi
parent 2607e3fe24
commit 6dbc300baf
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 8 additions and 8 deletions

View File

@ -77,7 +77,7 @@
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
poll-interval = <20>; poll-interval = <20>;
button@0 { button-reset {
label = "reset"; label = "reset";
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
gpios = <&gpio_key 1 GPIO_ACTIVE_LOW>; gpios = <&gpio_key 1 GPIO_ACTIVE_LOW>;

View File

@ -109,7 +109,7 @@
&mdio0 { &mdio0 {
status = "okay"; status = "okay";
switch { switch@0 {
compatible = "qca,ar8327"; compatible = "qca,ar8327";
reg = <0>; reg = <0>;

View File

@ -86,9 +86,9 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
macaddr_uboot_0fc00: macaddr@0fc00 { macaddr_uboot_fc00: macaddr@fc00 {
compatible = "mac-base"; compatible = "mac-base";
reg = <0x0fc00 0x6>; reg = <0xfc00 0x6>;
#nvmem-cell-cells = <1>; #nvmem-cell-cells = <1>;
}; };
}; };
@ -134,7 +134,7 @@
compatible = "qcom,ath10k"; compatible = "qcom,ath10k";
reg = <0 0 0 0 0>; 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"; nvmem-cell-names = "mac-address", "calibration";
}; };
}; };
@ -148,21 +148,21 @@
phy-handle = <&swphy4>; phy-handle = <&swphy4>;
nvmem-cells = <&macaddr_uboot_0fc00 1>; nvmem-cells = <&macaddr_uboot_fc00 1>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&eth1 { &eth1 {
status = "okay"; status = "okay";
nvmem-cells = <&macaddr_uboot_0fc00 0>; nvmem-cells = <&macaddr_uboot_fc00 0>;
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
}; };
&wmac { &wmac {
status = "okay"; status = "okay";
nvmem-cells = <&macaddr_uboot_0fc00 (-1)>, <&calibration_ath9k>; nvmem-cells = <&macaddr_uboot_fc00 (-1)>, <&calibration_ath9k>;
nvmem-cell-names = "mac-address", "calibration"; nvmem-cell-names = "mac-address", "calibration";
}; };