1 #include "qcom-msm8974.dtsi"
2 #include "qcom-pm8841.dtsi"
3 #include "qcom-pm8941.dtsi"
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
9 model = "Sony Xperia Z1";
10 compatible = "sony,xperia-honami", "qcom,msm8974";
13 serial0 = &blsp1_uart2;
17 stdout-path = "serial0:115200n8";
21 compatible = "gpio-keys";
22 input-name = "gpio-keys";
24 pinctrl-names = "default";
25 pinctrl-0 = <&gpio_keys_pin_a>;
28 label = "volume_down";
29 gpios = <&pm8941_gpios 2 GPIO_ACTIVE_LOW>;
30 linux,input-type = <1>;
31 linux,code = <KEY_VOLUMEDOWN>;
35 label = "camera_snapshot";
36 gpios = <&pm8941_gpios 3 GPIO_ACTIVE_LOW>;
37 linux,input-type = <1>;
38 linux,code = <KEY_CAMERA>;
42 label = "camera_focus";
43 gpios = <&pm8941_gpios 4 GPIO_ACTIVE_LOW>;
44 linux,input-type = <1>;
45 linux,code = <KEY_CAMERA_FOCUS>;
50 gpios = <&pm8941_gpios 5 GPIO_ACTIVE_LOW>;
51 linux,input-type = <1>;
52 linux,code = <KEY_VOLUMEUP>;
57 reg = <0 0x40000000>, <0x40000000 0x40000000>;
58 device_type = "memory";
66 regulator-min-microvolt = <675000>;
67 regulator-max-microvolt = <1050000>;
71 regulator-min-microvolt = <500000>;
72 regulator-max-microvolt = <1050000>;
76 regulator-min-microvolt = <500000>;
77 regulator-max-microvolt = <1050000>;
81 regulator-min-microvolt = <500000>;
82 regulator-max-microvolt = <1050000>;
87 vdd_l1_l3-supply = <&pm8941_s1>;
88 vdd_l2_lvs1_2_3-supply = <&pm8941_s3>;
89 vdd_l4_l11-supply = <&pm8941_s1>;
90 vdd_l5_l7-supply = <&pm8941_s2>;
91 vdd_l6_l12_l14_l15-supply = <&pm8941_s2>;
92 vdd_l9_l10_l17_l22-supply = <&vreg_boost>;
93 vdd_l13_l20_l23_l24-supply = <&vreg_boost>;
94 vdd_l21-supply = <&vreg_boost>;
97 regulator-min-microvolt = <1300000>;
98 regulator-max-microvolt = <1300000>;
104 regulator-min-microvolt = <2150000>;
105 regulator-max-microvolt = <2150000>;
110 regulator-min-microvolt = <1800000>;
111 regulator-max-microvolt = <1800000>;
117 regulator-min-microvolt = <5000000>;
118 regulator-max-microvolt = <5000000>;
122 regulator-min-microvolt = <1225000>;
123 regulator-max-microvolt = <1225000>;
130 regulator-min-microvolt = <1200000>;
131 regulator-max-microvolt = <1200000>;
135 regulator-min-microvolt = <1200000>;
136 regulator-max-microvolt = <1200000>;
140 regulator-min-microvolt = <1225000>;
141 regulator-max-microvolt = <1225000>;
145 regulator-min-microvolt = <1800000>;
146 regulator-max-microvolt = <1800000>;
150 regulator-min-microvolt = <1800000>;
151 regulator-max-microvolt = <1800000>;
157 regulator-min-microvolt = <1800000>;
158 regulator-max-microvolt = <1800000>;
164 regulator-min-microvolt = <1800000>;
165 regulator-max-microvolt = <1800000>;
169 regulator-min-microvolt = <1800000>;
170 regulator-max-microvolt = <2950000>;
174 regulator-min-microvolt = <1300000>;
175 regulator-max-microvolt = <1350000>;
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1800000>;
187 regulator-min-microvolt = <1800000>;
188 regulator-max-microvolt = <2950000>;
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <1800000>;
199 regulator-min-microvolt = <2050000>;
200 regulator-max-microvolt = <2050000>;
204 regulator-min-microvolt = <2700000>;
205 regulator-max-microvolt = <2700000>;
209 regulator-min-microvolt = <2700000>;
210 regulator-max-microvolt = <2700000>;
214 regulator-min-microvolt = <2850000>;
215 regulator-max-microvolt = <2850000>;
219 regulator-min-microvolt = <3300000>;
220 regulator-max-microvolt = <3300000>;
224 regulator-min-microvolt = <2950000>;
225 regulator-max-microvolt = <2950000>;
227 regulator-allow-set-load;
229 regulator-system-load = <200000>;
233 regulator-min-microvolt = <2950000>;
234 regulator-max-microvolt = <2950000>;
240 regulator-min-microvolt = <3000000>;
241 regulator-max-microvolt = <3000000>;
245 regulator-min-microvolt = <2800000>;
246 regulator-max-microvolt = <2800000>;
250 regulator-min-microvolt = <3075000>;
251 regulator-max-microvolt = <3075000>;
265 vmmc-supply = <&pm8941_l20>;
266 vqmmc-supply = <&pm8941_s3>;
271 pinctrl-names = "default";
272 pinctrl-0 = <&sdhc1_pin_a>;
280 vmmc-supply = <&pm8941_l21>;
281 vqmmc-supply = <&pm8941_l13>;
283 cd-gpios = <&msmgpio 62 GPIO_ACTIVE_LOW>;
285 pinctrl-names = "default";
286 pinctrl-0 = <&sdhc2_pin_a>, <&sdhc2_cd_pin_a>;
292 pinctrl-names = "default";
293 pinctrl-0 = <&blsp1_uart2_pin_a>;
299 clock-frequency = <355000>;
300 qcom,src-freq = <50000000>;
302 pinctrl-names = "default";
303 pinctrl-0 = <&i2c2_pins>;
306 compatible = "syna,rmi4-i2c";
309 interrupts-extended = <&msmgpio 61 IRQ_TYPE_EDGE_FALLING>;
311 #address-cells = <1>;
314 vdd-supply = <&pm8941_l22>;
315 vio-supply = <&pm8941_lvs3>;
317 pinctrl-names = "default";
318 pinctrl-0 = <&ts_int_pin>;
320 syna,startup-delay-ms = <10>;
324 syna,nosleep-mode = <1>;
329 touchscreen-inverted-x;
330 syna,sensor-type = <1>;
336 blsp1_uart2_pin_a: blsp1-uart2-pin-active {
339 function = "blsp_uart2";
341 drive-strength = <2>;
347 function = "blsp_uart2";
349 drive-strength = <4>;
356 pins = "gpio6", "gpio7";
357 function = "blsp_i2c2";
359 drive-strength = <2>;
364 sdhc1_pin_a: sdhc1-pin-active {
367 drive-strength = <16>;
372 pins = "sdc1_cmd", "sdc1_data";
373 drive-strength = <10>;
378 sdhc2_cd_pin_a: sdhc2-cd-pin-active {
382 drive-strength = <2>;
386 sdhc2_pin_a: sdhc2-pin-active {
389 drive-strength = <10>;
394 pins = "sdc2_cmd", "sdc2_data";
395 drive-strength = <6>;
400 ts_int_pin: touch-int {
405 drive-strength = <2>;
412 dma-controller@f9944000 {
413 qcom,controlled-remotely;
420 qcom,fast-charge-safe-current = <1500000>;
421 qcom,fast-charge-current-limit = <1500000>;
422 qcom,dc-current-limit = <1800000>;
423 qcom,fast-charge-safe-voltage = <4400000>;
424 qcom,fast-charge-high-threshold-voltage = <4350000>;
425 qcom,fast-charge-low-threshold-voltage = <3400000>;
426 qcom,auto-recharge-threshold-voltage = <4200000>;
427 qcom,minimum-input-voltage = <4300000>;
431 gpio_keys_pin_a: gpio-keys-active {
432 pins = "gpio2", "gpio3", "gpio4", "gpio5";
436 power-source = <PM8941_GPIO_S3>;
442 qcom,rset-ohms = <2100>;
443 qcom,vset-millivolts = <3000>;
452 qcom,current-limit = <20>;
453 qcom,current-boost-limit = <805>;
454 qcom,switching-freq = <1600>;
456 qcom,num-strings = <2>;