* [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED
@ 2017-01-17 1:17 Andreas Färber
2017-01-18 22:05 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Färber @ 2017-01-17 1:17 UTC (permalink / raw)
To: linux-amlogic
Cc: Carlo Caione, linux-arm-kernel, Andreas Färber, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon, Kevin Hilman,
devicetree, linux-kernel
There is one blue LED on the front of the device. Keep it lit and
configure it as panic indicator.
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
index ab497126c9a3..b3937b72d102 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi
@@ -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";
--
2.10.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED
2017-01-17 1:17 [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED Andreas Färber
@ 2017-01-18 22:05 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2017-01-18 22:05 UTC (permalink / raw)
To: Andreas Färber
Cc: linux-amlogic, Carlo Caione, linux-arm-kernel, Rob Herring,
Mark Rutland, Catalin Marinas, Will Deacon, devicetree,
linux-kernel
Andreas Färber <afaerber@suse.de> writes:
> There is one blue LED on the front of the device. Keep it lit and
> configure it as panic indicator.
>
> Signed-off-by: Andreas Färber <afaerber@suse.de>
Applied to v4.11/dt64,
Thanks,
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-18 23:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-17 1:17 [PATCH] ARM64: dts: meson-gxbb-vega-s95: Add LED Andreas Färber
2017-01-18 22:05 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).