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 {
74 sdcc3_cd_pin_a: sdcc3-cd-pin-active {
86 vin_l1_l2_l12_l18-supply = <&pm8921_s4>;
87 vin_lvs_1_3_6-supply = <&pm8921_s4>;
88 vin_lvs_4_5_7-supply = <&pm8921_s4>;
89 vin_ncp-supply = <&pm8921_l6>;
90 vin_lvs2-supply = <&pm8921_s4>;
91 vin_l24-supply = <&pm8921_s1>;
92 vin_l25-supply = <&pm8921_s1>;
93 vin_l27-supply = <&pm8921_s7>;
94 vin_l28-supply = <&pm8921_s7>;
99 regulator-min-microvolt = <1225000>;
100 regulator-max-microvolt = <1225000>;
101 qcom,switch-mode-frequency = <3200000>;
106 regulator-min-microvolt = <1300000>;
107 regulator-max-microvolt = <1300000>;
108 qcom,switch-mode-frequency = <1600000>;
113 regulator-min-microvolt = <500000>;
114 regulator-max-microvolt = <1150000>;
115 qcom,switch-mode-frequency = <4800000>;
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
123 qcom,switch-mode-frequency = <1600000>;
125 qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
129 regulator-min-microvolt = <1300000>;
130 regulator-max-microvolt = <1300000>;
131 qcom,switch-mode-frequency = <3200000>;
135 regulator-min-microvolt = <2200000>;
136 regulator-max-microvolt = <2200000>;
137 qcom,switch-mode-frequency = <1600000>;
143 regulator-min-microvolt = <1100000>;
144 regulator-max-microvolt = <1100000>;
149 regulator-min-microvolt = <1200000>;
150 regulator-max-microvolt = <1200000>;
155 regulator-min-microvolt = <3075000>;
156 regulator-max-microvolt = <3075000>;
162 regulator-min-microvolt = <1800000>;
163 regulator-max-microvolt = <1800000>;
168 regulator-min-microvolt = <2950000>;
169 regulator-max-microvolt = <2950000>;
174 regulator-min-microvolt = <2950000>;
175 regulator-max-microvolt = <2950000>;
180 regulator-min-microvolt = <1850000>;
181 regulator-max-microvolt = <2950000>;
186 regulator-min-microvolt = <2800000>;
187 regulator-max-microvolt = <2800000>;
192 regulator-min-microvolt = <3000000>;
193 regulator-max-microvolt = <3000000>;
198 regulator-min-microvolt = <2900000>;
199 regulator-max-microvolt = <2900000>;
204 regulator-min-microvolt = <3000000>;
205 regulator-max-microvolt = <3000000>;
210 regulator-min-microvolt = <1200000>;
211 regulator-max-microvolt = <1200000>;
216 regulator-min-microvolt = <1800000>;
217 regulator-max-microvolt = <1800000>;
222 regulator-min-microvolt = <1800000>;
223 regulator-max-microvolt = <2950000>;
228 regulator-min-microvolt = <2800000>;
229 regulator-max-microvolt = <2800000>;
234 regulator-min-microvolt = <2000000>;
235 regulator-max-microvolt = <2000000>;
240 regulator-min-microvolt = <1200000>;
241 regulator-max-microvolt = <1200000>;
246 regulator-min-microvolt = <1050000>;
247 regulator-max-microvolt = <1050000>;
252 regulator-min-microvolt = <2600000>;
253 regulator-max-microvolt = <2600000>;
258 regulator-min-microvolt = <1800000>;
259 regulator-max-microvolt = <1800000>;
264 regulator-min-microvolt = <750000>;
265 regulator-max-microvolt = <1150000>;
271 regulator-min-microvolt = <1250000>;
272 regulator-max-microvolt = <1250000>;
277 regulator-min-microvolt = <1100000>;
278 regulator-max-microvolt = <1100000>;
282 regulator-min-microvolt = <1050000>;
283 regulator-max-microvolt = <1050000>;
288 regulator-min-microvolt = <2000000>;
289 regulator-max-microvolt = <2000000>;
293 /* Low Voltage Switch */
327 regulator-min-microvolt = <1800000>;
328 regulator-max-microvolt = <1800000>;
329 qcom,switch-mode-frequency = <1600000>;
337 gpio_keys_pin_a: gpio-keys-pin-active {
338 pins = "gpio3", "gpio4", "gpio29", "gpio35";
345 qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
346 qcom,pull-up-strength = <0>;
354 vddcx-supply = <&pm8921_s3>;
355 v3p3-supply = <&pm8921_l3>;
356 v1p8-supply = <&pm8921_l4>;
365 qcom,mode = <GSBI_PROT_I2C_UART>;
370 pinctrl-names = "default";
371 pinctrl-0 = <&gsbi5_uart_pin_a>;
376 sdcc1: sdcc@12400000 {
379 vmmc-supply = <&pm8921_l5>;
380 vqmmc-supply = <&pm8921_s4>;
383 sdcc3: sdcc@12180000 {
386 vmmc-supply = <&pm8921_l6>;
387 cd-gpios = <&tlmm_pinmux 26 GPIO_ACTIVE_LOW>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&sdcc3_pins>, <&sdcc3_cd_pin_a>;