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_iodata_wn-gx300gr.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_iodata_wn-gx300gr.dts')
-rw-r--r-- | target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts index f2cd28ad1c..5b9d0d59b2 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts @@ -89,19 +89,22 @@ }; 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 0x400>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x400>; + }; - macaddr_factory_4: macaddr@4 { - reg = <0x4 0x6>; + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; }; }; |