ramips: add missing syscon compatible strings for MT7688 and RT3052
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3052_unbranded_wr512-3gn-8m.dts
index ce25dc93b1c8a994268dc7c541548645c80f60c8..16495ddc885af940e3479ff66a861cc4b75256ef 100644 (file)
@@ -2,7 +2,7 @@
 
 / {
        compatible = "unbranded,wr512-3gn-8m", "unbranded,wr512-3gn", "ralink,rt3052-soc";
-       model = "WR512-3GN (8M)";
+       model = "Unbranded WR512-3GN (8M)";
 
        flash@1f000000 {
                compatible = "cfi-flash";
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;
+
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
+                               };
                        };
 
                        partition@50000 {