1// SPDX-License-Identifier: GPL-2.0 2#include "qcom-msm8974pro-sony-xperia-shinano-common.dtsi" 3 4/ { 5 model = "Sony Xperia Z3"; 6 compatible = "sony,xperia-leo", "qcom,msm8974pro", "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,code = <KEY_CAMERA>; 14 debounce-interval = <15>; 15 }; 16 17 key-camera-focus { 18 label = "camera_focus"; 19 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>; 20 linux,code = <KEY_CAMERA_FOCUS>; 21 debounce-interval = <15>; 22 }; 23 }; 24}; 25 26&gpio_keys_pin_a { 27 pins = "gpio2", "gpio3", "gpio4", "gpio5"; 28}; 29 30&smbb { 31 usb-charge-current-limit = <1500000>; 32 qcom,fast-charge-safe-current = <3000000>; 33 qcom,fast-charge-current-limit = <2150000>; 34 qcom,fast-charge-safe-voltage = <4400000>; 35 qcom,fast-charge-high-threshold-voltage = <4350000>; 36 qcom,auto-recharge-threshold-voltage = <4280000>; 37 qcom,minimum-input-voltage = <4200000>; 38 39 status = "okay"; 40}; 41 42&synaptics_touchscreen { 43 vio-supply = <&pm8941_s3>; 44}; 45