Add volume up and Bixby buttons.

Signed-off-by: Dzmitry Sankouski <dsankou...@gmail.com>

Cc: Caleb Connolly <caleb.conno...@linaro.org>
Cc: Dzmitry Sankouski <dsankou...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Sumit Garg <sumit.g...@linaro.org>
Cc: Tom Rini <tr...@konsulko.com>
Cc: Vladimir Zapolskiy <vladimir.zapols...@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

Reply via email to