diff options
Diffstat (limited to 'arch/arm/boot/dts/st/stm32f469-disco.dts')
| -rw-r--r-- | arch/arm/boot/dts/st/stm32f469-disco.dts | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/st/stm32f469-disco.dts b/arch/arm/boot/dts/st/stm32f469-disco.dts index 8a4f8ddd083d..943afba06b5f 100644 --- a/arch/arm/boot/dts/st/stm32f469-disco.dts +++ b/arch/arm/boot/dts/st/stm32f469-disco.dts @@ -50,6 +50,7 @@ #include "stm32f469-pinctrl.dtsi" #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> / { model = "STMicroelectronics STM32F469i-DISCO board"; @@ -82,17 +83,22 @@ leds { compatible = "gpio-leds"; - led-green { + led_green: led-green { + function = LED_FUNCTION_HEARTBEAT; + color = <LED_COLOR_ID_GREEN>; gpios = <&gpiog 6 GPIO_ACTIVE_LOW>; linux,default-trigger = "heartbeat"; }; led-orange { + color = <LED_COLOR_ID_ORANGE>; gpios = <&gpiod 4 GPIO_ACTIVE_LOW>; }; led-red { + color = <LED_COLOR_ID_RED>; gpios = <&gpiod 5 GPIO_ACTIVE_LOW>; }; led-blue { + color = <LED_COLOR_ID_BLUE>; gpios = <&gpiok 3 GPIO_ACTIVE_LOW>; }; }; @@ -107,6 +113,13 @@ }; }; + options { + u-boot { + compatible = "u-boot,config"; + boot-led = <&led_green>; + }; + }; + /* This turns on vbus for otg for host mode (dwc2) */ vcc5v_otg: vcc5v-otg-regulator { compatible = "regulator-fixed"; |
