1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qcn5502_asus.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
28 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
30 debounce-interval = <60>;
35 compatible = "gpio-leds";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
45 trigger-sources = <&hub_port0>;
46 linux,default-trigger = "usbport";
50 label = "blue:wlan2g";
51 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
56 label = "blue:wlan5g";
57 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";