diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts index 55f39db680..c2c6e922b7 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts @@ -101,7 +101,18 @@ reg = <0x0000 0 0 0 0>; mediatek,mtd-eeprom = <&factory 0x28000>; ieee80211-freq-limit = <5000000 6000000>; - mtd-mac-address = <&factory 0xf100>; + nvmem-cells = <&macaddr_factory_f100>; + nvmem-cell-names = "mac-address"; mac-address-increment = <(-1)>; }; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_f100: macaddr@f100 { + reg = <0xf100 0x6>; + }; +}; |