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