xref: /linux/scripts/dtc/include-prefixes/arm/qcom/qcom-ipq4018-ap120c-ac.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*724ba675SRob Herring
3*724ba675SRob Herring#include <dt-bindings/leds/common.h>
4*724ba675SRob Herring#include "qcom-ipq4018-ap120c-ac.dtsi"
5*724ba675SRob Herring
6*724ba675SRob Herring/ {
7*724ba675SRob Herring	leds {
8*724ba675SRob Herring		compatible = "gpio-leds";
9*724ba675SRob Herring
10*724ba675SRob Herring		status: led-status {
11*724ba675SRob Herring			label = "ap120c-ac:blue:status";
12*724ba675SRob Herring			function = LED_FUNCTION_STATUS;
13*724ba675SRob Herring			color = <LED_COLOR_ID_BLUE>;
14*724ba675SRob Herring			gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
15*724ba675SRob Herring			default-state = "keep";
16*724ba675SRob Herring		};
17*724ba675SRob Herring
18*724ba675SRob Herring		led-wlan2g {
19*724ba675SRob Herring			label = "ap120c-ac:green:wlan2g";
20*724ba675SRob Herring			function = LED_FUNCTION_WLAN;
21*724ba675SRob Herring			color = <LED_COLOR_ID_GREEN>;
22*724ba675SRob Herring			gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
23*724ba675SRob Herring			linux,default-trigger = "phy0tpt";
24*724ba675SRob Herring		};
25*724ba675SRob Herring
26*724ba675SRob Herring		led-wlan5g {
27*724ba675SRob Herring			label = "ap120c-ac:red:wlan5g";
28*724ba675SRob Herring			function = LED_FUNCTION_WLAN;
29*724ba675SRob Herring			color = <LED_COLOR_ID_RED>;
30*724ba675SRob Herring			gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
31*724ba675SRob Herring			linux,default-trigger = "phy1tpt";
32*724ba675SRob Herring		};
33*724ba675SRob Herring	};
34*724ba675SRob Herring};
35