summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac-bit.dts
blob: 1b27edce9d4f364dd0738b7874eb642d81c3e559 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include <dt-bindings/leds/common.h>
#include "qcom-ipq4018-ap120c-ac.dtsi"

/ {
	model = "ALFA Network AP120C-AC Bit";

	leds {
		compatible = "gpio-leds";

		led-power {
			label = "ap120c-ac:green:power";
			function = LED_FUNCTION_POWER;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
			default-state = "on";
		};

		led-wlan {
			label = "ap120c-ac:green:wlan";
			function = LED_FUNCTION_WLAN;
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
		};

		led-support {
			label = "ap120c-ac:green:support";
			color = <LED_COLOR_ID_GREEN>;
			gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
			panic-indicator;
		};
	};
};