ramips: mt7621: convert to nvmem-layout
[openwrt/staging/blocktrron.git] / target / linux / ramips / dts / mt7621_xiaomi_nand_128m.dtsi
index 12e6bccc2e26969bed62b23bf9e09e4f62ae9674..1dc91d8b47eeef0431543d9a7ee7550a146ced29 100644 (file)
                        label = "factory";
                        reg = <0x100000 0x40000>;
                        read-only;
+
+                       nvmem-layout {
+                               compatible = "fixed-layout";
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+
+                               macaddr_factory_e000: macaddr@e000 {
+                                       reg = <0xe000 0x6>;
+                               };
+
+                               macaddr_factory_e006: macaddr@e006 {
+                                       reg = <0xe006 0x6>;
+                               };
+                       };
                };
 
                partition@140000 {