From: Dario Binacchi Date: Mon, 17 Feb 2025 11:43:23 +0000 (+0100) Subject: ARM: dts: stm32: add push button to stm32f746 Discovery board X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d36f7da43f92b5e682bd6938ee0e44d1ad255282;p=users%2Fjedix%2Flinux-maple.git ARM: dts: stm32: add push button to stm32f746 Discovery board Add node for user push button. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20250217114332.1098482-2-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 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 = ; + gpios = <&gpioi 11 GPIO_ACTIVE_HIGH>; + }; + }; + usbotg_hs_phy: usb-phy { #phy-cells = <0>; compatible = "usb-nop-xceiv";