Commit | Line | Data |
---|---|---|
0d4cb3cc TL |
1 | /* |
2 | * Common CPCAP configuration used on Motorola phones | |
3 | * | |
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. | |
7 | */ | |
8 | ||
9 | &mcspi1 { | |
10 | cpcap: pmic@0 { | |
11 | compatible = "motorola,cpcap", "st,6556002"; | |
12 | reg = <0>; /* cs0 */ | |
13 | interrupt-parent = <&gpio1>; | |
14 | interrupts = <7 IRQ_TYPE_EDGE_RISING>; | |
15 | interrupt-controller; | |
16 | #interrupt-cells = <2>; | |
17 | #address-cells = <1>; | |
18 | #size-cells = <0>; | |
19 | spi-max-frequency = <3000000>; | |
20 | spi-cs-high; | |
21 | ||
22 | cpcap_regulator: regulator { | |
23 | compatible = "motorola,mapphone-cpcap-regulator"; | |
24 | ||
25 | cpcap_regulators: regulators { | |
26 | }; | |
27 | }; | |
28 | }; | |
29 | }; | |
30 | ||
31 | &cpcap_regulators { | |
32 | sw5: SW5 { | |
33 | regulator-min-microvolt = <5050000>; | |
34 | regulator-max-microvolt = <5050000>; | |
35 | regulator-enable-ramp-delay = <50000>; | |
36 | regulator-boot-on; | |
37 | }; | |
38 | ||
39 | vcam: VCAM { | |
40 | regulator-min-microvolt = <2900000>; | |
41 | regulator-max-microvolt = <2900000>; | |
42 | regulator-enable-ramp-delay = <1000>; | |
43 | }; | |
44 | ||
45 | /* Used by DSS */ | |
46 | vcsi: VCSI { | |
47 | regulator-min-microvolt = <1800000>; | |
48 | regulator-max-microvolt = <1800000>; | |
49 | regulator-enable-ramp-delay = <1000>; | |
50 | regulator-boot-on; | |
51 | }; | |
52 | ||
53 | vdac: VDAC { | |
54 | regulator-min-microvolt = <1800000>; | |
55 | regulator-max-microvolt = <1800000>; | |
56 | regulator-enable-ramp-delay = <1000>; | |
57 | }; | |
58 | ||
59 | vdig: VDIG { | |
60 | regulator-min-microvolt = <1875000>; | |
61 | regulator-max-microvolt = <1875000>; | |
62 | regulator-enable-ramp-delay = <1000>; | |
63 | }; | |
64 | ||
65 | vfuse: VFUSE { | |
66 | regulator-min-microvolt = <1500000>; | |
67 | regulator-max-microvolt = <3150000>; | |
68 | regulator-enable-ramp-delay = <1000>; | |
69 | }; | |
70 | ||
71 | vhvio: VHVIO { | |
72 | regulator-min-microvolt = <2775000>; | |
73 | regulator-max-microvolt = <2775000>; | |
74 | regulator-enable-ramp-delay = <1000>; | |
75 | regulator-always-on; | |
76 | }; | |
77 | ||
78 | /* Used by eMMC at mmc2 */ | |
79 | vsdio: VSDIO { | |
80 | regulator-min-microvolt = <2900000>; | |
81 | regulator-max-microvolt = <2900000>; | |
82 | regulator-enable-ramp-delay = <1000>; | |
83 | }; | |
84 | ||
85 | vpll: VPLL { | |
86 | regulator-min-microvolt = <1200000>; | |
87 | regulator-max-microvolt = <1800000>; | |
88 | regulator-enable-ramp-delay = <100>; | |
89 | }; | |
90 | ||
91 | vrf1: VRF1 { | |
92 | regulator-min-microvolt = <2775000>; | |
93 | regulator-max-microvolt = <2775000>; | |
94 | regulator-enable-ramp-delay = <1000>; | |
95 | }; | |
96 | ||
97 | vrf2: VRF2 { | |
98 | regulator-min-microvolt = <2775000>; | |
99 | regulator-max-microvolt = <2775000>; | |
100 | regulator-enable-ramp-delay = <1000>; | |
101 | }; | |
102 | ||
103 | vrfref: VRFREF { | |
104 | regulator-min-microvolt = <2500000>; | |
105 | regulator-max-microvolt = <2775000>; | |
106 | regulator-enable-ramp-delay = <100>; | |
107 | }; | |
108 | ||
109 | vwlan1: VWLAN1 { | |
110 | regulator-min-microvolt = <1800000>; | |
111 | regulator-max-microvolt = <1900000>; | |
112 | regulator-enable-ramp-delay = <1000>; | |
113 | }; | |
114 | ||
115 | vwlan2: VWLAN2 { | |
116 | regulator-min-microvolt = <3000000>; | |
117 | regulator-max-microvolt = <3000000>; | |
118 | regulator-enable-ramp-delay = <1000>; | |
119 | }; | |
120 | ||
121 | vsim: VSIM { | |
122 | regulator-min-microvolt = <1800000>; | |
123 | regulator-max-microvolt = <2900000>; | |
124 | regulator-enable-ramp-delay = <1000>; | |
125 | }; | |
126 | ||
127 | /* Used by micro-SDIO at mmc1 */ | |
128 | vsimcard: VSIMCARD { | |
129 | regulator-min-microvolt = <1800000>; | |
130 | regulator-max-microvolt = <2900000>; | |
131 | regulator-enable-ramp-delay = <1000>; | |
132 | }; | |
133 | ||
134 | vvib: VVIB { | |
135 | regulator-min-microvolt = <1300000>; | |
136 | regulator-max-microvolt = <3000000>; | |
137 | regulator-enable-ramp-delay = <500>; | |
138 | }; | |
139 | ||
140 | vusb: VUSB { | |
141 | regulator-min-microvolt = <3300000>; | |
142 | regulator-max-microvolt = <3300000>; | |
143 | regulator-enable-ramp-delay = <1000>; | |
144 | }; | |
145 | ||
146 | vaudio: VAUDIO { | |
147 | regulator-min-microvolt = <2775000>; | |
148 | regulator-max-microvolt = <2775000>; | |
149 | regulator-enable-ramp-delay = <1000>; | |
150 | }; | |
151 | }; |