1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.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";
20 label = "WiFi button";
21 linux,code = <KEY_RFKILL>;
22 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
26 label = "Reset button";
27 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
33 compatible = "gpio-leds";
36 label = "green:power";
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 label = "green:wlan2g";
43 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy1tpt";
48 label = "green:wlan5g";
49 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy0tpt";
55 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
72 phy-handle = <&swphy4>;