aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts')
-rw-r--r--target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts20
1 files changed, 18 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts b/target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts
index 89822586ff..16a2794b97 100644
--- a/target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts
+++ b/target/linux/ath79/dts/qca9531_compex_wpj531-16m.dts
@@ -105,11 +105,13 @@
phy-handle = <&swphy4>;
- mtd-mac-address = <&uboot 0x2e010>;
+ nvmem-cells = <&macaddr_uboot_2e010>;
+ nvmem-cell-names = "mac-address";
};
&eth1 {
- mtd-mac-address = <&uboot 0x2e018>;
+ nvmem-cells = <&macaddr_uboot_2e018>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
@@ -134,3 +136,17 @@
&usb0 {
status = "okay";
};
+
+&uboot {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_uboot_2e010: macaddr@2e010 {
+ reg = <0x2e010 0x6>;
+ };
+
+ macaddr_uboot_2e018: macaddr@2e018 {
+ reg = <0x2e018 0x6>;
+ };
+};