1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
4 #include "qcom-ipq4018-ap120c-ac.dtsi"
8 compatible = "gpio-leds";
11 label = "ap120c-ac:blue:status";
12 function = LED_FUNCTION_STATUS;
13 color = <LED_COLOR_ID_BLUE>;
14 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
15 default-state = "keep";
19 label = "ap120c-ac:green:wlan2g";
20 function = LED_FUNCTION_WLAN;
21 color = <LED_COLOR_ID_GREEN>;
22 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
23 linux,default-trigger = "phy0tpt";
27 label = "ap120c-ac:red:wlan5g";
28 function = LED_FUNCTION_WLAN;
29 color = <LED_COLOR_ID_RED>;
30 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
31 linux,default-trigger = "phy1tpt";