1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 18:53:52 +02:00

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";
poll-interval = <20>;
button@0 {
button-reset {
label = "reset";
linux,code = <KEY_RESTART>;
gpios = <&gpio_key 1 GPIO_ACTIVE_LOW>;

View File

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

View 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>;
};
};
@ -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";
};
&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";
};