Skip to contentSkip to conversation

ARM64: dts: meson-gxbb-vega-s95: Add LED

PATCH Applied Andreas Färber 2 participants 2 messages Jan 17, 2017 – Jan 18, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM64: dts: meson-gxbb-vega-s95: Add LED

There is one blue LED on the front of the device. Keep it lit and configure it as panic indicator.

---
 arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi +11 -0
index ab497126c9a3..b3937b72d102 100644
@@ -53,6 +53,17 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	leds {
+		compatible = "gpio-leds";
+
+		blue {
+			label = "vega-s95:blue:on";
+			gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_HIGH>;
+			default-state = "on";
+			panic-indicator;
+		};
+	};
+
 	usb_vbus: regulator-usb0-vbus {
 		compatible = "regulator-fixed";
 
Signature · 1 line
2.10.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Andreas F?rber

There is one blue LED on the front of the device. Keep it lit and configure it as panic indicator.

Applied to v4.11/dt64,

Thanks,

Kevin