diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-09-20 19:04:06 -0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2012-11-05 13:36:04 -0500 |
commit | b9c665d75beb9239f8a0847786cf27dcb8a61b00 (patch) | |
tree | f1a66960f69bd7e7e47590c4880e177bc88f1524 /arch/arm/boot/dts/tegra20-whistler.dts | |
parent | dc9fe7f9730c927cd518d9fc7a616d188872e468 (diff) |
ARM: tegra: update *.dts for regulator-compatible deprecation
Commit 13511de "regulator: deprecate regulator-compatible DT property"
now allows for simpler content within the regulators node within a PMIC.
Modify all the Tegra device tree files to take advantage of this.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-whistler.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-whistler.dts | 119 |
1 files changed, 29 insertions, 90 deletions
diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts index c636d002d6d8..94a71c91beb5 100644 --- a/arch/arm/boot/dts/tegra20-whistler.dts +++ b/arch/arm/boot/dts/tegra20-whistler.dts | |||
@@ -295,243 +295,182 @@ | |||
295 | in20-supply = <&mbatt_reg>; | 295 | in20-supply = <&mbatt_reg>; |
296 | 296 | ||
297 | regulators { | 297 | regulators { |
298 | #address-cells = <1>; | 298 | mbatt_reg: mbatt { |
299 | #size-cells = <0>; | ||
300 | |||
301 | mbatt_reg: regulator@0 { | ||
302 | reg = <0>; | ||
303 | regulator-compatible = "mbatt"; | ||
304 | regulator-name = "vbat_pmu"; | 299 | regulator-name = "vbat_pmu"; |
305 | regulator-always-on; | 300 | regulator-always-on; |
306 | }; | 301 | }; |
307 | 302 | ||
308 | regulator@1 { | 303 | sd1 { |
309 | reg = <1>; | ||
310 | regulator-compatible = "sd1"; | ||
311 | regulator-name = "nvvdd_sv1,vdd_cpu_pmu"; | 304 | regulator-name = "nvvdd_sv1,vdd_cpu_pmu"; |
312 | regulator-min-microvolt = <1000000>; | 305 | regulator-min-microvolt = <1000000>; |
313 | regulator-max-microvolt = <1000000>; | 306 | regulator-max-microvolt = <1000000>; |
314 | regulator-always-on; | 307 | regulator-always-on; |
315 | }; | 308 | }; |
316 | 309 | ||
317 | regulator@2 { | 310 | sd2 { |
318 | reg = <2>; | ||
319 | regulator-compatible = "sd2"; | ||
320 | regulator-name = "nvvdd_sv2,vdd_core"; | 311 | regulator-name = "nvvdd_sv2,vdd_core"; |
321 | regulator-min-microvolt = <1200000>; | 312 | regulator-min-microvolt = <1200000>; |
322 | regulator-max-microvolt = <1200000>; | 313 | regulator-max-microvolt = <1200000>; |
323 | regulator-always-on; | 314 | regulator-always-on; |
324 | }; | 315 | }; |
325 | 316 | ||
326 | nvvdd_sv3_reg: regulator@3 { | 317 | nvvdd_sv3_reg: sd3 { |
327 | reg = <3>; | ||
328 | regulator-compatible = "sd3"; | ||
329 | regulator-name = "nvvdd_sv3"; | 318 | regulator-name = "nvvdd_sv3"; |
330 | regulator-min-microvolt = <1800000>; | 319 | regulator-min-microvolt = <1800000>; |
331 | regulator-max-microvolt = <1800000>; | 320 | regulator-max-microvolt = <1800000>; |
332 | regulator-always-on; | 321 | regulator-always-on; |
333 | }; | 322 | }; |
334 | 323 | ||
335 | regulator@4 { | 324 | ldo1 { |
336 | reg = <4>; | ||
337 | regulator-compatible = "ldo1"; | ||
338 | regulator-name = "nvvdd_ldo1,vddio_rx_ddr,vcore_acc"; | 325 | regulator-name = "nvvdd_ldo1,vddio_rx_ddr,vcore_acc"; |
339 | regulator-min-microvolt = <3300000>; | 326 | regulator-min-microvolt = <3300000>; |
340 | regulator-max-microvolt = <3300000>; | 327 | regulator-max-microvolt = <3300000>; |
341 | regulator-always-on; | 328 | regulator-always-on; |
342 | }; | 329 | }; |
343 | 330 | ||
344 | regulator@5 { | 331 | ldo2 { |
345 | reg = <5>; | ||
346 | regulator-compatible = "ldo2"; | ||
347 | regulator-name = "nvvdd_ldo2,avdd_pll*"; | 332 | regulator-name = "nvvdd_ldo2,avdd_pll*"; |
348 | regulator-min-microvolt = <1100000>; | 333 | regulator-min-microvolt = <1100000>; |
349 | regulator-max-microvolt = <1100000>; | 334 | regulator-max-microvolt = <1100000>; |
350 | regulator-always-on; | 335 | regulator-always-on; |
351 | }; | 336 | }; |
352 | 337 | ||
353 | regulator@6 { | 338 | ldo3 { |
354 | reg = <6>; | ||
355 | regulator-compatible = "ldo3"; | ||
356 | regulator-name = "nvvdd_ldo3,vcom_1v8b"; | 339 | regulator-name = "nvvdd_ldo3,vcom_1v8b"; |
357 | regulator-min-microvolt = <1800000>; | 340 | regulator-min-microvolt = <1800000>; |
358 | regulator-max-microvolt = <1800000>; | 341 | regulator-max-microvolt = <1800000>; |
359 | regulator-always-on; | 342 | regulator-always-on; |
360 | }; | 343 | }; |
361 | 344 | ||
362 | regulator@7 { | 345 | ldo4 { |
363 | reg = <7>; | ||
364 | regulator-compatible = "ldo4"; | ||
365 | regulator-name = "nvvdd_ldo4,avdd_usb*"; | 346 | regulator-name = "nvvdd_ldo4,avdd_usb*"; |
366 | regulator-min-microvolt = <3300000>; | 347 | regulator-min-microvolt = <3300000>; |
367 | regulator-max-microvolt = <3300000>; | 348 | regulator-max-microvolt = <3300000>; |
368 | regulator-always-on; | 349 | regulator-always-on; |
369 | }; | 350 | }; |
370 | 351 | ||
371 | regulator@8 { | 352 | ldo5 { |
372 | reg = <8>; | ||
373 | regulator-compatible = "ldo5"; | ||
374 | regulator-name = "nvvdd_ldo5,vcore_mmc,avdd_lcd1,vddio_1wire"; | 353 | regulator-name = "nvvdd_ldo5,vcore_mmc,avdd_lcd1,vddio_1wire"; |
375 | regulator-min-microvolt = <2800000>; | 354 | regulator-min-microvolt = <2800000>; |
376 | regulator-max-microvolt = <2800000>; | 355 | regulator-max-microvolt = <2800000>; |
377 | regulator-always-on; | 356 | regulator-always-on; |
378 | }; | 357 | }; |
379 | 358 | ||
380 | regulator@9 { | 359 | ldo6 { |
381 | reg = <9>; | ||
382 | regulator-compatible = "ldo6"; | ||
383 | regulator-name = "nvvdd_ldo6,avdd_hdmi_pll"; | 360 | regulator-name = "nvvdd_ldo6,avdd_hdmi_pll"; |
384 | regulator-min-microvolt = <1800000>; | 361 | regulator-min-microvolt = <1800000>; |
385 | regulator-max-microvolt = <1800000>; | 362 | regulator-max-microvolt = <1800000>; |
386 | }; | 363 | }; |
387 | 364 | ||
388 | regulator@10 { | 365 | ldo7 { |
389 | reg = <10>; | ||
390 | regulator-compatible = "ldo7"; | ||
391 | regulator-name = "nvvdd_ldo7,avddio_audio"; | 366 | regulator-name = "nvvdd_ldo7,avddio_audio"; |
392 | regulator-min-microvolt = <2800000>; | 367 | regulator-min-microvolt = <2800000>; |
393 | regulator-max-microvolt = <2800000>; | 368 | regulator-max-microvolt = <2800000>; |
394 | regulator-always-on; | 369 | regulator-always-on; |
395 | }; | 370 | }; |
396 | 371 | ||
397 | regulator@11 { | 372 | ldo8 { |
398 | reg = <11>; | ||
399 | regulator-compatible = "ldo8"; | ||
400 | regulator-name = "nvvdd_ldo8,vcom_3v0,vcore_cmps"; | 373 | regulator-name = "nvvdd_ldo8,vcom_3v0,vcore_cmps"; |
401 | regulator-min-microvolt = <3000000>; | 374 | regulator-min-microvolt = <3000000>; |
402 | regulator-max-microvolt = <3000000>; | 375 | regulator-max-microvolt = <3000000>; |
403 | }; | 376 | }; |
404 | 377 | ||
405 | regulator@12 { | 378 | ldo9 { |
406 | reg = <12>; | ||
407 | regulator-compatible = "ldo9"; | ||
408 | regulator-name = "nvvdd_ldo9,avdd_cam*"; | 379 | regulator-name = "nvvdd_ldo9,avdd_cam*"; |
409 | regulator-min-microvolt = <2800000>; | 380 | regulator-min-microvolt = <2800000>; |
410 | regulator-max-microvolt = <2800000>; | 381 | regulator-max-microvolt = <2800000>; |
411 | }; | 382 | }; |
412 | 383 | ||
413 | regulator@13 { | 384 | ldo10 { |
414 | reg = <13>; | ||
415 | regulator-compatible = "ldo10"; | ||
416 | regulator-name = "nvvdd_ldo10,avdd_usb_ic_3v0"; | 385 | regulator-name = "nvvdd_ldo10,avdd_usb_ic_3v0"; |
417 | regulator-min-microvolt = <3000000>; | 386 | regulator-min-microvolt = <3000000>; |
418 | regulator-max-microvolt = <3000000>; | 387 | regulator-max-microvolt = <3000000>; |
419 | regulator-always-on; | 388 | regulator-always-on; |
420 | }; | 389 | }; |
421 | 390 | ||
422 | regulator@14 { | 391 | ldo11 { |
423 | reg = <14>; | ||
424 | regulator-compatible = "ldo11"; | ||
425 | regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi"; | 392 | regulator-name = "nvvdd_ldo11,vddio_pex_clk,vcom_33,avdd_hdmi"; |
426 | regulator-min-microvolt = <3300000>; | 393 | regulator-min-microvolt = <3300000>; |
427 | regulator-max-microvolt = <3300000>; | 394 | regulator-max-microvolt = <3300000>; |
428 | }; | 395 | }; |
429 | 396 | ||
430 | regulator@15 { | 397 | ldo12 { |
431 | reg = <15>; | ||
432 | regulator-compatible = "ldo12"; | ||
433 | regulator-name = "nvvdd_ldo12,vddio_sdio"; | 398 | regulator-name = "nvvdd_ldo12,vddio_sdio"; |
434 | regulator-min-microvolt = <2800000>; | 399 | regulator-min-microvolt = <2800000>; |
435 | regulator-max-microvolt = <2800000>; | 400 | regulator-max-microvolt = <2800000>; |
436 | regulator-always-on; | 401 | regulator-always-on; |
437 | }; | 402 | }; |
438 | 403 | ||
439 | regulator@16 { | 404 | ldo13 { |
440 | reg = <16>; | ||
441 | regulator-compatible = "ldo13"; | ||
442 | regulator-name = "nvvdd_ldo13,vcore_phtn,vdd_af"; | 405 | regulator-name = "nvvdd_ldo13,vcore_phtn,vdd_af"; |
443 | regulator-min-microvolt = <2800000>; | 406 | regulator-min-microvolt = <2800000>; |
444 | regulator-max-microvolt = <2800000>; | 407 | regulator-max-microvolt = <2800000>; |
445 | }; | 408 | }; |
446 | 409 | ||
447 | regulator@17 { | 410 | ldo14 { |
448 | reg = <17>; | ||
449 | regulator-compatible = "ldo14"; | ||
450 | regulator-name = "nvvdd_ldo14,avdd_vdac"; | 411 | regulator-name = "nvvdd_ldo14,avdd_vdac"; |
451 | regulator-min-microvolt = <2800000>; | 412 | regulator-min-microvolt = <2800000>; |
452 | regulator-max-microvolt = <2800000>; | 413 | regulator-max-microvolt = <2800000>; |
453 | }; | 414 | }; |
454 | 415 | ||
455 | regulator@18 { | 416 | ldo15 { |
456 | reg = <18>; | ||
457 | regulator-compatible = "ldo15"; | ||
458 | regulator-name = "nvvdd_ldo15,vcore_temp,vddio_hdcp"; | 417 | regulator-name = "nvvdd_ldo15,vcore_temp,vddio_hdcp"; |
459 | regulator-min-microvolt = <3300000>; | 418 | regulator-min-microvolt = <3300000>; |
460 | regulator-max-microvolt = <3300000>; | 419 | regulator-max-microvolt = <3300000>; |
461 | }; | 420 | }; |
462 | 421 | ||
463 | regulator@19 { | 422 | ldo16 { |
464 | reg = <19>; | ||
465 | regulator-compatible = "ldo16"; | ||
466 | regulator-name = "nvvdd_ldo16,vdd_dbrtr"; | 423 | regulator-name = "nvvdd_ldo16,vdd_dbrtr"; |
467 | regulator-min-microvolt = <1300000>; | 424 | regulator-min-microvolt = <1300000>; |
468 | regulator-max-microvolt = <1300000>; | 425 | regulator-max-microvolt = <1300000>; |
469 | }; | 426 | }; |
470 | 427 | ||
471 | regulator@20 { | 428 | ldo17 { |
472 | reg = <20>; | ||
473 | regulator-compatible = "ldo17"; | ||
474 | regulator-name = "nvvdd_ldo17,vddio_mipi"; | 429 | regulator-name = "nvvdd_ldo17,vddio_mipi"; |
475 | regulator-min-microvolt = <1200000>; | 430 | regulator-min-microvolt = <1200000>; |
476 | regulator-max-microvolt = <1200000>; | 431 | regulator-max-microvolt = <1200000>; |
477 | }; | 432 | }; |
478 | 433 | ||
479 | regulator@21 { | 434 | ldo18 { |
480 | reg = <21>; | ||
481 | regulator-compatible = "ldo18"; | ||
482 | regulator-name = "nvvdd_ldo18,vddio_vi,vcore_cam*"; | 435 | regulator-name = "nvvdd_ldo18,vddio_vi,vcore_cam*"; |
483 | regulator-min-microvolt = <1800000>; | 436 | regulator-min-microvolt = <1800000>; |
484 | regulator-max-microvolt = <1800000>; | 437 | regulator-max-microvolt = <1800000>; |
485 | }; | 438 | }; |
486 | 439 | ||
487 | regulator@22 { | 440 | ldo19 { |
488 | reg = <22>; | ||
489 | regulator-compatible = "ldo19"; | ||
490 | regulator-name = "nvvdd_ldo19,avdd_lcd2,vddio_lx"; | 441 | regulator-name = "nvvdd_ldo19,avdd_lcd2,vddio_lx"; |
491 | regulator-min-microvolt = <2800000>; | 442 | regulator-min-microvolt = <2800000>; |
492 | regulator-max-microvolt = <2800000>; | 443 | regulator-max-microvolt = <2800000>; |
493 | }; | 444 | }; |
494 | 445 | ||
495 | regulator@23 { | 446 | ldo20 { |
496 | reg = <23>; | ||
497 | regulator-compatible = "ldo20"; | ||
498 | regulator-name = "nvvdd_ldo20,vddio_ddr_1v2,vddio_hsic,vcom_1v2"; | 447 | regulator-name = "nvvdd_ldo20,vddio_ddr_1v2,vddio_hsic,vcom_1v2"; |
499 | regulator-min-microvolt = <1200000>; | 448 | regulator-min-microvolt = <1200000>; |
500 | regulator-max-microvolt = <1200000>; | 449 | regulator-max-microvolt = <1200000>; |
501 | regulator-always-on; | 450 | regulator-always-on; |
502 | }; | 451 | }; |
503 | 452 | ||
504 | regulator@24 { | 453 | out5v { |
505 | reg = <24>; | ||
506 | regulator-compatible = "out5v"; | ||
507 | regulator-name = "usb0_vbus_reg"; | 454 | regulator-name = "usb0_vbus_reg"; |
508 | }; | 455 | }; |
509 | 456 | ||
510 | regulator@25 { | 457 | out33v { |
511 | reg = <25>; | ||
512 | regulator-compatible = "out33v"; | ||
513 | regulator-name = "pmu_out3v3"; | 458 | regulator-name = "pmu_out3v3"; |
514 | }; | 459 | }; |
515 | 460 | ||
516 | regulator@26 { | 461 | bbat { |
517 | reg = <26>; | ||
518 | regulator-compatible = "bbat"; | ||
519 | regulator-name = "pmu_bbat"; | 462 | regulator-name = "pmu_bbat"; |
520 | regulator-min-microvolt = <2400000>; | 463 | regulator-min-microvolt = <2400000>; |
521 | regulator-max-microvolt = <2400000>; | 464 | regulator-max-microvolt = <2400000>; |
522 | regulator-always-on; | 465 | regulator-always-on; |
523 | }; | 466 | }; |
524 | 467 | ||
525 | regulator@27 { | 468 | sdby { |
526 | reg = <27>; | ||
527 | regulator-compatible = "sdby"; | ||
528 | regulator-name = "vdd_aon"; | 469 | regulator-name = "vdd_aon"; |
529 | regulator-always-on; | 470 | regulator-always-on; |
530 | }; | 471 | }; |
531 | 472 | ||
532 | regulator@28 { | 473 | vrtc { |
533 | reg = <28>; | ||
534 | regulator-compatible = "vrtc"; | ||
535 | regulator-name = "vrtc,pmu_vccadc"; | 474 | regulator-name = "vrtc,pmu_vccadc"; |
536 | regulator-always-on; | 475 | regulator-always-on; |
537 | }; | 476 | }; |