[PATCH] arm64: dts: qcom: monaco-arduino-monza: Add sleep button
From: Loic Poulain
Date: Wed Jul 08 2026 - 11:57:40 EST
Add the board's horizontal button connected to GPIO69 as a gpio-keys input.
The button generates KEY_SLEEP events and is configured as a wakeup source.
Note: The button is actually connected to the onboard MCU, and forwarded
to the SoC via an active-high GPIO.
Signed-off-by: Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
index 8b3ed73feb6eca6578382beca588baf42b8c9bb6..0407b700f6087c9350e9142027e085ebb87f0406 100644
--- a/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
+++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts
@@ -33,6 +33,14 @@ gpio-keys {
pinctrl-0 = <&gpio_keys_default>;
pinctrl-names = "default";
+ button-sleep {
+ label = "Sleep Key";
+ linux,code = <KEY_SLEEP>;
+ gpios = <&tlmm 69 GPIO_ACTIVE_HIGH>;
+ debounce-interval = <60>;
+ wakeup-source;
+ };
+
button-home {
label = "Home Key";
linux,code = <KEY_HOMEPAGE>;
@@ -501,9 +509,17 @@ perst-pins {
};
gpio_keys_default: gpio-keys-default-state {
- pins = "gpio79";
- function = "gpio";
- bias-disable;
+ horizontal-button-pins {
+ pins = "gpio69";
+ function = "gpio";
+ bias-pull-down;
+ };
+
+ vertical-button-pins {
+ pins = "gpio79";
+ function = "gpio";
+ bias-disable;
+ };
};
adv7535_default: adv7535-default-state {
---
base-commit: f86573e68e56a7df7d54eb58101ac413ba731996
change-id: 20260708-buttons-ios-f1f6aa98b6ea
Best regards,
--
Loic Poulain <loic.poulain@xxxxxxxxxxxxxxxx>