ramips: removing unnecessary compatibility for TP-Link Archer C2 v1
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7628an_glinet_vixmini_microuter.dtsi
index a40be00887f1857938d5c6abc58eaefff7c30390..94a1e15f243d6fd62024a07da6a02a472a99fe9f 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
                compatible = "gpio-leds";
 
                led_power_blue: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "white:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
@@ -72,7 +75,7 @@
                reg = <0>;
                spi-max-frequency = <10000000>;
 
-               partitions: partitions {
+               partitions {
                        compatible = "fixed-partitions";
                        #address-cells = <1>;
                        #size-cells = <1>;
@@ -89,7 +92,7 @@
                                read-only;
                        };
 
-                       factory: partition@40000 {
+                       partition@40000 {
                                label = "factory";
                                reg = <0x40000 0x10000>;
                                read-only;