ramips: add TP-LINK TL-WR902AC v4
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_iptime_a8004t.dts
index dc9033c3940509843ec51241cb11cf732040a147..7be11315c540e95132b0d6c1cc9c89b7b1ab29b9 100644 (file)
                        #size-cells = <1>;
 
                        uboot: partition@0 {
-                               compatible = "nvmem-cells";
                                label = "u-boot";
                                reg = <0x0 0x20000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               macaddr_uboot_1fc20: macaddr@1fc20 {
-                                       reg = <0x1fc20 0x6>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       macaddr_uboot_1fc20: macaddr@1fc20 {
+                                               reg = <0x1fc20 0x6>;
+                                       };
 
-                               macaddr_uboot_1fc40: macaddr@1fc40 {
-                                       reg = <0x1fc40 0x6>;
+                                       macaddr_uboot_1fc40: macaddr@1fc40 {
+                                               reg = <0x1fc40 0x6>;
+                                       };
                                };
                        };
 
                        };
 
                        factory: partition@30000 {
-                               compatible = "nvmem-cells";
                                label = "factory";
                                reg = <0x30000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x4da8>;
-                               };
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x4da8>;
+                                       };
 
-                               eeprom_factory_8000: eeprom@8000 {
-                                       reg = <0x8000 0x4da8>;
+                                       eeprom_factory_8000: eeprom@8000 {
+                                               reg = <0x8000 0x4da8>;
+                                       };
                                };
                        };