ath79: provide label MAC address
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9563_ubnt_unifiac.dtsi
index ca216a25a11d1f3b196a79cefc155986e0c5d416..fdd4a01d867dfdf80651c4fddc81d7f3693c2780 100644 (file)
@@ -6,6 +6,13 @@
 #include "qca956x.dtsi"
 
 / {
+       aliases {
+               led-boot = &led_white;
+               led-failsafe = &led_white;
+               led-running = &led_blue;
+               led-upgrade = &led_blue;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200n8";
        };
        leds {
                compatible = "gpio-leds";
 
-               wifi_ac {
+               led_white: led_white {
                        label = "ubnt:white:dome";
-                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
+                       gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
-               wifi_n {
+               led_blue: led_blue {
                        label = "ubnt:blue:dome";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
+                       gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
 
        };