Debian Codegraph @

arch/arm/boot/dts/qcom/qcom-msm8974-sony-xperia-rhine-honami.dts

raw
1 // SPDX-License-Identifier: GPL-2.0
2 #include "qcom-msm8974-sony-xperia-rhine.dtsi"
3
4 / {
5 model = "Sony Xperia Z1";
6 compatible = "sony,xperia-honami", "qcom,msm8974";
7 chassis-type = "handset";
8
9 gpio-keys {
10 key-camera-snapshot {
11 label = "camera_snapshot";
12 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
13 linux,input-type = <1>;
14 linux,code = <KEY_CAMERA>;
15 };
16
17 key-camera-focus {
18 label = "camera_focus";
19 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
20 linux,input-type = <1>;
21 linux,code = <KEY_CAMERA_FOCUS>;
22 };
23 };
24 };