summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/amlogic
diff options
context:
space:
mode:
authorChuanhong Guo <gch981213@gmail.com>2019-03-12 16:33:26 +0800
committerKevin Hilman <khilman@baylibre.com>2019-03-18 09:07:15 -0700
commit7e09092aee006b21d830b99f8498b5640b8711f6 (patch)
tree099e70f694336c217f608dfea96e560323f14b10 /arch/arm64/boot/dts/amlogic
parent0fa724c51e31cc814af9e44c019fb4d570422b02 (diff)
downloadlinux-stable-7e09092aee006b21d830b99f8498b5640b8711f6.tar.gz
linux-stable-7e09092aee006b21d830b99f8498b5640b8711f6.tar.bz2
linux-stable-7e09092aee006b21d830b99f8498b5640b8711f6.zip
arm64: dts: meson-gxl-s905d-phicomm-n1: add status LED
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>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts
index 9a8a8a7e4b53..b5667f1fb2c8 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts
@@ -14,6 +14,16 @@
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 {