diff options
| author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2025-02-17 12:43:23 +0100 |
|---|---|---|
| committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2025-02-27 09:34:19 +0100 |
| commit | d36f7da43f92b5e682bd6938ee0e44d1ad255282 (patch) | |
| tree | 6003206d3cc524e58d6f3b156a14ee9d0084bf17 /arch/arm | |
| parent | 4b442649e91e765807d639c7417cf443e0c97ddb (diff) | |
| download | ath-d36f7da43f92b5e682bd6938ee0e44d1ad255282.tar.gz | |
ARM: dts: stm32: add push button to stm32f746 Discovery board
Add node for user push button.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Link: https://lore.kernel.org/r/20250217114332.1098482-2-dario.binacchi@amarulasolutions.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/boot/dts/st/stm32f746-disco.dts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts index 8bdd10644bf16..b57dbdce2f405 100644 --- a/arch/arm/boot/dts/st/stm32f746-disco.dts +++ b/arch/arm/boot/dts/st/stm32f746-disco.dts @@ -86,6 +86,16 @@ }; }; + 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"; |
