ARM: dts: stm32: add led to stm32f746 Discovery board
Subsystems (2)
PATCH 1/2 ARM: dts: stm32: add led to stm32f746 Discovery board
Add node for the user led.
Signed-off-by Dario Binacchi <[email protected]>
---
arch/arm/boot/dts/st/stm32f746-disco.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/st/stm32f746-disco.dts +8 -0
@@ -78,6 +78,14 @@ aliases { 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";
Signature · 1 line
2.43.0
PATCH 2/2 ARM: dts: stm32: add push button to stm32f746 Discovery board
Add node for user push button.
Signed-off-by Dario Binacchi <[email protected]>
---
arch/arm/boot/dts/st/stm32f746-disco.dts | 10 ++++++++++ 1 file changed, 10 insertions(+)
arch/arm/boot/dts/st/stm32f746-disco.dts +10 -0
@@ -86,6 +86,16 @@ led-usr { }; }; + gpio-keys { + compatible = "gpio-keys"; + autorepeat; + button-0 { + label = "User"; + linux,code = <KEY_HOME>; + gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; + }; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv";
Signature · 1 line
2.43.0
Alexandre TORGUE
maintainerRe: [PATCH 2/2] ARM: dts: stm32: add push button to stm32f746 Discovery board
Quoted 19 lines · Dario Binacchi
Add node for user push button.
Signed-off-by Dario Binacchi <[email protected]>---
arch/arm/boot/dts/st/stm32f746-disco.dts | 10 ++++++++++ 1 file changed, 10 insertions(+)arch/arm/boot/dts/st/stm32f746-disco.dts +3
-0@@ -86,6 +86,16 @@ led-usr { }; }; + gpio-keys { + compatible = "gpio-keys"; + autorepeat;
arch/arm/boot/dts/st/stm32f746-disco.dts led-usr { · line 101
Quoted 10 lines
arch/arm/boot/dts/st/stm32f746-disco.dts +7
-0+ button-0 { + label = "User"; + linux,code = <KEY_HOME>; + gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; + }; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv";
Series applied on stm32-next.
thanks
Alex