diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-08-20 00:18:12 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-08-20 18:13:55 +0200 |
commit | 8a78d6129975bb6faf168c5b51c05186e9f90856 (patch) | |
tree | 5c874d2b267bd2896185bd23e66e6af002696b6e /target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts | |
parent | 41aa765946c55a91543cc872f595f5e3298dcf0a (diff) | |
download | upstream-8a78d6129975bb6faf168c5b51c05186e9f90856.tar.gz upstream-8a78d6129975bb6faf168c5b51c05186e9f90856.tar.bz2 upstream-8a78d6129975bb6faf168c5b51c05186e9f90856.zip |
ramips: convert mtd-mac-address to nvmem for UniElec devices
Convert this series by moving the definitions to the individual
devices.
Now all devices on ramips are converted.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts b/target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts index c25a31f0ab..8037b3a304 100644 --- a/target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts +++ b/target/linux/ramips/dts/mt7628an_unielec_u7628-01-16m.dts @@ -51,3 +51,18 @@ }; }; }; + +ðernet { + nvmem-cells = <&macaddr_factory_28>; + nvmem-cell-names = "mac-address"; +}; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_28: macaddr@28 { + reg = <0x28 0x6>; + }; +}; |