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>
This commit is contained in:
Dario Binacchi 2025-02-17 12:43:23 +01:00 committed by Alexandre Torgue
parent 4b442649e9
commit d36f7da43f

View File

@ -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";