diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-06-25 18:41:25 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-09-06 13:48:39 -0400 |
commit | e7765b3746dcbd7bc3477c14217fcf0747043b4f (patch) | |
tree | 0a6715514a02f25d24f05fca66b058fd84b525ed /arch/arm/boot/dts/tegra20-whistler.dts | |
parent | 217b8f0f357798270d9be396931e41e28ea2d00c (diff) |
ARM: dt: tegra: whistler: add regulators
Whistler uses a Maxim 8907 regulator. Instantiate this.
The voltage settings were derived from the schematic. The only exception
is the BBAT voltage; the schematic says 1.2v, but the HW can't go that
low, so use the HW default of 2.4v instead.
Almost all regulators list all driven supply signal names in their
regulator-names property. The exception is nvvdd_sv3, which is in turn
named 12 more different names on the schematic, so these were omitted
for brevity.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-whistler.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-whistler.dts | 293 |
1 files changed, 293 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts index 6916310bf58f..4ae1e5dcfa62 100644 --- a/arch/arm/boot/dts/tegra20-whistler.dts +++ b/arch/arm/boot/dts/tegra20-whistler.dts | |||
@@ -261,6 +261,284 @@ | |||
261 | gpio-controller; | 261 | gpio-controller; |
262 | #gpio-cells = <2>; | 262 | #gpio-cells = <2>; |
263 | }; | 263 | }; |
264 | |||
265 | max8907@3c { | ||
266 | compatible = "maxim,max8907"; | ||
267 | reg = <0x3c>; | ||
268 | interrupts = <0 86 0x4>; | ||
269 | |||
270 | mbatt-supply = <&usb0_vbus_reg>; | ||
271 | in-v1-supply = <&mbatt_reg>; | ||
272 | in-v2-supply = <&mbatt_reg>; | ||
273 | in-v3-supply = <&mbatt_reg>; | ||
274 | in1-supply = <&mbatt_reg>; | ||
275 | in2-supply = <&nvvdd_sv3_reg>; | ||
276 | in3-supply = <&mbatt_reg>; | ||
277 | in4-supply = <&mbatt_reg>; | ||
278 | in5-supply = <&mbatt_reg>; | ||
279 | in6-supply = <&mbatt_reg>; | ||
280 | in7-supply = <&mbatt_reg>; | ||
281 | in8-supply = <&mbatt_reg>; | ||
282 | in9-supply = <&mbatt_reg>; | ||
283 | in10-supply = <&mbatt_reg>; | ||
284 | in11-supply = <&mbatt_reg>; | ||
285 | in12-supply = <&mbatt_reg>; | ||
286 | in13-supply = <&mbatt_reg>; | ||
287 | in14-supply = <&mbatt_reg>; | ||
288 | in15-supply = <&mbatt_reg>; | ||
289 | in16-supply = <&mbatt_reg>; | ||
290 | in17-supply = <&nvvdd_sv3_reg>; | ||
291 | in18-supply = <&nvvdd_sv3_reg>; | ||
292 | in19-supply = <&mbatt_reg>; | ||
293 | in20-supply = <&mbatt_reg>; | ||
294 | |||
295 | regulators { | ||
296 | #address-cells = <1>; | ||
297 | #size-cells = <0>; | ||
298 | |||
299 | mbatt_reg: regulator@0 { | ||
300 | reg = <0>; | ||
301 | regulator-compatible = "mbatt"; | ||
302 | regulator-name = "vbat_pmu"; | ||
303 | regulator-always-on; | ||
304 | }; | ||
305 | |||
306 | regulator@1 { | ||
307 | reg = <1>; | ||
308 | regulator-compatible = "sd1"; | ||
309 | regulator-name = "nvvdd_sv1,vdd_cpu_pmu"; | ||
310 | regulator-min-microvolt = <1000000>; | ||
311 | regulator-max-microvolt = <1000000>; | ||
312 | regulator-always-on; | ||
313 | }; | ||
314 | |||
315 | regulator@2 { | ||
316 | reg = <2>; | ||
317 | regulator-compatible = "sd2"; | ||
318 | regulator-name = "nvvdd_sv2,vdd_core"; | ||
319 | regulator-min-microvolt = <1200000>; | ||
320 | regulator-max-microvolt = <1200000>; | ||
321 | regulator-always-on; | ||
322 | }; | ||
323 | |||
324 | nvvdd_sv3_reg: regulator@3 { | ||
325 | reg = <3>; | ||
326 | regulator-compatible = "sd3"; | ||
327 | regulator-name = "nvvdd_sv3"; | ||
328 | regulator-min-microvolt = <1800000>; | ||
329 | regulator-max-microvolt = <1800000>; | ||
330 | regulator-always-on; | ||
331 | }; | ||
332 | |||
333 | regulator@4 { | ||
334 | reg = <4>; | ||
335 | regulator-compatible = "ldo1"; | ||
336 | regulator-name = "nvvdd_ldo1,vddio_rx_ddr,vcore_acc"; | ||
337 | regulator-min-microvolt = <3300000>; | ||
338 | regulator-max-microvolt = <3300000>; | ||
339 | regulator-always-on; | ||
340 | }; | ||
341 | |||
342 | regulator@5 { | ||
343 | reg = <5>; | ||
344 | regulator-compatible = "ldo2"; | ||
345 | regulator-name = "nvvdd_ldo2,avdd_pll*"; | ||
346 | regulator-min-microvolt = <1100000>; | ||
347 | regulator-max-microvolt = <1100000>; | ||
348 | regulator-always-on; | ||
349 | }; | ||
350 | |||
351 | regulator@6 { | ||
352 | reg = <6>; | ||
353 | regulator-compatible = "ldo3"; | ||
354 | regulator-name = "nvvdd_ldo3,vcom_1v8b"; | ||
355 | regulator-min-microvolt = <1800000>; | ||
356 | regulator-max-microvolt = <1800000>; | ||
357 | regulator-always-on; | ||
358 | }; | ||
359 | |||
360 | regulator@7 { | ||
361 | reg = <7>; | ||
362 | regulator-compatible = "ldo4"; | ||
363 | regulator-name = "nvvdd_ldo4,avdd_usb*"; | ||
364 | regulator-min-microvolt = <3300000>; | ||
365 | regulator-max-microvolt = <3300000>; | ||
366 | regulator-always-on; | ||
367 | }; | ||
368 | |||
369 | regulator@8 { | ||
370 | reg = <8>; | ||
371 | regulator-compatible = "ldo5"; | ||
372 | regulator-name = "nvvdd_ldo5,vcore_mmc,avdd_lcd1,vddio_1wire"; | ||
373 | regulator-min-microvolt = <2800000>; | ||
374 | regulator-max-microvolt = <2800000>; | ||
375 | regulator-always-on; | ||
376 | }; | ||
377 | |||
378 | regulator@9 { | ||
379 | reg = <9>; | ||
380 | regulator-compatible = "ldo6"; | ||
381 | regulator-name = "nvvdd_ldo6,avdd_hdmi_pll"; | ||
382 | regulator-min-microvolt = <1800000>; | ||
383 | regulator-max-microvolt = <1800000>; | ||
384 | }; | ||
385 | |||
386 | regulator@10 { | ||
387 | reg = <10>; | ||
388 | regulator-compatible = "ldo7"; | ||
389 | regulator-name = "nvvdd_ldo7,avddio_audio"; | ||
390 | regulator-min-microvolt = <2800000>; | ||
391 | regulator-max-microvolt = <2800000>; | ||
392 | regulator-always-on; | ||
393 | }; | ||
394 | |||
395 | regulator@11 { | ||
396 | reg = <11>; | ||
397 | regulator-compatible = "ldo8"; | ||
398 | regulator-name = "nvvdd_ldo8,vcom_3v0,vcore_cmps"; | ||
399 | regulator-min-microvolt = <3000000>; | ||
400 | regulator-max-microvolt = <3000000>; | ||
401 | }; | ||
402 | |||
403 | regulator@12 { | ||
404 | reg = <12>; | ||
405 | regulator-compatible = "ldo9"; | ||
406 | regulator-name = "nvvdd_ldo9,avdd_cam*"; | ||
407 | regulator-min-microvolt = <2800000>; | ||
408 | regulator-max-microvolt = <2800000>; | ||
409 | }; | ||
410 | |||
411 | regulator@13 { | ||
412 | reg = <13>; | ||
413 | regulator-compatible = "ldo10"; | ||
414 | regulator-name = "nvvdd_ldo10,avdd_usb_ic_3v0"; | ||
415 | regulator-min-microvolt = <3000000>; | ||
416 | regulator-max-microvolt = <3000000>; | ||
417 | regulator-always-on; | ||
418 | }; | ||
419 | |||
420 | regulator@14 { | ||
421 | reg = <14>; | ||
422 | regulator-compatible = "ldo11"; | ||
423 | regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi"; | ||
424 | regulator-min-microvolt = <3300000>; | ||
425 | regulator-max-microvolt = <3300000>; | ||
426 | }; | ||
427 | |||
428 | regulator@15 { | ||
429 | reg = <15>; | ||
430 | regulator-compatible = "ldo12"; | ||
431 | regulator-name = "nvvdd_ldo12,vddio_sdio"; | ||
432 | regulator-min-microvolt = <2800000>; | ||
433 | regulator-max-microvolt = <2800000>; | ||
434 | regulator-always-on; | ||
435 | }; | ||
436 | |||
437 | regulator@16 { | ||
438 | reg = <16>; | ||
439 | regulator-compatible = "ldo13"; | ||
440 | regulator-name = "nvvdd_ldo13,vcore_phtn,vdd_af"; | ||
441 | regulator-min-microvolt = <2800000>; | ||
442 | regulator-max-microvolt = <2800000>; | ||
443 | }; | ||
444 | |||
445 | regulator@17 { | ||
446 | reg = <17>; | ||
447 | regulator-compatible = "ldo14"; | ||
448 | regulator-name = "nvvdd_ldo14,avdd_vdac"; | ||
449 | regulator-min-microvolt = <2800000>; | ||
450 | regulator-max-microvolt = <2800000>; | ||
451 | }; | ||
452 | |||
453 | regulator@18 { | ||
454 | reg = <18>; | ||
455 | regulator-compatible = "ldo15"; | ||
456 | regulator-name = "nvvdd_ldo15,vcore_temp,vddio_hdcp"; | ||
457 | regulator-min-microvolt = <3300000>; | ||
458 | regulator-max-microvolt = <3300000>; | ||
459 | }; | ||
460 | |||
461 | regulator@19 { | ||
462 | reg = <19>; | ||
463 | regulator-compatible = "ldo16"; | ||
464 | regulator-name = "nvvdd_ldo16,vdd_dbrtr"; | ||
465 | regulator-min-microvolt = <1300000>; | ||
466 | regulator-max-microvolt = <1300000>; | ||
467 | }; | ||
468 | |||
469 | regulator@20 { | ||
470 | reg = <20>; | ||
471 | regulator-compatible = "ldo17"; | ||
472 | regulator-name = "nvvdd_ldo17,vddio_mipi"; | ||
473 | regulator-min-microvolt = <1200000>; | ||
474 | regulator-max-microvolt = <1200000>; | ||
475 | }; | ||
476 | |||
477 | regulator@21 { | ||
478 | reg = <21>; | ||
479 | regulator-compatible = "ldo18"; | ||
480 | regulator-name = "nvvdd_ldo18,vddio_vi,vcore_cam*"; | ||
481 | regulator-min-microvolt = <1800000>; | ||
482 | regulator-max-microvolt = <1800000>; | ||
483 | }; | ||
484 | |||
485 | regulator@22 { | ||
486 | reg = <22>; | ||
487 | regulator-compatible = "ldo19"; | ||
488 | regulator-name = "nvvdd_ldo19,avdd_lcd2,vddio_lx"; | ||
489 | regulator-min-microvolt = <2800000>; | ||
490 | regulator-max-microvolt = <2800000>; | ||
491 | }; | ||
492 | |||
493 | regulator@23 { | ||
494 | reg = <23>; | ||
495 | regulator-compatible = "ldo20"; | ||
496 | regulator-name = "nvvdd_ldo20,vddio_ddr_1v2,vddio_hsic,vcom_1v2"; | ||
497 | regulator-min-microvolt = <1200000>; | ||
498 | regulator-max-microvolt = <1200000>; | ||
499 | regulator-always-on; | ||
500 | }; | ||
501 | |||
502 | regulator@24 { | ||
503 | reg = <24>; | ||
504 | regulator-compatible = "out5v"; | ||
505 | regulator-name = "usb0_vbus_reg"; | ||
506 | }; | ||
507 | |||
508 | regulator@25 { | ||
509 | reg = <25>; | ||
510 | regulator-compatible = "out33v"; | ||
511 | regulator-name = "pmu_out3v3"; | ||
512 | }; | ||
513 | |||
514 | regulator@26 { | ||
515 | reg = <26>; | ||
516 | regulator-compatible = "bbat"; | ||
517 | regulator-name = "pmu_bbat"; | ||
518 | regulator-min-microvolt = <2400000>; | ||
519 | regulator-max-microvolt = <2400000>; | ||
520 | regulator-always-on; | ||
521 | }; | ||
522 | |||
523 | regulator@27 { | ||
524 | reg = <27>; | ||
525 | regulator-compatible = "sdby"; | ||
526 | regulator-name = "vdd_aon"; | ||
527 | regulator-always-on; | ||
528 | }; | ||
529 | |||
530 | regulator@28 { | ||
531 | reg = <28>; | ||
532 | regulator-compatible = "vrtc"; | ||
533 | regulator-name = "vrtc,pmu_vccadc"; | ||
534 | regulator-always-on; | ||
535 | }; | ||
536 | }; | ||
537 | }; | ||
538 | }; | ||
539 | |||
540 | pmc { | ||
541 | nvidia,invert-interrupt; | ||
264 | }; | 542 | }; |
265 | 543 | ||
266 | usb@c5000000 { | 544 | usb@c5000000 { |
@@ -284,6 +562,21 @@ | |||
284 | bus-width = <8>; | 562 | bus-width = <8>; |
285 | }; | 563 | }; |
286 | 564 | ||
565 | regulators { | ||
566 | compatible = "simple-bus"; | ||
567 | #address-cells = <1>; | ||
568 | #size-cells = <0>; | ||
569 | |||
570 | usb0_vbus_reg: regulator { | ||
571 | compatible = "regulator-fixed"; | ||
572 | reg = <0>; | ||
573 | regulator-name = "usb0_vbus"; | ||
574 | regulator-min-microvolt = <5000000>; | ||
575 | regulator-max-microvolt = <5000000>; | ||
576 | regulator-always-on; | ||
577 | }; | ||
578 | }; | ||
579 | |||
287 | sound { | 580 | sound { |
288 | compatible = "nvidia,tegra-audio-wm8753-whistler", | 581 | compatible = "nvidia,tegra-audio-wm8753-whistler", |
289 | "nvidia,tegra-audio-wm8753"; | 582 | "nvidia,tegra-audio-wm8753"; |