aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts b/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
index eed57f7f68..e80719a4e7 100644
--- a/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
+++ b/target/linux/ramips/dts/mt7620a_dlink_dwr-960.dts
@@ -175,7 +175,8 @@
reg = <0x0000 0 0 0 0>;
ieee80211-freq-limit = <5000000 6000000>;
mediatek,mtd-eeprom = <&config 0xe08e>;
- mtd-mac-address = <&config 0xe50e>;
+ nvmem-cells = <&macaddr_config_e50e>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <2>;
};
};
@@ -186,3 +187,13 @@
function = "gpio";
};
};
+
+&config {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_config_e50e: macaddr@e50e {
+ reg = <0xe50e 0x6>;
+ };
+};