From 5f479a4f343019bc9511ba841042d42d045f3fbf Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 22 Nov 2023 15:48:24 -0800 Subject: ramips: rtxxxx: convert to nvmem-layout Allows replacing mac-adress-increment. Signed-off-by: Rosen Penev --- target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts') diff --git a/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts b/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts index 1154d205b7..a452a44202 100644 --- a/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts +++ b/target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts @@ -38,19 +38,22 @@ }; devconf: partition@40000 { - compatible = "nvmem-cells"; label = "devconf"; reg = <0x40000 0x10000>; - #address-cells = <1>; - #size-cells = <1>; read-only; - eeprom_devconf_0: eeprom@0 { - reg = <0x0 0x200>; - }; + nvmem-layout { + compatible = "fixed-layout"; + #address-cells = <1>; + #size-cells = <1>; + + eeprom_devconf_0: eeprom@0 { + reg = <0x0 0x200>; + }; - macaddr_devconf_4: macaddr@4 { - reg = <0x4 0x6>; + macaddr_devconf_4: macaddr@4 { + reg = <0x4 0x6>; + }; }; }; -- cgit v1.2.3