2 * Common CPCAP configuration used on Motorola phones
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
11 compatible = "motorola,cpcap", "st,6556002";
13 interrupt-parent = <&gpio1>;
14 interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
16 #interrupt-cells = <2>;
19 spi-max-frequency = <3000000>;
23 compatible = "motorola,mapphone-cpcap-adc";
24 interrupts-extended = <&cpcap 8 0>;
25 interrupt-names = "adcdone";
26 #io-channel-cells = <1>;
29 cpcap_charger: charger {
30 compatible = "motorola,mapphone-cpcap-charger";
31 interrupts-extended = <
32 &cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0
33 &cpcap 22 0 &cpcap 20 0 &cpcap 19 0 &cpcap 54 0
36 "chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
37 "rvrs_mode", "chrgcurr1", "vbusvld", "battdetb";
38 mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
39 &gpio3 23 GPIO_ACTIVE_LOW>;
40 io-channels = <&cpcap_adc 0 &cpcap_adc 1
41 &cpcap_adc 2 &cpcap_adc 5
43 io-channel-names = "battdetb", "battp",
48 cpcap_regulator: regulator {
49 compatible = "motorola,mapphone-cpcap-regulator";
51 cpcap_regulators: regulators {
56 compatible = "motorola,cpcap-rtc";
58 interrupt-parent = <&cpcap>;
59 interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>;
62 power_button: button {
63 compatible = "motorola,cpcap-pwrbutton";
65 interrupts = <23 IRQ_TYPE_NONE>;
69 compatible = "motorola,mapphone-cpcap-usb-phy";
70 pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
71 pinctrl-1 = <&usb_ulpi_pins>;
72 pinctrl-2 = <&usb_utmi_pins>;
73 pinctrl-3 = <&uart3_pins>;
74 pinctrl-names = "default", "ulpi", "utmi", "uart";
76 interrupts-extended = <
77 &cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
78 &cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
82 "id_ground", "id_float", "se0conn", "vbusvld",
83 "sessvld", "sessend", "se1", "dm", "dp";
84 mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
85 &gpio1 0 GPIO_ACTIVE_HIGH>;
86 io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
87 io-channel-names = "vbus", "id";
88 vusb-supply = <&vusb>;
92 compatible = "motorola,cpcap-led-red";
94 label = "status-led:red";
97 led_green: led-green {
98 compatible = "motorola,cpcap-led-green";
100 label = "status-led:green";
104 compatible = "motorola,cpcap-led-blue";
106 label = "status-led:blue";
110 compatible = "motorola,cpcap-led-adl";
112 label = "button-backlight";
116 compatible = "motorola,cpcap-led-cp";
118 label = "shift-key-light";
125 regulator-min-microvolt = <5050000>;
126 regulator-max-microvolt = <5050000>;
127 regulator-enable-ramp-delay = <50000>;
132 regulator-min-microvolt = <2900000>;
133 regulator-max-microvolt = <2900000>;
134 regulator-enable-ramp-delay = <1000>;
139 regulator-min-microvolt = <1800000>;
140 regulator-max-microvolt = <1800000>;
141 regulator-enable-ramp-delay = <1000>;
146 regulator-min-microvolt = <1800000>;
147 regulator-max-microvolt = <1800000>;
148 regulator-enable-ramp-delay = <1000>;
152 regulator-min-microvolt = <1875000>;
153 regulator-max-microvolt = <1875000>;
154 regulator-enable-ramp-delay = <1000>;
158 regulator-min-microvolt = <1500000>;
159 regulator-max-microvolt = <3150000>;
160 regulator-enable-ramp-delay = <1000>;
164 regulator-min-microvolt = <2775000>;
165 regulator-max-microvolt = <2775000>;
166 regulator-enable-ramp-delay = <1000>;
170 /* Used by eMMC at mmc2 */
172 regulator-min-microvolt = <2900000>;
173 regulator-max-microvolt = <2900000>;
174 regulator-enable-ramp-delay = <1000>;
178 regulator-min-microvolt = <1200000>;
179 regulator-max-microvolt = <1800000>;
180 regulator-enable-ramp-delay = <100>;
184 regulator-min-microvolt = <2775000>;
185 regulator-max-microvolt = <2775000>;
186 regulator-enable-ramp-delay = <1000>;
190 regulator-min-microvolt = <2775000>;
191 regulator-max-microvolt = <2775000>;
192 regulator-enable-ramp-delay = <1000>;
196 regulator-min-microvolt = <2500000>;
197 regulator-max-microvolt = <2775000>;
198 regulator-enable-ramp-delay = <100>;
202 regulator-min-microvolt = <1800000>;
203 regulator-max-microvolt = <1900000>;
204 regulator-enable-ramp-delay = <1000>;
207 /* Used by micro-SDIO at mmc1 */
209 regulator-min-microvolt = <3000000>;
210 regulator-max-microvolt = <3000000>;
211 regulator-enable-ramp-delay = <1000>;
215 regulator-min-microvolt = <1800000>;
216 regulator-max-microvolt = <2900000>;
217 regulator-enable-ramp-delay = <1000>;
221 regulator-min-microvolt = <1800000>;
222 regulator-max-microvolt = <2900000>;
223 regulator-enable-ramp-delay = <1000>;
227 regulator-min-microvolt = <1300000>;
228 regulator-max-microvolt = <3000000>;
229 regulator-enable-ramp-delay = <500>;
233 regulator-min-microvolt = <3300000>;
234 regulator-max-microvolt = <3300000>;
235 regulator-enable-ramp-delay = <1000>;
239 regulator-min-microvolt = <2775000>;
240 regulator-max-microvolt = <2775000>;
241 regulator-enable-ramp-delay = <1000>;