ramips: convert rt2x00 EEPROM to NVMEM format
[openwrt/staging/stintel.git] / target / linux / ramips / dts / rt3052_unbranded_wr512-3gn-8m.dts
index 99693865cbc73b53006b400ae7136b8145418b16..eb04e4662c3412e83cb6a5055f7bad435e36be61 100644 (file)
                        };
 
                        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>;
+                               };
                        };
 
                        partition@50000 {