aboutsummaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2023-11-22 15:48:24 -0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-25 23:39:47 +0100
commit5f479a4f343019bc9511ba841042d42d045f3fbf (patch)
tree3eac386c19f03d5b90909a22083ffc810167d797 /target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
parent07482d15af5dd79fc38dd0eb23319934fe4d7a7a (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/rt5350_zorlik_zl5900v2.dts')
-rw-r--r--target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts19
1 files changed, 11 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts b/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
index 69b725356e..00fbb5e927 100644
--- a/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
+++ b/target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
@@ -66,19 +66,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>;
+ };
};
};