ramips: add missing syscon compatible strings for MT7688 and RT3052
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3052_unbranded_wr512-3gn-8m.dts
index c21b59168f212dbebcf3edf24416d65788f6537e..16495ddc885af940e3479ff66a861cc4b75256ef 100644 (file)
@@ -1,12 +1,10 @@
-/dts-v1/;
-
 #include "rt3052_unbranded_wr512-3gn.dtsi"
 
 / {
        compatible = "unbranded,wr512-3gn-8m", "unbranded,wr512-3gn", "ralink,rt3052-soc";
-       model = "WR512-3GN (8M)";
+       model = "Unbranded WR512-3GN (8M)";
 
-       cfi@1f000000 {
+       flash@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
                bank-width = <2>;
                                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 {