From: Andreas Färber Date: Tue, 17 Jan 2017 01:17:53 +0000 (+0100) Subject: ARM64: dts: meson-gxbb-vega-s95: Add LED X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2fbbc4bf69f293df317559a267f4120f290b8fc4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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. Signed-off-by: Andreas Färber Signed-off-by: Kevin Hilman --- 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 e59ad308192f..86709929fd20 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";