diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts index 7392b1d7c1..5d20b6e28a 100644 --- a/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts +++ b/target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts @@ -173,7 +173,8 @@ }; &gmac0 { - mtd-mac-address = <&factory 0x4>; + nvmem-cells = <&macaddr_factory_4>; + nvmem-cell-names = "mac-address"; }; &switch0 { @@ -208,3 +209,13 @@ &xhci { status = "disabled"; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; +}; |