diff options
author | Chen-Yu Tsai <wens@csie.org> | 2018-01-03 14:28:44 +0800 |
---|---|---|
committer | Chen-Yu Tsai <wens@csie.org> | 2018-02-13 19:13:26 +0800 |
commit | 9ae65654996e06bf84a765388a62659a61aa72d8 (patch) | |
tree | a4aff725ed157a24c60d92297bf2691e108f3e61 /arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | |
parent | 52b5f53f4b60fe645f3203e2e85df2189275def3 (diff) | |
download | talos-op-linux-9ae65654996e06bf84a765388a62659a61aa72d8.tar.gz talos-op-linux-9ae65654996e06bf84a765388a62659a61aa72d8.zip |
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.
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts index 6550bf0e594b..78fe61d97790 100644 --- a/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +++ b/arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts @@ -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"; |