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>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
24 debounce-interval = <60>;
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
36 compatible = "gpio-leds";
39 function = LED_FUNCTION_POWER;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
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";
53 label = "blue:wlan2g";
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "blue:wlan5g";
60 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy0tpt";