]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: allwinner: a64: olinuxino: add user red LED
authorPetr Štetiar <ynezz@true.cz>
Wed, 25 Mar 2020 20:59:24 +0000 (21:59 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 14 Apr 2020 07:21:24 +0000 (09:21 +0200)
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 <ynezz@true.cz>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts

index 5fa9ca0191a82f302d35bfcca1c397b6f665af92..f3f8e177ab610352846905ec7a4edffb8341c2df 100644 (file)
                };
        };
 
+       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";