diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts index 38879d70e6..4f5faf2ee0 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v5.dts @@ -96,7 +96,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>; + }; +}; |