[PATCH 3/4] arm: dts: starqltechn: add buttons
Dzmitry Sankouski
dsankouski at gmail.com
Thu Dec 21 15:24:08 CET 2023
Add volume up and Bixby buttons.
Signed-off-by: Dzmitry Sankouski <dsankouski at gmail.com>
Cc: Caleb Connolly <caleb.connolly at linaro.org>
Cc: Dzmitry Sankouski <dsankouski at gmail.com>
Cc: Simon Glass <sjg at chromium.org>
Cc: Sumit Garg <sumit.garg at linaro.org>
Cc: Tom Rini <trini at konsulko.com>
Cc: Vladimir Zapolskiy <vladimir.zapolskiy at linaro.org>
---
arch/arm/dts/starqltechn.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts
index 5bb1a7f90a..539c1b51ca 100644
--- a/arch/arm/dts/starqltechn.dts
+++ b/arch/arm/dts/starqltechn.dts
@@ -36,6 +36,22 @@
stride = <(1440 * 4)>;
format = "a8r8g8b8";
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+
+ key-vol-up {
+ label = "Volume Up";
+ linux,code = <KEY_UP>;
+ gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
+ };
+
+ key-bixby {
+ label = "Bixby";
+ linux,code = <KEY_RESERVED>;
+ gpios = <&pm8998_gpios 19 GPIO_ACTIVE_LOW>;
+ };
+ };
};
&pm8998_resin {
--
2.39.2
More information about the U-Boot
mailing list