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