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