mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
ath79: fix unit_address_format warning
Raised by dtc. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
2607e3fe24
commit
6dbc300baf
@ -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>;
|
||||
|
@ -109,7 +109,7 @@
|
||||
&mdio0 {
|
||||
status = "okay";
|
||||
|
||||
switch {
|
||||
switch@0 {
|
||||
compatible = "qca,ar8327";
|
||||
reg = <0>;
|
||||
|
||||
|
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user