ath79: add pinmux to ar9330
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_unifi.dts
index 1cb45e6afcbc579a8a47866fcc14825ab24b6979..adcaf748bb7c6428d89f5b2bb0761d240f6daaa2 100644 (file)
@@ -10,9 +10,8 @@
        compatible = "ubnt,unifi", "qca,ar7241";
        model = "Ubiquiti UniFi AP";
 
-       memory@0 {
-               device_type = "memory";
-               reg = <0x0 0x4000000>;
+       aliases {
+               led-status = &dome_green;
        };
 
        extosc: ref {
@@ -27,8 +26,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;
        };