diff options
author | 2025-02-17 12:43:23 +0100 | |
---|---|---|
committer | 2025-02-27 09:34:19 +0100 | |
commit | d36f7da43f92b5e682bd6938ee0e44d1ad255282 (patch) | |
tree | 6003206d3cc524e58d6f3b156a14ee9d0084bf17 | |
parent | ARM: dts: stm32: add led to stm32f746 Discovery board (diff) | |
download | wireguard-linux-d36f7da43f92b5e682bd6938ee0e44d1ad255282.tar.xz wireguard-linux-d36f7da43f92b5e682bd6938ee0e44d1ad255282.zip |
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 '')
-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 8bdd10644bf1..b57dbdce2f40 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"; |