1 #include <dt-bindings/input/input.h>
3 #include "qcom-msm8960.dtsi"
6 model = "Qualcomm MSM8960 CDP";
7 compatible = "qcom,msm8960-cdp", "qcom,msm8960";
10 serial0 = &gsbi5_serial;
14 stdout-path = "serial0:115200n8";
20 qcom,mode = <GSBI_PROT_I2C_UART>;
28 sdcc1: sdcc@12400000 {
32 /* External micro SD card */
33 sdcc3: sdcc@12180000 {
40 compatible = "qcom,rpm-pm8921-regulators";
41 vin_lvs1_3_6-supply = <&pm8921_s4>;
42 vin_lvs2-supply = <&pm8921_s4>;
43 vin_lvs4_5_7-supply = <&pm8921_s4>;
44 vdd_ncp-supply = <&pm8921_l6>;
45 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
46 vdd_l21_l23_l29-supply = <&pm8921_s8>;
47 vdd_l24-supply = <&pm8921_s1>;
48 vdd_l25-supply = <&pm8921_s1>;
49 vdd_l27-supply = <&pm8921_s7>;
50 vdd_l28-supply = <&pm8921_s7>;
55 regulator-min-microvolt = <1225000>;
56 regulator-max-microvolt = <1225000>;
57 qcom,switch-mode-frequency = <3200000>;
62 regulator-min-microvolt = <1300000>;
63 regulator-max-microvolt = <1300000>;
64 qcom,switch-mode-frequency = <1600000>;
69 regulator-min-microvolt = <500000>;
70 regulator-max-microvolt = <1150000>;
71 qcom,switch-mode-frequency = <4800000>;
77 regulator-min-microvolt = <1800000>;
78 regulator-max-microvolt = <1800000>;
79 qcom,switch-mode-frequency = <1600000>;
81 qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
85 regulator-min-microvolt = <1150000>;
86 regulator-max-microvolt = <1150000>;
87 qcom,switch-mode-frequency = <3200000>;
93 regulator-min-microvolt = <2050000>;
94 regulator-max-microvolt = <2050000>;
95 qcom,switch-mode-frequency = <1600000>;
102 regulator-min-microvolt = <1050000>;
103 regulator-max-microvolt = <1050000>;
108 regulator-min-microvolt = <1200000>;
109 regulator-max-microvolt = <1200000>;
114 regulator-min-microvolt = <3075000>;
115 regulator-max-microvolt = <3075000>;
121 regulator-min-microvolt = <1800000>;
122 regulator-max-microvolt = <1800000>;
127 regulator-min-microvolt = <2950000>;
128 regulator-max-microvolt = <2950000>;
133 regulator-min-microvolt = <2950000>;
134 regulator-max-microvolt = <2950000>;
140 regulator-min-microvolt = <1850000>;
141 regulator-max-microvolt = <2950000>;
146 regulator-min-microvolt = <2800000>;
147 regulator-max-microvolt = <3000000>;
152 regulator-min-microvolt = <3000000>;
153 regulator-max-microvolt = <3000000>;
158 regulator-min-microvolt = <3000000>;
159 regulator-max-microvolt = <3000000>;
164 regulator-min-microvolt = <2850000>;
165 regulator-max-microvolt = <2850000>;
170 regulator-min-microvolt = <1200000>;
171 regulator-max-microvolt = <1200000>;
176 regulator-min-microvolt = <1800000>;
177 regulator-max-microvolt = <1800000>;
182 regulator-min-microvolt = <1800000>;
183 regulator-max-microvolt = <2950000>;
188 regulator-min-microvolt = <2800000>;
189 regulator-max-microvolt = <2800000>;
194 regulator-min-microvolt = <1800000>;
195 regulator-max-microvolt = <2950000>;
200 regulator-min-microvolt = <1300000>;
201 regulator-max-microvolt = <1300000>;
206 regulator-min-microvolt = <1900000>;
207 regulator-max-microvolt = <1900000>;
212 regulator-min-microvolt = <2750000>;
213 regulator-max-microvolt = <2750000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <1800000>;
225 regulator-min-microvolt = <750000>;
226 regulator-max-microvolt = <1150000>;
232 regulator-min-microvolt = <1250000>;
233 regulator-max-microvolt = <1250000>;
237 /* Low Voltage Switch */
267 regulator-min-microvolt = <1800000>;
268 regulator-max-microvolt = <1800000>;
269 qcom,switch-mode-frequency = <1600000>;
276 qcom,mode = <GSBI_PROT_SPI>;
277 pinctrl-names = "default";
278 pinctrl-0 = <&spi1_default>;
282 compatible = "micrel,ks8851";
284 interrupt-parent = <&msmgpio>;
286 spi-max-frequency = <5400000>;
287 vdd-supply = <&ext_l2>;
288 vdd-io-supply = <&pm8921_lvs6>;
289 reset-gpios = <&msmgpio 89 0>;
295 spi1_default: spi1_default {
297 pins = "gpio6", "gpio7", "gpio9";
303 drive-strength = <12>;
309 drive-strength = <12>;
315 drive-strength = <12>;
322 drive-strength = <12>;
330 compatible = "simple-bus";
332 ext_l2: gpio-regulator@91 {
333 compatible = "regulator-fixed";
334 regulator-name = "ext_l2";
335 gpio = <&msmgpio 91 0>;
336 startup-delay-us = <10000>;
345 MATRIX_KEY(0, 0, KEY_VOLUMEUP)
346 MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
347 MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
348 MATRIX_KEY(0, 3, KEY_CAMERA)
350 keypad,num-rows = <1>;
351 keypad,num-columns = <5>;