0001 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
0002
0003 #include <dt-bindings/leds/common.h>
0004 #include "qcom-ipq4018-ap120c-ac.dtsi"
0005
0006 / {
0007 leds {
0008 compatible = "gpio-leds";
0009
0010 status: status {
0011 label = "ap120c-ac:blue:status";
0012 function = LED_FUNCTION_STATUS;
0013 color = <LED_COLOR_ID_BLUE>;
0014 gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
0015 default-state = "keep";
0016 };
0017
0018 wlan2g {
0019 label = "ap120c-ac:green:wlan2g";
0020 function = LED_FUNCTION_WLAN;
0021 color = <LED_COLOR_ID_GREEN>;
0022 gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
0023 linux,default-trigger = "phy0tpt";
0024 };
0025
0026 wlan5g {
0027 label = "ap120c-ac:red:wlan5g";
0028 function = LED_FUNCTION_WLAN;
0029 color = <LED_COLOR_ID_RED>;
0030 gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
0031 linux,default-trigger = "phy1tpt";
0032 };
0033 };
0034 };