summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3662_omnima_hpm.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/rt3662_omnima_hpm.dts
parent07482d15af5dd79fc38dd0eb23319934fe4d7a7a (diff)
downloadopenwrt-5f479a4f343019bc9511ba841042d42d045f3fbf.tar.gz
openwrt-5f479a4f343019bc9511ba841042d42d045f3fbf.tar.bz2
openwrt-5f479a4f343019bc9511ba841042d42d045f3fbf.zip
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_omnima_hpm.dts')
-rw-r--r--target/linux/ramips/dts/rt3662_omnima_hpm.dts21
1 files changed, 12 insertions, 9 deletions
diff --git a/target/linux/ramips/dts/rt3662_omnima_hpm.dts b/target/linux/ramips/dts/rt3662_omnima_hpm.dts
index 644cc557b9..e06e6986ec 100644
--- a/target/linux/ramips/dts/rt3662_omnima_hpm.dts
+++ b/target/linux/ramips/dts/rt3662_omnima_hpm.dts
@@ -110,19 +110,22 @@
};
factory: partition@40000 {
- compatible = "nvmem-cells";
- label = "factory";
reg = <0x00040000 0x00010000>;
- #address-cells = <1>;
- #size-cells = <1>;
+ label = "factory";
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_28: macaddr@28 {
- reg = <0x28 0x6>;
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};
};