diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-05-04 08:32:34 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-31 20:04:37 -0400 |
commit | e5999f28903ebf795e83c95ed19191517ad3c001 (patch) | |
tree | ac45bd07bd3b57b36ae2afdd3a1c902d58b36ea1 /arch | |
parent | fd6948bb2aee1020001d7fd4747160541d69e30f (diff) |
ARM: ux500: Apply db8500-prcmu regulator information to db8500 Device Tree
Here we inform Device Tree of which regulators are provided by the db8500-
prcmu. This way we can reference some of their consumers directly from the
Device Tree e.g. SMSC911x Ethernet chip.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/db8500.dtsi | 107 |
1 files changed, 107 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/db8500.dtsi b/arch/arm/boot/dts/db8500.dtsi index 707000098ed9..646c80b41661 100644 --- a/arch/arm/boot/dts/db8500.dtsi +++ b/arch/arm/boot/dts/db8500.dtsi | |||
@@ -197,6 +197,113 @@ | |||
197 | reg = <0x80157450 0xC>; | 197 | reg = <0x80157450 0xC>; |
198 | }; | 198 | }; |
199 | 199 | ||
200 | db8500-prcmu-regulators { | ||
201 | compatible = "stericsson,db8500-prcmu-regulator"; | ||
202 | |||
203 | // DB8500_REGULATOR_VAPE | ||
204 | db8500_vape_reg: db8500_vape { | ||
205 | regulator-name = "db8500-vape"; | ||
206 | regulator-always-on; | ||
207 | }; | ||
208 | |||
209 | // DB8500_REGULATOR_VARM | ||
210 | db8500_varm_reg: db8500_varm { | ||
211 | regulator-name = "db8500-varm"; | ||
212 | }; | ||
213 | |||
214 | // DB8500_REGULATOR_VMODEM | ||
215 | db8500_vmodem_reg: db8500_vmodem { | ||
216 | regulator-name = "db8500-vmodem"; | ||
217 | }; | ||
218 | |||
219 | // DB8500_REGULATOR_VPLL | ||
220 | db8500_vpll_reg: db8500_vpll { | ||
221 | regulator-name = "db8500-vpll"; | ||
222 | }; | ||
223 | |||
224 | // DB8500_REGULATOR_VSMPS1 | ||
225 | db8500_vsmps1_reg: db8500_vsmps1 { | ||
226 | regulator-name = "db8500-vsmps1"; | ||
227 | }; | ||
228 | |||
229 | // DB8500_REGULATOR_VSMPS2 | ||
230 | db8500_vsmps2_reg: db8500_vsmps2 { | ||
231 | regulator-name = "db8500-vsmps2"; | ||
232 | }; | ||
233 | |||
234 | // DB8500_REGULATOR_VSMPS3 | ||
235 | db8500_vsmps3_reg: db8500_vsmps3 { | ||
236 | regulator-name = "db8500-vsmps3"; | ||
237 | }; | ||
238 | |||
239 | // DB8500_REGULATOR_VRF1 | ||
240 | db8500_vrf1_reg: db8500_vrf1 { | ||
241 | regulator-name = "db8500-vrf1"; | ||
242 | }; | ||
243 | |||
244 | // DB8500_REGULATOR_SWITCH_SVAMMDSP | ||
245 | db8500_sva_mmdsp_reg: db8500_sva_mmdsp { | ||
246 | regulator-name = "db8500-sva-mmdsp"; | ||
247 | }; | ||
248 | |||
249 | // DB8500_REGULATOR_SWITCH_SVAMMDSPRET | ||
250 | db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret { | ||
251 | regulator-name = "db8500-sva-mmdsp-ret"; | ||
252 | }; | ||
253 | |||
254 | // DB8500_REGULATOR_SWITCH_SVAPIPE | ||
255 | db8500_sva_pipe_reg: db8500_sva_pipe { | ||
256 | regulator-name = "db8500_sva_pipe"; | ||
257 | }; | ||
258 | |||
259 | // DB8500_REGULATOR_SWITCH_SIAMMDSP | ||
260 | db8500_sia_mmdsp_reg: db8500_sia_mmdsp { | ||
261 | regulator-name = "db8500_sia_mmdsp"; | ||
262 | }; | ||
263 | |||
264 | // DB8500_REGULATOR_SWITCH_SIAMMDSPRET | ||
265 | db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret { | ||
266 | regulator-name = "db8500-sia-mmdsp-ret"; | ||
267 | }; | ||
268 | |||
269 | // DB8500_REGULATOR_SWITCH_SIAPIPE | ||
270 | db8500_sia_pipe_reg: db8500_sia_pipe { | ||
271 | regulator-name = "db8500-sia-pipe"; | ||
272 | }; | ||
273 | |||
274 | // DB8500_REGULATOR_SWITCH_SGA | ||
275 | db8500_sga_reg: db8500_sga { | ||
276 | regulator-name = "db8500-sga"; | ||
277 | vin-supply = <&db8500_vape_reg>; | ||
278 | }; | ||
279 | |||
280 | // DB8500_REGULATOR_SWITCH_B2R2_MCDE | ||
281 | db8500_b2r2_mcde_reg: db8500_b2r2_mcde { | ||
282 | regulator-name = "db8500-b2r2-mcde"; | ||
283 | vin-supply = <&db8500_vape_reg>; | ||
284 | }; | ||
285 | |||
286 | // DB8500_REGULATOR_SWITCH_ESRAM12 | ||
287 | db8500_esram12_reg: db8500_esram12 { | ||
288 | regulator-name = "db8500-esram12"; | ||
289 | }; | ||
290 | |||
291 | // DB8500_REGULATOR_SWITCH_ESRAM12RET | ||
292 | db8500_esram12_ret_reg: db8500_esram12_ret { | ||
293 | regulator-name = "db8500-esram12-ret"; | ||
294 | }; | ||
295 | |||
296 | // DB8500_REGULATOR_SWITCH_ESRAM34 | ||
297 | db8500_esram34_reg: db8500_esram34 { | ||
298 | regulator-name = "db8500-esram34"; | ||
299 | }; | ||
300 | |||
301 | // DB8500_REGULATOR_SWITCH_ESRAM34RET | ||
302 | db8500_esram34_ret_reg: db8500_esram34_ret { | ||
303 | regulator-name = "db8500-esram34-ret"; | ||
304 | }; | ||
305 | }; | ||
306 | |||
200 | ab8500@5 { | 307 | ab8500@5 { |
201 | compatible = "stericsson,ab8500"; | 308 | compatible = "stericsson,ab8500"; |
202 | reg = <5>; /* mailbox 5 is i2c */ | 309 | reg = <5>; /* mailbox 5 is i2c */ |