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