aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-07-30 13:31:27 +0100
committerChen-Yu Tsai <wens@csie.org>2018-08-27 15:42:54 +0800
commite71cc56058f32f698ca9ae21655af683fc57d21e (patch)
tree9fb6a6ec1c8e01e1743783e6e02a12bfe42e6b5e /arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
parentarm64: dts: allwinner: a64: Orange Pi Win: Add UARTs (diff)
downloadlinux-dev-e71cc56058f32f698ca9ae21655af683fc57d21e.tar.xz
linux-dev-e71cc56058f32f698ca9ae21655af683fc57d21e.zip
arm64: dts: allwinner: a64: Orange Pi Win: Add LED node
The Orange Pi Win has a green status LED, add the DT node for it. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andre Przywara <andre.przywara@arm.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts')
-rw-r--r--arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
index 99f6020bb6b8..64c7603a66f9 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts
@@ -64,6 +64,15 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+
+ status {
+ label = "orangepi:green:status";
+ gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
+ };
+ };
+
reg_gmac_3v3: gmac-3v3 {
compatible = "regulator-fixed";
regulator-name = "gmac-3v3";