1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
4 #include "qcom-msm8960.dtsi"
7 model = "Qualcomm MSM8960 CDP";
8 compatible = "qcom,msm8960-cdp", "qcom,msm8960";
11 serial0 = &gsbi5_serial;
15 stdout-path = "serial0:115200n8";
21 qcom,mode = <GSBI_PROT_I2C_UART>;
29 sdcc1: sdcc@12400000 {
33 /* External micro SD card */
34 sdcc3: sdcc@12180000 {
41 compatible = "qcom,rpm-pm8921-regulators";
42 vin_lvs1_3_6-supply = <&pm8921_s4>;
43 vin_lvs2-supply = <&pm8921_s4>;
44 vin_lvs4_5_7-supply = <&pm8921_s4>;
45 vdd_ncp-supply = <&pm8921_l6>;
46 vdd_l1_l2_l12_l18-supply = <&pm8921_s4>;
47 vdd_l21_l23_l29-supply = <&pm8921_s8>;
48 vdd_l24-supply = <&pm8921_s1>;
49 vdd_l25-supply = <&pm8921_s1>;
50 vdd_l27-supply = <&pm8921_s7>;
51 vdd_l28-supply = <&pm8921_s7>;
56 regulator-min-microvolt = <1225000>;
57 regulator-max-microvolt = <1225000>;
58 qcom,switch-mode-frequency = <3200000>;
63 regulator-min-microvolt = <1300000>;
64 regulator-max-microvolt = <1300000>;
65 qcom,switch-mode-frequency = <1600000>;
70 regulator-min-microvolt = <500000>;
71 regulator-max-microvolt = <1150000>;
72 qcom,switch-mode-frequency = <4800000>;
78 regulator-min-microvolt = <1800000>;
79 regulator-max-microvolt = <1800000>;
80 qcom,switch-mode-frequency = <1600000>;
82 qcom,force-mode = <QCOM_RPM_FORCE_MODE_AUTO>;
86 regulator-min-microvolt = <1150000>;
87 regulator-max-microvolt = <1150000>;
88 qcom,switch-mode-frequency = <3200000>;
94 regulator-min-microvolt = <2050000>;
95 regulator-max-microvolt = <2050000>;
96 qcom,switch-mode-frequency = <1600000>;
103 regulator-min-microvolt = <1050000>;
104 regulator-max-microvolt = <1050000>;
109 regulator-min-microvolt = <1200000>;
110 regulator-max-microvolt = <1200000>;
115 regulator-min-microvolt = <3075000>;
116 regulator-max-microvolt = <3075000>;
122 regulator-min-microvolt = <1800000>;
123 regulator-max-microvolt = <1800000>;
128 regulator-min-microvolt = <2950000>;
129 regulator-max-microvolt = <2950000>;
134 regulator-min-microvolt = <2950000>;
135 regulator-max-microvolt = <2950000>;
141 regulator-min-microvolt = <1850000>;
142 regulator-max-microvolt = <2950000>;
147 regulator-min-microvolt = <2800000>;
148 regulator-max-microvolt = <3000000>;
153 regulator-min-microvolt = <3000000>;
154 regulator-max-microvolt = <3000000>;
159 regulator-min-microvolt = <3000000>;
160 regulator-max-microvolt = <3000000>;
165 regulator-min-microvolt = <2850000>;
166 regulator-max-microvolt = <2850000>;
171 regulator-min-microvolt = <1200000>;
172 regulator-max-microvolt = <1200000>;
177 regulator-min-microvolt = <1800000>;
178 regulator-max-microvolt = <1800000>;
183 regulator-min-microvolt = <1800000>;
184 regulator-max-microvolt = <2950000>;
189 regulator-min-microvolt = <2800000>;
190 regulator-max-microvolt = <2800000>;
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <2950000>;
201 regulator-min-microvolt = <1300000>;
202 regulator-max-microvolt = <1300000>;
207 regulator-min-microvolt = <1900000>;
208 regulator-max-microvolt = <1900000>;
213 regulator-min-microvolt = <2750000>;
214 regulator-max-microvolt = <2750000>;
220 regulator-min-microvolt = <1800000>;
221 regulator-max-microvolt = <1800000>;
226 regulator-min-microvolt = <750000>;
227 regulator-max-microvolt = <1150000>;
233 regulator-min-microvolt = <1250000>;
234 regulator-max-microvolt = <1250000>;
238 /* Low Voltage Switch */
268 regulator-min-microvolt = <1800000>;
269 regulator-max-microvolt = <1800000>;
270 qcom,switch-mode-frequency = <1600000>;
277 qcom,mode = <GSBI_PROT_SPI>;
278 pinctrl-names = "default";
279 pinctrl-0 = <&spi1_default>;
283 compatible = "micrel,ks8851";
285 interrupt-parent = <&msmgpio>;
287 spi-max-frequency = <5400000>;
288 vdd-supply = <&ext_l2>;
289 vdd-io-supply = <&pm8921_lvs6>;
290 reset-gpios = <&msmgpio 89 0>;
296 spi1_default: spi1_default {
298 pins = "gpio6", "gpio7", "gpio9";
304 drive-strength = <12>;
310 drive-strength = <12>;
316 drive-strength = <12>;
323 drive-strength = <12>;
331 compatible = "simple-bus";
333 ext_l2: gpio-regulator@91 {
334 compatible = "regulator-fixed";
335 regulator-name = "ext_l2";
336 gpio = <&msmgpio 91 0>;
337 startup-delay-us = <10000>;
346 MATRIX_KEY(0, 0, KEY_VOLUMEUP)
347 MATRIX_KEY(0, 1, KEY_VOLUMEDOWN)
348 MATRIX_KEY(0, 2, KEY_CAMERA_FOCUS)
349 MATRIX_KEY(0, 3, KEY_CAMERA)
351 keypad,num-rows = <1>;
352 keypad,num-columns = <5>;