diff options
author | Diego Rondini <diego.rondini@kynetics.com> | 2020-06-15 16:02:25 +0300 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2020-06-16 13:35:37 +0300 |
commit | 21a827bf1c9a4ce67938251f3211e5c13eef51bc (patch) | |
tree | a0eb2c6ed65c58435997363945971237caa373d5 /arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts | |
parent | 43aad09c792894727d8f6914534f43df23079926 (diff) | |
download | linux-21a827bf1c9a4ce67938251f3211e5c13eef51bc.tar.xz |
ARM: dts: orange-pi-zero-plus2: add leds configuration
Add pwr and status leds configuration and turn on pwr led by default for Orange
Pi Zero Plus 2 (both H3 and H5 variants).
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Link: https://lore.kernel.org/r/20200615130223.34464-2-diego.rondini@kynetics.com
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts index cbe32b975c5f..251bbab7d707 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts @@ -70,6 +70,21 @@ }; }; + leds { + compatible = "gpio-leds"; + + pwr { + label = "orangepi:green:pwr"; + gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + status { + label = "orangepi:red:status"; + gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; + }; + }; + reg_vcc3v3: vcc3v3 { compatible = "regulator-fixed"; regulator-name = "vcc3v3"; |