diff options
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts b/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts index d4f6a093d4..2e01b974a8 100644 --- a/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts +++ b/target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts @@ -58,7 +58,8 @@ }; ðernet { - mtd-mac-address = <&factory 0x2e>; + nvmem-cells = <&macaddr_factory_2e>; + nvmem-cell-names = "mac-address"; }; &ohci { @@ -130,3 +131,13 @@ &wmac { status = "okay"; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_2e: macaddr@2e { + reg = <0x2e 0x6>; + }; +}; |