ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qcn5502_asus_zenwifi-cd6.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
8 / {
9 aliases {
10 led-boot = &led_blue;
11 led-failsafe = &led_red;
12 led-running = &led_blue;
13 led-upgrade = &led_red;
14 };
15
16 keys {
17 compatible = "gpio-keys";
18
19 reset {
20 label = "reset";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
24 };
25
26 wps {
27 label = "wps";
28 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
31 };
32 };
33
34 leds {
35 compatible = "gpio-leds";
36
37 led_blue: blue {
38 label = "blue";
39 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
40 };
41
42 green {
43 label = "green";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 };
46
47 led_red: red {
48 label = "red";
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 };
51
52 white {
53 label = "white";
54 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
55 };
56 };
57 };