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,cpcap-led-red";
71 label = "status-led:red";
74 led_green: led-green {
75 compatible = "motorola,cpcap-led-green";
77 label = "status-led:green";
81 compatible = "motorola,cpcap-led-blue";
83 label = "status-led:blue";
87 compatible = "motorola,cpcap-led-adl";
89 label = "button-backlight";
93 compatible = "motorola,cpcap-led-cp";
95 label = "shift-key-light";
102 regulator-min-microvolt = <5050000>;
103 regulator-max-microvolt = <5050000>;
104 regulator-enable-ramp-delay = <50000>;
109 regulator-min-microvolt = <2900000>;
110 regulator-max-microvolt = <2900000>;
111 regulator-enable-ramp-delay = <1000>;
116 regulator-min-microvolt = <1800000>;
117 regulator-max-microvolt = <1800000>;
118 regulator-enable-ramp-delay = <1000>;
123 regulator-min-microvolt = <1800000>;
124 regulator-max-microvolt = <1800000>;
125 regulator-enable-ramp-delay = <1000>;
129 regulator-min-microvolt = <1875000>;
130 regulator-max-microvolt = <1875000>;
131 regulator-enable-ramp-delay = <1000>;
135 regulator-min-microvolt = <1500000>;
136 regulator-max-microvolt = <3150000>;
137 regulator-enable-ramp-delay = <1000>;
141 regulator-min-microvolt = <2775000>;
142 regulator-max-microvolt = <2775000>;
143 regulator-enable-ramp-delay = <1000>;
147 /* Used by eMMC at mmc2 */
149 regulator-min-microvolt = <2900000>;
150 regulator-max-microvolt = <2900000>;
151 regulator-enable-ramp-delay = <1000>;
155 regulator-min-microvolt = <1200000>;
156 regulator-max-microvolt = <1800000>;
157 regulator-enable-ramp-delay = <100>;
161 regulator-min-microvolt = <2775000>;
162 regulator-max-microvolt = <2775000>;
163 regulator-enable-ramp-delay = <1000>;
167 regulator-min-microvolt = <2775000>;
168 regulator-max-microvolt = <2775000>;
169 regulator-enable-ramp-delay = <1000>;
173 regulator-min-microvolt = <2500000>;
174 regulator-max-microvolt = <2775000>;
175 regulator-enable-ramp-delay = <100>;
179 regulator-min-microvolt = <1800000>;
180 regulator-max-microvolt = <1900000>;
181 regulator-enable-ramp-delay = <1000>;
184 /* Used by micro-SDIO at mmc1 */
186 regulator-min-microvolt = <3000000>;
187 regulator-max-microvolt = <3000000>;
188 regulator-enable-ramp-delay = <1000>;
192 regulator-min-microvolt = <1800000>;
193 regulator-max-microvolt = <2900000>;
194 regulator-enable-ramp-delay = <1000>;
198 regulator-min-microvolt = <1800000>;
199 regulator-max-microvolt = <2900000>;
200 regulator-enable-ramp-delay = <1000>;
204 regulator-min-microvolt = <1300000>;
205 regulator-max-microvolt = <3000000>;
206 regulator-enable-ramp-delay = <500>;
210 regulator-min-microvolt = <3300000>;
211 regulator-max-microvolt = <3300000>;
212 regulator-enable-ramp-delay = <1000>;
216 regulator-min-microvolt = <2775000>;
217 regulator-max-microvolt = <2775000>;
218 regulator-enable-ramp-delay = <1000>;