From: Dario Binacchi Date: Mon, 17 Feb 2025 11:43:22 +0000 (+0100) Subject: ARM: dts: stm32: add led to stm32f746 Discovery board X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=4b442649e91e765807d639c7417cf443e0c97ddb;p=users%2Fjedix%2Flinux-maple.git ARM: dts: stm32: add led to stm32f746 Discovery board Add node for the user led. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250217114332.1098482-1-dario.binacchi@amarulasolutions.com Signed-off-by: Alexandre Torgue --- diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts index 087de6f09629e..8bdd10644bf16 100644 --- a/arch/arm/boot/dts/st/stm32f746-disco.dts +++ b/arch/arm/boot/dts/st/stm32f746-disco.dts @@ -78,6 +78,14 @@ 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";