// SPDX-License-Identifier: GPL-2.0-or-later OR MIT #include "qcn5502_asus.dtsi" #include #include #include / { aliases { led-boot = &led_power; led-failsafe = &led_power; led-running = &led_power; led-upgrade = &led_power; }; keys { compatible = "gpio-keys"; reset { label = "reset"; linux,code = ; gpios = <&gpio 17 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; wps { label = "wps"; linux,code = ; gpios = <&gpio 1 GPIO_ACTIVE_LOW>; debounce-interval = <60>; }; }; leds { compatible = "gpio-leds"; led_power: power { function = LED_FUNCTION_POWER; color = ; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; usb { function = LED_FUNCTION_USB; color = ; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; trigger-sources = <&hub_port0>; linux,default-trigger = "usbport"; }; wlan2g { label = "blue:wlan2g"; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy1tpt"; }; wlan5g { label = "blue:wlan5g"; gpios = <&gpio 5 GPIO_ACTIVE_LOW>; linux,default-trigger = "phy0tpt"; }; }; }; &usb_phy0 { status = "okay"; }; &usb0 { status = "okay"; };