xref: /linux/arch/arm/boot/dts/qcom/qcom-ipq4018-ap120c-ac.dts (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3#include <dt-bindings/leds/common.h>
4#include "qcom-ipq4018-ap120c-ac.dtsi"
5
6/ {
7	leds {
8		compatible = "gpio-leds";
9
10		status: led-status {
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";
16		};
17
18		led-wlan2g {
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";
24		};
25
26		led-wlan5g {
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";
32		};
33	};
34};
35