arm64: dts: meson-gxl-s905d-phicomm-n1: add status LED
authorChuanhong Guo <gch981213@gmail.com>
Tue, 12 Mar 2019 08:33:26 +0000 (16:33 +0800)
committerKevin Hilman <khilman@baylibre.com>
Mon, 18 Mar 2019 16:07:15 +0000 (09:07 -0700)
There is a white LED on the front panel behind the logo and the
manufacturer uses that LED to indicate network and USB drive status.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts

index 9a8a8a7e4b535a0dae9a33845947c35e651cac71..b5667f1fb2c8f8fd7f551576ce4115d52f1065d6 100644 (file)
        cvbs-connector {
                status = "disabled";
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               status {
+                       label = "n1:white:status";
+                       gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>;
+                       default-state = "on";
+               };
+       };
 };
 
 &cvbs_vdac_port {