ath79: provide label MAC address
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9563_ubnt_unifiac.dtsi
index 0b7acde45799816dc324ce0d6549f7c9a267769f..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>;
-                       default-state = "off";
-                       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>;
-                       default-state = "off";
-                       linux,default-trigger = "phy1tpt";
+                       gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
 
        };
@@ -82,6 +85,7 @@
                        partition@70000 {
                                label = "firmware";
                                reg = <0x070000 0x790000>;
+                               compatible = "denx,uimage";
                        };
 
                        partition@800000 {