ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qcn5502_asus_rt-ac59u.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qcn5502_asus.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
8
9 / {
10 aliases {
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
15 };
16
17 keys {
18 compatible = "gpio-keys";
19
20 reset {
21 label = "reset";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
25 };
26
27 wps {
28 label = "wps";
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 led_power: power {
39 function = LED_FUNCTION_POWER;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 };
43
44 usb {
45 function = LED_FUNCTION_USB;
46 color = <LED_COLOR_ID_BLUE>;
47 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
48 trigger-sources = <&hub_port0>;
49 linux,default-trigger = "usbport";
50 };
51
52 wlan2g {
53 label = "blue:wlan2g";
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
56 };
57
58 wlan5g {
59 label = "blue:wlan5g";
60 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy0tpt";
62 };
63 };
64 };
65
66 &usb_phy0 {
67 status = "okay";
68 };
69
70 &usb0 {
71 status = "okay";
72 };