diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts index 536180be10..8f97ba3353 100644 --- a/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts +++ b/target/linux/ramips/dts/mt7621_ubnt_edgerouter-x-sfp.dts @@ -66,8 +66,19 @@ label = "eth5"; phy-handle = <&ephy7>; phy-mode = "rgmii-rxid"; - mtd-mac-address = <&factory 0x22>; + nvmem-cells = <&macaddr_factory_22>; + nvmem-cell-names = "mac-address"; mac-address-increment = <5>; }; }; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_22: macaddr@22 { + reg = <0x22 0x6>; + }; +}; |