1 #include "qcom-apq8064-v2.0.dtsi"
2 #include <dt-bindings/gpio/gpio.h>
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mfd/qcom-rpm.h>
5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
8 model = "Sony Xperia Z";
9 compatible = "sony,xperia-yuga", "qcom,apq8064";
12 serial0 = &gsbi5_serial;
16 stdout-path = "serial0:115200n8";
20 compatible = "gpio-keys";
21 input-name = "gpio-keys";
23 pinctrl-names = "default";
24 pinctrl-0 = <&gpio_keys_pin_a>;
27 label = "camera_focus";
28 gpios = <&pm8921_gpio 3 GPIO_ACTIVE_LOW>;
29 linux,input-type = <1>;
30 linux,code = <KEY_CAMERA_FOCUS>;
34 label = "camera_snapshot";
35 gpios = <&pm8921_gpio 4 GPIO_ACTIVE_LOW>;
36 linux,input-type = <1>;
37 linux,code = <KEY_CAMERA>;
41 label = "volume_down";
42 gpios = <&pm8921_gpio 29 GPIO_ACTIVE_LOW>;
43 linux,input-type = <1>;
44 linux,code = <KEY_VOLUMEDOWN>;
49 gpios = <&pm8921_gpio 35 GPIO_ACTIVE_LOW>;
50 linux,input-type = <1>;
51 linux,code = <KEY_VOLUMEUP>;
57 gsbi5_uart_pin_a: gsbi5-uart-pin-active {
73 sdcc1_pin_a: sdcc1-pin-active {
93 sdcc3_pin_a: sdcc3-pin-active {
113 sdcc3_cd_pin_a: sdcc3-cd-pin-active {
117 drive-strength = <2>;
125 vin_l1_l2_l12_l18-supply = <&pm8921_s4>;
126 vin_lvs_1_3_6-supply = <&pm8921_s4>;
127 vin_lvs_4_5_7-supply = <&pm8921_s4>;
128 vin_ncp-supply = <&pm8921_l6>;
129 vin_lvs2-supply = <&pm8921_s4>;
130 vin_l24-supply = <&pm8921_s1>;
131 vin_l25-supply = <&pm8921_s1>;
132 vin_l27-supply = <&pm8921_s7>;
133 vin_l28-supply = <&pm8921_s7>;
138 regulator-min-microvolt = <1225000>;
139 regulator-max-microvolt = <1225000>;
140 qcom,switch-mode-frequency = <3200000>;
145 regulator-min-microvolt = <1300000>;
146 regulator-max-microvolt = <1300000>;
147 qcom,switch-mode-frequency = <1600000>;
152 regulator-min-microvolt = <500000>;
153 regulator-max-microvolt = <1150000>;
154 qcom,switch-mode-frequency = <4800000>;
160 regulator-min-microvolt = <1800000>;
161 regulator-max-microvolt = <1800000>;
162 qcom,switch-mode-frequency = <1600000>;
164 qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
168 regulator-min-microvolt = <1300000>;
169 regulator-max-microvolt = <1300000>;
170 qcom,switch-mode-frequency = <3200000>;
174 regulator-min-microvolt = <2200000>;
175 regulator-max-microvolt = <2200000>;
176 qcom,switch-mode-frequency = <1600000>;
182 regulator-min-microvolt = <1100000>;
183 regulator-max-microvolt = <1100000>;
188 regulator-min-microvolt = <1200000>;
189 regulator-max-microvolt = <1200000>;
194 regulator-min-microvolt = <3075000>;
195 regulator-max-microvolt = <3075000>;
201 regulator-min-microvolt = <1800000>;
202 regulator-max-microvolt = <1800000>;
207 regulator-min-microvolt = <2950000>;
208 regulator-max-microvolt = <2950000>;
213 regulator-min-microvolt = <2950000>;
214 regulator-max-microvolt = <2950000>;
219 regulator-min-microvolt = <1850000>;
220 regulator-max-microvolt = <2950000>;
225 regulator-min-microvolt = <2800000>;
226 regulator-max-microvolt = <2800000>;
231 regulator-min-microvolt = <3000000>;
232 regulator-max-microvolt = <3000000>;
237 regulator-min-microvolt = <2900000>;
238 regulator-max-microvolt = <2900000>;
243 regulator-min-microvolt = <3000000>;
244 regulator-max-microvolt = <3000000>;
249 regulator-min-microvolt = <1200000>;
250 regulator-max-microvolt = <1200000>;
255 regulator-min-microvolt = <1800000>;
256 regulator-max-microvolt = <1800000>;
261 regulator-min-microvolt = <1800000>;
262 regulator-max-microvolt = <2950000>;
267 regulator-min-microvolt = <2800000>;
268 regulator-max-microvolt = <2800000>;
273 regulator-min-microvolt = <2000000>;
274 regulator-max-microvolt = <2000000>;
279 regulator-min-microvolt = <1200000>;
280 regulator-max-microvolt = <1200000>;
285 regulator-min-microvolt = <1050000>;
286 regulator-max-microvolt = <1050000>;
291 regulator-min-microvolt = <2600000>;
292 regulator-max-microvolt = <2600000>;
297 regulator-min-microvolt = <1800000>;
298 regulator-max-microvolt = <1800000>;
303 regulator-min-microvolt = <750000>;
304 regulator-max-microvolt = <1150000>;
310 regulator-min-microvolt = <1250000>;
311 regulator-max-microvolt = <1250000>;
316 regulator-min-microvolt = <1100000>;
317 regulator-max-microvolt = <1100000>;
321 regulator-min-microvolt = <1050000>;
322 regulator-max-microvolt = <1050000>;
327 regulator-min-microvolt = <2000000>;
328 regulator-max-microvolt = <2000000>;
332 /* Low Voltage Switch */
366 regulator-min-microvolt = <1800000>;
367 regulator-max-microvolt = <1800000>;
368 qcom,switch-mode-frequency = <1600000>;
376 gpio_keys_pin_a: gpio-keys-pin-active {
377 pins = "gpio3", "gpio4", "gpio29", "gpio35";
384 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
385 qcom,pull-up-strength = <0>;
393 vddcx-supply = <&pm8921_s3>;
394 v3p3-supply = <&pm8921_l3>;
395 v1p8-supply = <&pm8921_l4>;
404 qcom,mode = <GSBI_PROT_I2C_UART>;
409 pinctrl-names = "default";
410 pinctrl-0 = <&gsbi5_uart_pin_a>;
415 sdcc1: sdcc@12400000 {
418 vmmc-supply = <&pm8921_l5>;
419 vqmmc-supply = <&pm8921_s4>;
421 pinctrl-names = "default";
422 pinctrl-0 = <&sdcc1_pin_a>;
425 sdcc3: sdcc@12180000 {
428 vmmc-supply = <&pm8921_l6>;
429 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
431 pinctrl-names = "default";
432 pinctrl-0 = <&sdcc3_pin_a>, <&sdcc3_cd_pin_a>;