ARM: dts: stm32mp13: activate led on STM32MP13F-DK
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Thu, 30 Jun 2022 08:20:18 +0000 (10:20 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 12 Jul 2022 09:48:15 +0000 (11:48 +0200)
Activate the led managed in stm32mp1 board for U-Boot indication
in STM32MP13F-DK device tree.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/dts/stm32mp135f-dk-u-boot.dtsi

index dfe5bbb..cbe4eb5 100644 (file)
        };
 
        config {
+               u-boot,boot-led = "led-blue";
+               u-boot,error-led = "led-red";
                u-boot,mmc-env-partition = "u-boot-env";
        };
+
+       leds {
+               led-red {
+                       color = <LED_COLOR_ID_RED>;
+                       gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+       };
 };
 
 &uart4 {