diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_edimax_re23s.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_edimax_re23s.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_edimax_re23s.dts b/target/linux/ramips/dts/mt7621_edimax_re23s.dts index 9b96573446..1a3181e4e3 100644 --- a/target/linux/ramips/dts/mt7621_edimax_re23s.dts +++ b/target/linux/ramips/dts/mt7621_edimax_re23s.dts @@ -137,7 +137,8 @@ }; &gmac0 { - mtd-mac-address = <&factory 0x8004>; + nvmem-cells = <&macaddr_factory_8004>; + nvmem-cell-names = "mac-address"; }; &switch0 { @@ -159,3 +160,13 @@ &xhci { status = "disabled"; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_8004: macaddr@8004 { + reg = <0x8004 0x6>; + }; +}; |