diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-11-07 15:55:58 -0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-26 01:30:32 +0100 |
commit | f4c33d098fdfccc741c33cfde134a2911347d17a (patch) | |
tree | 8f08cfdd28244db4478048a668f2154e0cf73d72 /target/linux/ramips/dts/mt7621_linksys_re6500.dts | |
parent | 3c1c3f468510857ca40023f134429917fe8cf0f8 (diff) | |
download | openwrt-f4c33d098fdfccc741c33cfde134a2911347d17a.tar.gz openwrt-f4c33d098fdfccc741c33cfde134a2911347d17a.tar.bz2 openwrt-f4c33d098fdfccc741c33cfde134a2911347d17a.zip |
ramips: mt7621: convert to nvmem-layout
Allows replacing mac-address-increment with mac-base.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_linksys_re6500.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_linksys_re6500.dts | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/target/linux/ramips/dts/mt7621_linksys_re6500.dts b/target/linux/ramips/dts/mt7621_linksys_re6500.dts index 5b295a06a7..3a68224526 100644 --- a/target/linux/ramips/dts/mt7621_linksys_re6500.dts +++ b/target/linux/ramips/dts/mt7621_linksys_re6500.dts @@ -71,23 +71,26 @@ }; factory: partition@40000 { - compatible = "nvmem-cells"; label = "factory"; reg = <0x40000 0x10000>; - #address-cells = <1>; - #size-cells = <1>; read-only; - eeprom_factory_0: eeprom@0 { - reg = <0x0 0x200>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; - eeprom_factory_8000: eeprom@8000 { - reg = <0x8000 0x200>; - }; + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x200>; + }; + + eeprom_factory_8000: eeprom@8000 { + reg = <0x8000 0x200>; + }; - macaddr_factory_2e: macaddr@2e { - reg = <0x2e 0x6>; + macaddr_factory_2e: macaddr@2e { + reg = <0x2e 0x6>; + }; }; }; |