diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts index 1f8f7f4bab..ad65152a95 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts @@ -88,11 +88,13 @@ &wmac { status = "okay"; - mtd-mac-address = <&factory 0xf100>; + nvmem-cells = <&macaddr_factory_f100>; + nvmem-cell-names = "mac-address"; }; ðernet { - mtd-mac-address = <&factory 0xf100>; + nvmem-cells = <&macaddr_factory_f100>; + nvmem-cell-names = "mac-address"; }; &esw { @@ -105,3 +107,13 @@ function = "gpio"; }; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_f100: macaddr@f100 { + reg = <0xf100 0x6>; + }; +}; |