ramips: clean up useless dts partition labels
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_zyxel_keenetic-lite-iii-a.dts
index 4c6e2a80bc923df8c0cbb3d367003905ef5cba71..899479781e27ae4da08e02b97d45384bb59afab5 100644 (file)
                compatible = "gpio-leds";
 
                led_wan: wan {
-                       label = "green:wan";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_STATUS;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // #GPIO38
                };
 
                wifi {
-                       label = "green:wifi";
                        color = <LED_COLOR_ID_GREEN>;
                        function = LED_FUNCTION_WLAN;
                        gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; // #GPIO72
                                reg = <0x30000 0x10000>;
                        };
 
-                       factory: partition@40000 {
-                               compatible = "nvmem-cells";
+                       partition@40000 {
                                label = "RF-EEPROM";
                                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>;
+                                       };
                                };
                        };