diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts index a1a83bf237..9f1d667070 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts @@ -100,11 +100,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 { @@ -125,3 +127,13 @@ output-high; }; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_f100: macaddr@f100 { + reg = <0xf100 0x6>; + }; +}; |