ath79: initial gl-ar300m support
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
index 1cb45e6afcbc579a8a47866fcc14825ab24b6979..923b3df77053a29ad07da954fd4340b80cb30f93 100644 (file)
        compatible = "ubnt,unifi", "qca,ar7241";
        model = "Ubiquiti UniFi AP";
 
+       aliases {
+               led-status = &dome_green;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x4000000>;
@@ -27,8 +31,7 @@
                #size-cells = <0>;
 
                poll-interval = <20>;
-               button@0 {
-                       label = "reset";
+               reset {
                        linux,code = <KEY_RESTART>;
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                        debounce-interval = <60>;
 
        leds {
                compatible = "gpio-leds";
-               led@0 {
+               dome_green: dome-green {
                        label = "ubnt:green:dome";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
 
-               led@1 {
+               dome-orange {
                        label = "ubnt:orange:dome";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 &pcie {
        status = "okay";
 
-       ath9k@0000 {
+       ath9k@0 {
                reg = <0x0000 0 0 0 0>;
                qca,no-eeprom;
        };