diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-11-25 13:20:44 -0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-26 00:15:58 +0100 |
commit | 40feb97e56512ed94bd3efab737b6737c2f3264f (patch) | |
tree | e5b138facfbd6abbaea45b1df1ab2bf7515dfc5f /target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts | |
parent | 32c1ac896075c7c6342bb146542f16c9d774f0f1 (diff) |
ramips: mt7620a: convert to nvmem-layout
Allows using mac-base to replace mac-address-increment.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts b/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts index 84f1153ecc..b595c581fe 100644 --- a/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts +++ b/target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts @@ -90,23 +90,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_4000: macaddr@4000 { - reg = <0x4000 0x6>; + macaddr_factory_4000: macaddr@4000 { + reg = <0x4000 0x6>; + }; }; }; |