ARM64: dts: meson-gxbb-vega-s95: Add LED
authorAndreas Färber <afaerber@suse.de>
Tue, 17 Jan 2017 01:17:53 +0000 (02:17 +0100)
committerKevin Hilman <khilman@baylibre.com>
Wed, 18 Jan 2017 22:35:04 +0000 (14:35 -0800)
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>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95.dtsi

index e59ad30..8670992 100644 (file)
                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";