ARM: dts: sun8i: a83t: bananapi-m3: Add LED device nodes
Subsystems (2)
PATCH 1/1 ARM: dts: sun8i: a83t: bananapi-m3: Add LED device nodes
The Bananapi M3 has two controllable LEDs, blue and green, that are tied to the PMIC's two GPIO pins.
Signed-off-by Chen-Yu Tsai <[email protected]>
--- arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +14 -0
@@ -60,6 +60,20 @@ stdout-path = "serial0:115200n8"; }; + leds { + compatible = "gpio-leds"; + + blue { + label = "bananapi-m3:blue:usr"; + gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; + }; + + green { + label = "bananapi-m3:green:usr"; + gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; + }; + }; + reg_usb1_vbus: reg-usb1-vbus { compatible = "regulator-fixed"; regulator-name = "usb1-vbus";
Signature · 1 line
2.15.1
PATCH 1/1 ARM: dts: sun8i: a83t: bananapi-m3: Add LED device nodes
Quoted 4 lines · Chen-Yu Tsai
The Bananapi M3 has two controllable LEDs, blue and green, that are tied to the PMIC's two GPIO pins.
Signed-off-by Chen-Yu Tsai <[email protected]>
Acked-by Maxime Ripard <[email protected]>
Thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180104/6df6ab79/attachment.sig>
PATCH 1/1 ARM: dts: sun8i: a83t: bananapi-m3: Add LED device nodes
Quoted 7 lines · Maxime Ripard
Quoted 4 lines · Chen-Yu Tsai
The Bananapi M3 has two controllable LEDs, blue and green, that are tied to the PMIC's two GPIO pins.
Signed-off-by Chen-Yu Tsai <[email protected]>Acked-by Maxime Ripard <[email protected]>
Applied for 4.17.