diff options
author | Fabien Dessenne <fabien.dessenne@foss.st.com> | 2022-05-03 12:41:24 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2022-05-03 16:41:55 +0300 |
commit | fd91c36fd349f5117cf51c1c9b75f60ac5a7a4fe (patch) | |
tree | fadb7a8fa77b619cb1b418f957fd1c4f5c6b1959 /arch/arm/boot/dts/stm32mp135f-dk.dts | |
parent | 6e82a968b77c7f16a33173485eff2e9a6ae0c6d1 (diff) | |
download | linux-fd91c36fd349f5117cf51c1c9b75f60ac5a7a4fe.tar.xz |
ARM: dts: stm32: add blue led (Linux heartbeat) on stm32mp135f-dk
The blue led (Linux heartbeat) is connected to the PA14 pin of the
stm32mp135f-dk board.
Signed-off-by: Fabien Dessenne <fabien.dessenne@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp135f-dk.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp135f-dk.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index aefa25ee897d..65acee0f68b7 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -6,6 +6,8 @@ /dts-v1/; +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> #include "stm32mp135.dtsi" #include "stm32mp13xf.dtsi" #include "stm32mp13-pinctrl.dtsi" @@ -23,6 +25,18 @@ reg = <0xc0000000 0x20000000>; }; + leds { + compatible = "gpio-leds"; + + led-blue { + function = LED_FUNCTION_HEARTBEAT; + color = <LED_COLOR_ID_BLUE>; + gpios = <&gpioa 14 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + default-state = "off"; + }; + }; + vdd_sd: vdd-sd { compatible = "regulator-fixed"; regulator-name = "vdd_sd"; |