summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2023-11-07 15:55:58 -0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-26 01:30:32 +0100
commitf4c33d098fdfccc741c33cfde134a2911347d17a (patch)
tree8f08cfdd28244db4478048a668f2154e0cf73d72 /target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
parent3c1c3f468510857ca40023f134429917fe8cf0f8 (diff)
downloadopenwrt-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_storylink_sap-g3200u3.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts25
1 files changed, 14 insertions, 11 deletions
diff --git a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
index d9f7281a77..39d7f0398f 100644
--- a/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
+++ b/target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
@@ -67,23 +67,26 @@
};
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_8000: eeprom@8000 {
- reg = <0x8000 0x200>;
- };
+ eeprom_factory_0: eeprom@0 {
+ reg = <0x0 0x200>;
+ };
+
+ eeprom_factory_8000: eeprom@8000 {
+ reg = <0x8000 0x200>;
+ };
- macaddr_factory_e006: macaddr@e006 {
- reg = <0xe006 0x6>;
+ macaddr_factory_e006: macaddr@e006 {
+ reg = <0xe006 0x6>;
+ };
};
};