1// SPDX-License-Identifier: GPL-2.0 2#include "qcom-msm8974-sony-xperia-rhine.dtsi" 3 4/ { 5 model = "Sony Xperia Z1 Compact"; 6 compatible = "sony,xperia-amami", "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}; 25 26&smbb { 27 qcom,fast-charge-safe-current = <1300000>; 28 qcom,fast-charge-current-limit = <1300000>; 29 qcom,dc-current-limit = <1300000>; 30}; 31