Commit | Line | Data |
---|---|---|
c5749d34 JC |
1 | /* |
2 | * Copyright (c) 2017 MediaTek Inc. | |
3 | * Author: John Crispin <john@phrozen.org> | |
4 | * Sean Wang <sean.wang@mediatek.com> | |
5 | * This program is free software; you can redistribute it and/or modify | |
6 | * it under the terms of the GNU General Public License version 2 as | |
7 | * published by the Free Software Foundation. | |
8 | * | |
9 | * This program is distributed in the hope that it will be useful, | |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | * GNU General Public License for more details. | |
13 | */ | |
14 | ||
15 | &pwrap { | |
16 | pmic: mt6323 { | |
17 | compatible = "mediatek,mt6323"; | |
18 | interrupt-parent = <&pio>; | |
19 | interrupts = <150 IRQ_TYPE_LEVEL_HIGH>; | |
20 | interrupt-controller; | |
21 | #interrupt-cells = <2>; | |
22 | ||
23 | mt6323regulator: mt6323regulator{ | |
24 | compatible = "mediatek,mt6323-regulator"; | |
25 | ||
26 | mt6323_vproc_reg: buck_vproc{ | |
27 | regulator-name = "vproc"; | |
28 | regulator-min-microvolt = < 700000>; | |
29 | regulator-max-microvolt = <1350000>; | |
30 | regulator-ramp-delay = <12500>; | |
31 | regulator-always-on; | |
32 | regulator-boot-on; | |
33 | }; | |
34 | ||
35 | mt6323_vsys_reg: buck_vsys{ | |
36 | regulator-name = "vsys"; | |
37 | regulator-min-microvolt = <1400000>; | |
38 | regulator-max-microvolt = <2987500>; | |
39 | regulator-ramp-delay = <25000>; | |
40 | regulator-always-on; | |
41 | regulator-boot-on; | |
42 | }; | |
43 | ||
44 | mt6323_vpa_reg: buck_vpa{ | |
45 | regulator-name = "vpa"; | |
46 | regulator-min-microvolt = < 500000>; | |
47 | regulator-max-microvolt = <3650000>; | |
48 | }; | |
49 | ||
50 | mt6323_vtcxo_reg: ldo_vtcxo{ | |
51 | regulator-name = "vtcxo"; | |
52 | regulator-min-microvolt = <2800000>; | |
53 | regulator-max-microvolt = <2800000>; | |
54 | regulator-enable-ramp-delay = <90>; | |
55 | regulator-always-on; | |
56 | regulator-boot-on; | |
57 | }; | |
58 | ||
59 | mt6323_vcn28_reg: ldo_vcn28{ | |
60 | regulator-name = "vcn28"; | |
61 | regulator-min-microvolt = <2800000>; | |
62 | regulator-max-microvolt = <2800000>; | |
63 | regulator-enable-ramp-delay = <185>; | |
64 | }; | |
65 | ||
66 | mt6323_vcn33_bt_reg: ldo_vcn33_bt{ | |
67 | regulator-name = "vcn33_bt"; | |
68 | regulator-min-microvolt = <3300000>; | |
69 | regulator-max-microvolt = <3600000>; | |
70 | regulator-enable-ramp-delay = <185>; | |
71 | }; | |
72 | ||
73 | mt6323_vcn33_wifi_reg: ldo_vcn33_wifi{ | |
74 | regulator-name = "vcn33_wifi"; | |
75 | regulator-min-microvolt = <3300000>; | |
76 | regulator-max-microvolt = <3600000>; | |
77 | regulator-enable-ramp-delay = <185>; | |
78 | }; | |
79 | ||
80 | mt6323_va_reg: ldo_va{ | |
81 | regulator-name = "va"; | |
82 | regulator-min-microvolt = <2800000>; | |
83 | regulator-max-microvolt = <2800000>; | |
84 | regulator-enable-ramp-delay = <216>; | |
85 | regulator-always-on; | |
86 | regulator-boot-on; | |
87 | }; | |
88 | ||
89 | mt6323_vcama_reg: ldo_vcama{ | |
90 | regulator-name = "vcama"; | |
91 | regulator-min-microvolt = <1500000>; | |
92 | regulator-max-microvolt = <2800000>; | |
93 | regulator-enable-ramp-delay = <216>; | |
94 | }; | |
95 | ||
96 | mt6323_vio28_reg: ldo_vio28{ | |
97 | regulator-name = "vio28"; | |
98 | regulator-min-microvolt = <2800000>; | |
99 | regulator-max-microvolt = <2800000>; | |
100 | regulator-enable-ramp-delay = <216>; | |
101 | regulator-always-on; | |
102 | regulator-boot-on; | |
103 | }; | |
104 | ||
105 | mt6323_vusb_reg: ldo_vusb{ | |
106 | regulator-name = "vusb"; | |
107 | regulator-min-microvolt = <3300000>; | |
108 | regulator-max-microvolt = <3300000>; | |
109 | regulator-enable-ramp-delay = <216>; | |
110 | regulator-boot-on; | |
111 | }; | |
112 | ||
113 | mt6323_vmc_reg: ldo_vmc{ | |
114 | regulator-name = "vmc"; | |
115 | regulator-min-microvolt = <1800000>; | |
116 | regulator-max-microvolt = <3300000>; | |
117 | regulator-enable-ramp-delay = <36>; | |
118 | regulator-boot-on; | |
119 | }; | |
120 | ||
121 | mt6323_vmch_reg: ldo_vmch{ | |
122 | regulator-name = "vmch"; | |
123 | regulator-min-microvolt = <3000000>; | |
124 | regulator-max-microvolt = <3300000>; | |
125 | regulator-enable-ramp-delay = <36>; | |
126 | regulator-boot-on; | |
127 | }; | |
128 | ||
129 | mt6323_vemc3v3_reg: ldo_vemc3v3{ | |
130 | regulator-name = "vemc3v3"; | |
131 | regulator-min-microvolt = <3000000>; | |
132 | regulator-max-microvolt = <3300000>; | |
133 | regulator-enable-ramp-delay = <36>; | |
134 | regulator-boot-on; | |
135 | }; | |
136 | ||
137 | mt6323_vgp1_reg: ldo_vgp1{ | |
138 | regulator-name = "vgp1"; | |
139 | regulator-min-microvolt = <1200000>; | |
140 | regulator-max-microvolt = <3300000>; | |
141 | regulator-enable-ramp-delay = <216>; | |
142 | }; | |
143 | ||
144 | mt6323_vgp2_reg: ldo_vgp2{ | |
145 | regulator-name = "vgp2"; | |
146 | regulator-min-microvolt = <1200000>; | |
147 | regulator-max-microvolt = <3000000>; | |
148 | regulator-enable-ramp-delay = <216>; | |
149 | }; | |
150 | ||
151 | mt6323_vgp3_reg: ldo_vgp3{ | |
152 | regulator-name = "vgp3"; | |
153 | regulator-min-microvolt = <1200000>; | |
154 | regulator-max-microvolt = <1800000>; | |
155 | regulator-enable-ramp-delay = <216>; | |
156 | }; | |
157 | ||
158 | mt6323_vcn18_reg: ldo_vcn18{ | |
159 | regulator-name = "vcn18"; | |
160 | regulator-min-microvolt = <1800000>; | |
161 | regulator-max-microvolt = <1800000>; | |
162 | regulator-enable-ramp-delay = <216>; | |
163 | }; | |
164 | ||
165 | mt6323_vsim1_reg: ldo_vsim1{ | |
166 | regulator-name = "vsim1"; | |
167 | regulator-min-microvolt = <1800000>; | |
168 | regulator-max-microvolt = <3000000>; | |
169 | regulator-enable-ramp-delay = <216>; | |
170 | }; | |
171 | ||
172 | mt6323_vsim2_reg: ldo_vsim2{ | |
173 | regulator-name = "vsim2"; | |
174 | regulator-min-microvolt = <1800000>; | |
175 | regulator-max-microvolt = <3000000>; | |
176 | regulator-enable-ramp-delay = <216>; | |
177 | }; | |
178 | ||
179 | mt6323_vrtc_reg: ldo_vrtc{ | |
180 | regulator-name = "vrtc"; | |
181 | regulator-min-microvolt = <2800000>; | |
182 | regulator-max-microvolt = <2800000>; | |
183 | regulator-always-on; | |
184 | regulator-boot-on; | |
185 | }; | |
186 | ||
187 | mt6323_vcamaf_reg: ldo_vcamaf{ | |
188 | regulator-name = "vcamaf"; | |
189 | regulator-min-microvolt = <1200000>; | |
190 | regulator-max-microvolt = <3300000>; | |
191 | regulator-enable-ramp-delay = <216>; | |
192 | }; | |
193 | ||
194 | mt6323_vibr_reg: ldo_vibr{ | |
195 | regulator-name = "vibr"; | |
196 | regulator-min-microvolt = <1200000>; | |
197 | regulator-max-microvolt = <3300000>; | |
198 | regulator-enable-ramp-delay = <36>; | |
199 | }; | |
200 | ||
201 | mt6323_vrf18_reg: ldo_vrf18{ | |
202 | regulator-name = "vrf18"; | |
203 | regulator-min-microvolt = <1825000>; | |
204 | regulator-max-microvolt = <1825000>; | |
205 | regulator-enable-ramp-delay = <187>; | |
206 | }; | |
207 | ||
208 | mt6323_vm_reg: ldo_vm{ | |
209 | regulator-name = "vm"; | |
210 | regulator-min-microvolt = <1200000>; | |
211 | regulator-max-microvolt = <1800000>; | |
212 | regulator-enable-ramp-delay = <216>; | |
213 | regulator-always-on; | |
214 | regulator-boot-on; | |
215 | }; | |
216 | ||
217 | mt6323_vio18_reg: ldo_vio18{ | |
218 | regulator-name = "vio18"; | |
219 | regulator-min-microvolt = <1800000>; | |
220 | regulator-max-microvolt = <1800000>; | |
221 | regulator-enable-ramp-delay = <216>; | |
222 | regulator-always-on; | |
223 | regulator-boot-on; | |
224 | }; | |
225 | ||
226 | mt6323_vcamd_reg: ldo_vcamd{ | |
227 | regulator-name = "vcamd"; | |
228 | regulator-min-microvolt = <1200000>; | |
229 | regulator-max-microvolt = <1800000>; | |
230 | regulator-enable-ramp-delay = <216>; | |
231 | }; | |
232 | ||
233 | mt6323_vcamio_reg: ldo_vcamio{ | |
234 | regulator-name = "vcamio"; | |
235 | regulator-min-microvolt = <1800000>; | |
236 | regulator-max-microvolt = <1800000>; | |
237 | regulator-enable-ramp-delay = <216>; | |
238 | }; | |
239 | }; | |
240 | }; | |
241 | }; |