diff options
author | Rosen Penev <rosenp@gmail.com> | 2023-11-22 15:48:24 -0800 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-11-25 23:39:47 +0100 |
commit | 5f479a4f343019bc9511ba841042d42d045f3fbf (patch) | |
tree | 3eac386c19f03d5b90909a22083ffc810167d797 /target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts | |
parent | 07482d15af5dd79fc38dd0eb23319934fe4d7a7a (diff) |
ramips: rtxxxx: convert to nvmem-layout
Allows replacing mac-adress-increment.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts index a891ab657e..60ec3dacf5 100644 --- a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts +++ b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts @@ -75,32 +75,38 @@ }; factory: partition@40000 { - compatible = "nvmem-cells"; label = "factory"; reg = <0x00040000 0x00010000>; - #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_0: eeprom@0 { + reg = <0x0 0x200>; + }; - eeprom_factory_8000: eeprom@8000 { - reg = <0x8000 0x200>; + eeprom_factory_8000: eeprom@8000 { + reg = <0x8000 0x200>; + }; }; }; devdata: partition@50000 { - compatible = "nvmem-cells"; label = "devdata"; reg = <0x00050000 0x00020000>; - #address-cells = <1>; - #size-cells = <1>; read-only; - macaddr_devdata_d: macaddr@d { - reg = <0xd 0x6>; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_devdata_d: macaddr@d { + reg = <0xd 0x6>; + }; }; }; |