diff options
Diffstat (limited to 'dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts')
| -rw-r--r-- | dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts b/dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts index 9f2ab5c122d..472a45408ad 100644 --- a/dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts +++ b/dts/upstream/src/arm/qcom/qcom-msm8974-sony-xperia-rhine-amami.dts @@ -5,6 +5,22 @@ model = "Sony Xperia Z1 Compact"; compatible = "sony,xperia-amami", "qcom,msm8974"; chassis-type = "handset"; + + gpio-keys { + key-camera-snapshot { + label = "camera_snapshot"; + gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + linux,code = <KEY_CAMERA>; + }; + + key-camera-focus { + label = "camera_focus"; + gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; + linux,input-type = <1>; + linux,code = <KEY_CAMERA_FOCUS>; + }; + }; }; &smbb { |
