include/rootfs: skip removal of APK cache now deprecated
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_re450.dtsi
index e09c1ba63fff8a235f7cd3acd2767c4b20de3b15..2e9ef99cd0d9f723737519c31cbf4ce147d4cad5 100644 (file)
@@ -4,10 +4,10 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
-               label-mac-device = &eth0;
                led-boot = &led_power;
                led-failsafe = &led_power;
                led-running = &led_power;
@@ -19,7 +19,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                };
 
                };
 
                wps_blue {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
                };
 
                wps_red {
-                       label = "red:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 20 GPIO_ACTIVE_HIGH>;
                };
        };
        status = "okay";
 };
 
-&uart {
-       status = "okay";
-};
-
 &spi {
        status = "okay";
 
 
        phy-mode = "sgmii";
        phy-handle = <&phy4>;
-
-       mtd-mac-address = <&info 0x8>;
 };
 
 &wmac {
        status = "okay";
-
-       mtd-cal-data = <&art 0x1000>;
-       mtd-mac-address = <&info 0x8>;
 };