From: Petr Štetiar Date: Wed, 25 Mar 2020 20:59:24 +0000 (+0100) Subject: arm64: dts: allwinner: a64: olinuxino: add user red LED X-Git-Tag: v5.8-rc1~137^2~37^2~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89866b2667e0d80732ea55041f58babc26a5187e;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: allwinner: a64: olinuxino: add user red LED There is a red LED marked as `GPIO_LED1` on the silkscreen and connected to PE17 by default. So lets add this missing bit in the current hardware description. Signed-off-by: Petr Štetiar Signed-off-by: Maxime Ripard --- diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts index 5fa9ca0191a82..f3f8e177ab610 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts @@ -32,6 +32,15 @@ }; }; + leds { + compatible = "gpio-leds"; + + led-0 { + label = "a64-olinuxino:red:user"; + gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */ + }; + }; + reg_usb1_vbus: usb1-vbus { compatible = "regulator-fixed"; regulator-name = "usb1-vbus";