aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts')
-rw-r--r--target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
index 34170547a4..2a6963ab1c 100644
--- a/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
+++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
@@ -94,7 +94,18 @@
reg = <0x0000 0 0 0 0>;
mediatek,mtd-eeprom = <&radio 0x8000>;
ieee80211-freq-limit = <5000000 6000000>;
- mtd-mac-address = <&rom 0xf100>;
+ nvmem-cells = <&macaddr_rom_f100>;
+ nvmem-cell-names = "mac-address";
mac-address-increment = <(-1)>;
};
};
+
+&rom {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_rom_f100: macaddr@f100 {
+ reg = <0xf100 0x6>;
+ };
+};