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/rt3052_aximcom_mr-102n.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/rt3052_aximcom_mr-102n.dts')
-rw-r--r-- | target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts index bee541885a..456bc20415 100644 --- a/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts +++ b/target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts @@ -38,19 +38,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 0x200>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom_factory_0: eeprom@0 { + reg = <0x0 0x200>; + }; - macaddr_factory_4: macaddr@4 { - reg = <0x4 0x6>; + macaddr_factory_4: macaddr@4 { + reg = <0x4 0x6>; + }; }; }; |