]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: stm32: add led to stm32f746 Discovery board
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Mon, 17 Feb 2025 11:43:22 +0000 (12:43 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 27 Feb 2025 08:34:19 +0000 (09:34 +0100)
Add node for the user led.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20250217114332.1098482-1-dario.binacchi@amarulasolutions.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32f746-disco.dts

index 087de6f09629ec92f5dcf4ec4a7699cacf3a875d..8bdd10644bf167e25a2f93fb5bdc11dbc5604ded 100644 (file)
                serial0 = &usart1;
        };
 
+       leds {
+               compatible = "gpio-leds";
+               led-usr {
+                       gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "heartbeat";
+               };
+       };
+
        usbotg_hs_phy: usb-phy {
                #phy-cells = <0>;
                compatible = "usb-nop-xceiv";