ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_snr_cpe-w4n-mt.dts
index a1a560684297ed30fe3e4336c2b7e6ed8b387dda..6aecfa66989913b478b4a80f48cfd414c6657170 100644 (file)
@@ -21,7 +21,6 @@
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "green:sys";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // GPIO#38
                };
 
                led_wps: wps {
-                       label = "green:wps";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_WPS;
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; // GPIO#39
                };
 
                wlan {
-                       label = "green:wlan";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_WLAN;
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; // GPIO#72
                                reg = <0x30000 0x10000>;
                        };
 
-                       factory: partition@40000 {
-                               compatible = "nvmem-cells";
+                       partition@40000 {
                                label = "Factory";
                                reg = <0x40000 0x10000>;
-                               #address-cells = <1>;
-                               #size-cells = <1>;
                                read-only;
 
-                               eeprom_factory_0: eeprom@0 {
-                                       reg = <0x0 0x200>;
+                               nvmem-layout {
+                                       compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
+
+                                       eeprom_factory_0: eeprom@0 {
+                                               reg = <0x0 0x200>;
+                                       };
                                };
                        };