arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-)
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@oss.qualcomm.com>
---
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@oss.qualcomm.com>
On 7/8/26 5:30 PM, Loic Poulain wrote: > 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@oss.qualcomm.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Konrad
On Wed, Jul 08, 2026 at 05:30:13PM +0200, Loic Poulain wrote: > Add the board's horizontal button connected to GPIO69 as a gpio-keys input. What is horizontal button? > 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@oss.qualcomm.com> > --- > arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 22 +++++++++++++++++++--- > 1 file changed, 19 insertions(+), 3 deletions(-) > -- With best wishes Dmitry
Hi Dmitry, On Wed, Jul 8, 2026 at 5:48 PM Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> wrote: > > On Wed, Jul 08, 2026 at 05:30:13PM +0200, Loic Poulain wrote: > > Add the board's horizontal button connected to GPIO69 as a gpio-keys input. > > What is horizontal button? Two buttons are present on the board. The first is mounted vertically on the board edge, and the second is mounted horizontally on the PCB. Their associated signal lines are respectively labeled VERTICAL and HORIZONTAL in the schematics. > > > 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@oss.qualcomm.com> > > --- > > arch/arm64/boot/dts/qcom/monaco-arduino-monza.dts | 22 +++++++++++++++++++--- > > 1 file changed, 19 insertions(+), 3 deletions(-) > > > > -- > With best wishes > Dmitry
© 2016 - 2026 Red Hat, Inc.