aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra124-venice2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/boot/dts/tegra124-venice2.dts')
-rw-r--r--arch/arm/boot/dts/tegra124-venice2.dts312
1 files changed, 196 insertions, 116 deletions
diff --git a/arch/arm/boot/dts/tegra124-venice2.dts b/arch/arm/boot/dts/tegra124-venice2.dts
index c6dcef513e5d..c17283c04598 100644
--- a/arch/arm/boot/dts/tegra124-venice2.dts
+++ b/arch/arm/boot/dts/tegra124-venice2.dts
@@ -8,15 +8,29 @@
8 compatible = "nvidia,venice2", "nvidia,tegra124"; 8 compatible = "nvidia,venice2", "nvidia,tegra124";
9 9
10 aliases { 10 aliases {
11 rtc0 = "/i2c@7000d000/as3722@40"; 11 rtc0 = "/i2c@0,7000d000/pmic@40";
12 rtc1 = "/rtc@7000e000"; 12 rtc1 = "/rtc@0,7000e000";
13 }; 13 };
14 14
15 memory { 15 memory {
16 reg = <0x80000000 0x80000000>; 16 reg = <0x0 0x80000000 0x0 0x80000000>;
17 }; 17 };
18 18
19 pinmux: pinmux@70000868 { 19 host1x@0,50000000 {
20 sor@0,54540000 {
21 status = "okay";
22
23 nvidia,dpaux = <&dpaux>;
24 nvidia,panel = <&panel>;
25 };
26
27 dpaux: dpaux@0,545c0000 {
28 vdd-supply = <&vdd_3v3_panel>;
29 status = "okay";
30 };
31 };
32
33 pinmux: pinmux@0,70000868 {
20 pinctrl-names = "default"; 34 pinctrl-names = "default";
21 pinctrl-0 = <&pinmux_default>; 35 pinctrl-0 = <&pinmux_default>;
22 36
@@ -138,14 +152,9 @@
138 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 152 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
139 }; 153 };
140 sdmmc1_clk_pz0 { 154 sdmmc1_clk_pz0 {
141 nvidia,pins = "sdmmc1_clk_pz0", 155 nvidia,pins = "sdmmc1_clk_pz0";
142 "sdmmc1_cmd_pz1",
143 "sdmmc1_dat0_py7",
144 "sdmmc1_dat1_py6",
145 "sdmmc1_dat2_py5",
146 "sdmmc1_dat3_py4";
147 nvidia,function = "sdmmc1"; 156 nvidia,function = "sdmmc1";
148 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 157 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
149 nvidia,pull = <TEGRA_PIN_PULL_NONE>; 158 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
150 nvidia,tristate = <TEGRA_PIN_DISABLE>; 159 nvidia,tristate = <TEGRA_PIN_DISABLE>;
151 }; 160 };
@@ -402,19 +411,11 @@
402 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 411 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
403 }; 412 };
404 usb_vbus_en0_pn4 { 413 usb_vbus_en0_pn4 {
405 nvidia,pins = "usb_vbus_en0_pn4"; 414 nvidia,pins = "usb_vbus_en0_pn4",
415 "usb_vbus_en1_pn5";
406 nvidia,function = "usb"; 416 nvidia,function = "usb";
407 nvidia,enable-input = <TEGRA_PIN_ENABLE>; 417 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
408 nvidia,pull = <TEGRA_PIN_PULL_UP>; 418 nvidia,pull = <TEGRA_PIN_PULL_NONE>;
409 nvidia,tristate = <TEGRA_PIN_DISABLE>;
410 nvidia,lock = <TEGRA_PIN_DISABLE>;
411 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
412 };
413 usb_vbus_en1_pn5 {
414 nvidia,pins = "usb_vbus_en1_pn5";
415 nvidia,function = "usb";
416 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
417 nvidia,pull = <TEGRA_PIN_PULL_UP>;
418 nvidia,tristate = <TEGRA_PIN_DISABLE>; 419 nvidia,tristate = <TEGRA_PIN_DISABLE>;
419 nvidia,lock = <TEGRA_PIN_DISABLE>; 420 nvidia,lock = <TEGRA_PIN_DISABLE>;
420 nvidia,open-drain = <TEGRA_PIN_ENABLE>; 421 nvidia,open-drain = <TEGRA_PIN_ENABLE>;
@@ -423,7 +424,6 @@
423 nvidia,pins = "drive_sdio1"; 424 nvidia,pins = "drive_sdio1";
424 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 425 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
425 nvidia,schmitt = <TEGRA_PIN_DISABLE>; 426 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
426 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
427 nvidia,pull-down-strength = <32>; 427 nvidia,pull-down-strength = <32>;
428 nvidia,pull-up-strength = <42>; 428 nvidia,pull-up-strength = <42>;
429 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 429 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
@@ -433,7 +433,6 @@
433 nvidia,pins = "drive_sdio3"; 433 nvidia,pins = "drive_sdio3";
434 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>; 434 nvidia,high-speed-mode = <TEGRA_PIN_ENABLE>;
435 nvidia,schmitt = <TEGRA_PIN_DISABLE>; 435 nvidia,schmitt = <TEGRA_PIN_DISABLE>;
436 nvidia,low-power-mode = <TEGRA_PIN_LP_DRIVE_DIV_1>;
437 nvidia,pull-down-strength = <20>; 436 nvidia,pull-down-strength = <20>;
438 nvidia,pull-up-strength = <36>; 437 nvidia,pull-up-strength = <36>;
439 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>; 438 nvidia,slew-rate-rising = <TEGRA_PIN_SLEW_RATE_FASTEST>;
@@ -572,15 +571,15 @@
572 }; 571 };
573 }; 572 };
574 573
575 serial@70006000 { 574 serial@0,70006000 {
576 status = "okay"; 575 status = "okay";
577 }; 576 };
578 577
579 pwm: pwm@7000a000 { 578 pwm: pwm@0,7000a000 {
580 status = "okay"; 579 status = "okay";
581 }; 580 };
582 581
583 i2c@7000c000 { 582 i2c@0,7000c000 {
584 status = "okay"; 583 status = "okay";
585 clock-frequency = <100000>; 584 clock-frequency = <100000>;
586 585
@@ -592,30 +591,32 @@
592 }; 591 };
593 }; 592 };
594 593
595 i2c@7000c400 { 594 i2c@0,7000c400 {
596 status = "okay"; 595 status = "okay";
597 clock-frequency = <100000>; 596 clock-frequency = <100000>;
598 }; 597 };
599 598
600 i2c@7000c500 { 599 i2c@0,7000c500 {
601 status = "okay"; 600 status = "okay";
602 clock-frequency = <100000>; 601 clock-frequency = <100000>;
603 }; 602 };
604 603
605 i2c@7000c700 { 604 i2c@0,7000c700 {
606 status = "okay"; 605 status = "okay";
607 clock-frequency = <100000>; 606 clock-frequency = <100000>;
608 }; 607 };
609 608
610 i2c@7000d000 { 609 i2c@0,7000d000 {
611 status = "okay"; 610 status = "okay";
612 clock-frequency = <400000>; 611 clock-frequency = <400000>;
613 612
614 as3722: as3722@40 { 613 pmic: pmic@40 {
615 compatible = "ams,as3722"; 614 compatible = "ams,as3722";
616 reg = <0x40>; 615 reg = <0x40>;
617 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; 616 interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>;
618 617
618 ams,system-power-controller;
619
619 #interrupt-cells = <2>; 620 #interrupt-cells = <2>;
620 interrupt-controller; 621 interrupt-controller;
621 622
@@ -650,19 +651,19 @@
650 }; 651 };
651 652
652 regulators { 653 regulators {
653 vsup-sd2-supply = <&vdd_ac_bat_reg>; 654 vsup-sd2-supply = <&vdd_5v0_sys>;
654 vsup-sd3-supply = <&vdd_ac_bat_reg>; 655 vsup-sd3-supply = <&vdd_5v0_sys>;
655 vsup-sd4-supply = <&vdd_ac_bat_reg>; 656 vsup-sd4-supply = <&vdd_5v0_sys>;
656 vsup-sd5-supply = <&vdd_ac_bat_reg>; 657 vsup-sd5-supply = <&vdd_5v0_sys>;
657 vin-ldo0-supply = <&as3722_sd2>; 658 vin-ldo0-supply = <&vdd_1v35_lp0>;
658 vin-ldo1-6-supply = <&vdd_ac_bat_reg>; 659 vin-ldo1-6-supply = <&vdd_3v3_run>;
659 vin-ldo2-5-7-supply = <&as3722_sd5>; 660 vin-ldo2-5-7-supply = <&vddio_1v8>;
660 vin-ldo3-4-supply = <&vdd_ac_bat_reg>; 661 vin-ldo3-4-supply = <&vdd_3v3_sys>;
661 vin-ldo9-10-supply = <&vdd_ac_bat_reg>; 662 vin-ldo9-10-supply = <&vdd_5v0_sys>;
662 vin-ldo11-supply = <&vdd_ac_bat_reg>; 663 vin-ldo11-supply = <&vdd_3v3_run>;
663 664
664 sd0 { 665 sd0 {
665 regulator-name = "vdd-cpu"; 666 regulator-name = "+VDD_CPU_AP";
666 regulator-min-microvolt = <700000>; 667 regulator-min-microvolt = <700000>;
667 regulator-max-microvolt = <1400000>; 668 regulator-max-microvolt = <1400000>;
668 regulator-min-microamp = <3500000>; 669 regulator-min-microamp = <3500000>;
@@ -673,7 +674,7 @@
673 }; 674 };
674 675
675 sd1 { 676 sd1 {
676 regulator-name = "vdd-core"; 677 regulator-name = "+VDD_CORE";
677 regulator-min-microvolt = <700000>; 678 regulator-min-microvolt = <700000>;
678 regulator-max-microvolt = <1350000>; 679 regulator-max-microvolt = <1350000>;
679 regulator-min-microamp = <2500000>; 680 regulator-min-microamp = <2500000>;
@@ -683,8 +684,8 @@
683 ams,external-control = <1>; 684 ams,external-control = <1>;
684 }; 685 };
685 686
686 as3722_sd2: sd2 { 687 vdd_1v35_lp0: sd2 {
687 regulator-name = "vddio-ddr"; 688 regulator-name = "+1.35V_LP0(sd2)";
688 regulator-min-microvolt = <1350000>; 689 regulator-min-microvolt = <1350000>;
689 regulator-max-microvolt = <1350000>; 690 regulator-max-microvolt = <1350000>;
690 regulator-always-on; 691 regulator-always-on;
@@ -692,7 +693,7 @@
692 }; 693 };
693 694
694 sd3 { 695 sd3 {
695 regulator-name = "vddio-ddr-2phase"; 696 regulator-name = "+1.35V_LP0(sd3)";
696 regulator-min-microvolt = <1350000>; 697 regulator-min-microvolt = <1350000>;
697 regulator-max-microvolt = <1350000>; 698 regulator-max-microvolt = <1350000>;
698 regulator-always-on; 699 regulator-always-on;
@@ -700,15 +701,13 @@
700 }; 701 };
701 702
702 sd4 { 703 sd4 {
703 regulator-name = "avdd-pex-sata"; 704 regulator-name = "+1.05V_RUN";
704 regulator-min-microvolt = <1050000>; 705 regulator-min-microvolt = <1050000>;
705 regulator-max-microvolt = <1050000>; 706 regulator-max-microvolt = <1050000>;
706 regulator-boot-on;
707 regulator-always-on;
708 }; 707 };
709 708
710 as3722_sd5: sd5 { 709 vddio_1v8: sd5 {
711 regulator-name = "vddio-sys"; 710 regulator-name = "+1.8V_VDDIO";
712 regulator-min-microvolt = <1800000>; 711 regulator-min-microvolt = <1800000>;
713 regulator-max-microvolt = <1800000>; 712 regulator-max-microvolt = <1800000>;
714 regulator-boot-on; 713 regulator-boot-on;
@@ -716,7 +715,7 @@
716 }; 715 };
717 716
718 sd6 { 717 sd6 {
719 regulator-name = "vdd-gpu"; 718 regulator-name = "+VDD_GPU_AP";
720 regulator-min-microvolt = <650000>; 719 regulator-min-microvolt = <650000>;
721 regulator-max-microvolt = <1200000>; 720 regulator-max-microvolt = <1200000>;
722 regulator-min-microamp = <3500000>; 721 regulator-min-microamp = <3500000>;
@@ -726,7 +725,7 @@
726 }; 725 };
727 726
728 ldo0 { 727 ldo0 {
729 regulator-name = "avdd_pll"; 728 regulator-name = "+1.05V_RUN_AVDD";
730 regulator-min-microvolt = <1050000>; 729 regulator-min-microvolt = <1050000>;
731 regulator-max-microvolt = <1050000>; 730 regulator-max-microvolt = <1050000>;
732 regulator-boot-on; 731 regulator-boot-on;
@@ -735,13 +734,13 @@
735 }; 734 };
736 735
737 ldo1 { 736 ldo1 {
738 regulator-name = "run-cam-1.8"; 737 regulator-name = "+1.8V_RUN_CAM";
739 regulator-min-microvolt = <1800000>; 738 regulator-min-microvolt = <1800000>;
740 regulator-max-microvolt = <1800000>; 739 regulator-max-microvolt = <1800000>;
741 }; 740 };
742 741
743 ldo2 { 742 ldo2 {
744 regulator-name = "gen-avdd,vddio-hsic"; 743 regulator-name = "+1.2V_GEN_AVDD";
745 regulator-min-microvolt = <1200000>; 744 regulator-min-microvolt = <1200000>;
746 regulator-max-microvolt = <1200000>; 745 regulator-max-microvolt = <1200000>;
747 regulator-boot-on; 746 regulator-boot-on;
@@ -749,7 +748,7 @@
749 }; 748 };
750 749
751 ldo3 { 750 ldo3 {
752 regulator-name = "vdd-rtc"; 751 regulator-name = "+1.00V_LP0_VDD_RTC";
753 regulator-min-microvolt = <1000000>; 752 regulator-min-microvolt = <1000000>;
754 regulator-max-microvolt = <1000000>; 753 regulator-max-microvolt = <1000000>;
755 regulator-boot-on; 754 regulator-boot-on;
@@ -757,48 +756,44 @@
757 ams,enable-tracking; 756 ams,enable-tracking;
758 }; 757 };
759 758
760 ldo4 { 759 vdd_run_cam: ldo4 {
761 regulator-name = "vdd-cam"; 760 regulator-name = "+3.3V_RUN_CAM";
762 regulator-min-microvolt = <2800000>; 761 regulator-min-microvolt = <2800000>;
763 regulator-max-microvolt = <2800000>; 762 regulator-max-microvolt = <2800000>;
764 regulator-boot-on;
765 regulator-always-on;
766 }; 763 };
767 764
768 ldo5 { 765 ldo5 {
769 regulator-name = "vdd-cam-front"; 766 regulator-name = "+1.2V_RUN_CAM_FRONT";
770 regulator-min-microvolt = <1200000>; 767 regulator-min-microvolt = <1200000>;
771 regulator-max-microvolt = <1200000>; 768 regulator-max-microvolt = <1200000>;
772 }; 769 };
773 770
774 ldo6 { 771 vddio_sdmmc3: ldo6 {
775 regulator-name = "vddio-sdmmc3"; 772 regulator-name = "+VDDIO_SDMMC3";
776 regulator-min-microvolt = <1800000>; 773 regulator-min-microvolt = <1800000>;
777 regulator-max-microvolt = <3300000>; 774 regulator-max-microvolt = <3300000>;
778 regulator-boot-on;
779 regulator-always-on;
780 }; 775 };
781 776
782 ldo7 { 777 ldo7 {
783 regulator-name = "vdd-cam-rear"; 778 regulator-name = "+1.05V_RUN_CAM_REAR";
784 regulator-min-microvolt = <1050000>; 779 regulator-min-microvolt = <1050000>;
785 regulator-max-microvolt = <1050000>; 780 regulator-max-microvolt = <1050000>;
786 }; 781 };
787 782
788 ldo9 { 783 ldo9 {
789 regulator-name = "vdd-touch"; 784 regulator-name = "+2.8V_RUN_TOUCH";
790 regulator-min-microvolt = <2800000>; 785 regulator-min-microvolt = <2800000>;
791 regulator-max-microvolt = <2800000>; 786 regulator-max-microvolt = <2800000>;
792 }; 787 };
793 788
794 ldo10 { 789 ldo10 {
795 regulator-name = "vdd-cam-af"; 790 regulator-name = "+2.8V_RUN_CAM_AF";
796 regulator-min-microvolt = <2800000>; 791 regulator-min-microvolt = <2800000>;
797 regulator-max-microvolt = <2800000>; 792 regulator-max-microvolt = <2800000>;
798 }; 793 };
799 794
800 ldo11 { 795 ldo11 {
801 regulator-name = "vpp-fuse"; 796 regulator-name = "+1.8V_RUN_VPP_FUSE";
802 regulator-min-microvolt = <1800000>; 797 regulator-min-microvolt = <1800000>;
803 regulator-max-microvolt = <1800000>; 798 regulator-max-microvolt = <1800000>;
804 }; 799 };
@@ -806,7 +801,7 @@
806 }; 801 };
807 }; 802 };
808 803
809 spi@7000d400 { 804 spi@0,7000d400 {
810 status = "okay"; 805 status = "okay";
811 806
812 cros-ec@0 { 807 cros-ec@0 {
@@ -912,7 +907,17 @@
912 }; 907 };
913 }; 908 };
914 909
915 pmc@7000e400 { 910 spi@0,7000da00 {
911 status = "okay";
912 spi-max-frequency = <25000000>;
913 spi-flash@0 {
914 compatible = "winbond,w25q32dw";
915 reg = <0>;
916 spi-max-frequency = <20000000>;
917 };
918 };
919
920 pmc@0,7000e400 {
916 nvidia,invert-interrupt; 921 nvidia,invert-interrupt;
917 nvidia,suspend-mode = <1>; 922 nvidia,suspend-mode = <1>;
918 nvidia,cpu-pwr-good-time = <500>; 923 nvidia,cpu-pwr-good-time = <500>;
@@ -923,24 +928,63 @@
923 nvidia,sys-clock-req-active-high; 928 nvidia,sys-clock-req-active-high;
924 }; 929 };
925 930
926 sdhci@700b0400 { 931 sdhci@0,700b0400 {
927 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 932 cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
928 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>; 933 power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
929 status = "okay"; 934 status = "okay";
930 bus-width = <4>; 935 bus-width = <4>;
936 vmmc-supply = <&vddio_sdmmc3>;
931 }; 937 };
932 938
933 sdhci@700b0600 { 939 sdhci@0,700b0600 {
934 status = "okay"; 940 status = "okay";
935 bus-width = <8>; 941 bus-width = <8>;
936 }; 942 };
937 943
938 ahub@70300000 { 944 ahub@0,70300000 {
939 i2s@70301100 { 945 i2s@0,70301100 {
940 status = "okay"; 946 status = "okay";
941 }; 947 };
942 }; 948 };
943 949
950 usb@0,7d000000 {
951 status = "okay";
952 };
953
954 usb-phy@0,7d000000 {
955 status = "okay";
956 vbus-supply = <&vdd_usb1_vbus>;
957 };
958
959 usb@0,7d004000 {
960 status = "okay";
961 };
962
963 usb-phy@0,7d004000 {
964 status = "okay";
965 vbus-supply = <&vdd_run_cam>;
966 };
967
968 usb@0,7d008000 {
969 status = "okay";
970 };
971
972 usb-phy@0,7d008000 {
973 status = "okay";
974 vbus-supply = <&vdd_usb3_vbus>;
975 };
976
977 backlight: backlight {
978 compatible = "pwm-backlight";
979
980 enable-gpios = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
981 power-supply = <&vdd_led>;
982 pwms = <&pwm 1 1000000>;
983
984 brightness-levels = <0 4 8 16 32 64 128 255>;
985 default-brightness-level = <6>;
986 };
987
944 clocks { 988 clocks {
945 compatible = "simple-bus"; 989 compatible = "simple-bus";
946 #address-cells = <1>; 990 #address-cells = <1>;
@@ -948,7 +992,7 @@
948 992
949 clk32k_in: clock@0 { 993 clk32k_in: clock@0 {
950 compatible = "fixed-clock"; 994 compatible = "fixed-clock";
951 reg=<0>; 995 reg = <0>;
952 #clock-cells = <0>; 996 #clock-cells = <0>;
953 clock-frequency = <32768>; 997 clock-frequency = <32768>;
954 }; 998 };
@@ -966,104 +1010,140 @@
966 }; 1010 };
967 }; 1011 };
968 1012
1013 panel: panel {
1014 compatible = "lg,lp129qe", "simple-panel";
1015
1016 backlight = <&backlight>;
1017 ddc-i2c-bus = <&dpaux>;
1018 };
1019
969 regulators { 1020 regulators {
970 compatible = "simple-bus"; 1021 compatible = "simple-bus";
971 #address-cells = <1>; 1022 #address-cells = <1>;
972 #size-cells = <0>; 1023 #size-cells = <0>;
973 1024
974 vdd_ac_bat_reg: regulator@0 { 1025 vdd_mux: regulator@0 {
975 compatible = "regulator-fixed"; 1026 compatible = "regulator-fixed";
976 reg = <0>; 1027 reg = <0>;
977 regulator-name = "vdd_ac_bat"; 1028 regulator-name = "+VDD_MUX";
978 regulator-min-microvolt = <5000000>; 1029 regulator-min-microvolt = <12000000>;
979 regulator-max-microvolt = <5000000>; 1030 regulator-max-microvolt = <12000000>;
980 regulator-always-on; 1031 regulator-always-on;
1032 regulator-boot-on;
981 }; 1033 };
982 1034
983 vdd_3v3_reg: regulator@1 { 1035 vdd_5v0_sys: regulator@1 {
984 compatible = "regulator-fixed"; 1036 compatible = "regulator-fixed";
985 reg = <1>; 1037 reg = <1>;
986 regulator-name = "vdd_3v3"; 1038 regulator-name = "+5V_SYS";
987 regulator-min-microvolt = <3300000>; 1039 regulator-min-microvolt = <5000000>;
988 regulator-max-microvolt = <3300000>; 1040 regulator-max-microvolt = <5000000>;
989 regulator-always-on; 1041 regulator-always-on;
990 regulator-boot-on; 1042 regulator-boot-on;
991 enable-active-high; 1043 vin-supply = <&vdd_mux>;
992 gpio = <&as3722 1 GPIO_ACTIVE_HIGH>;
993 }; 1044 };
994 1045
995 vdd_3v3_modem_reg: regulator@2 { 1046 vdd_3v3_sys: regulator@2 {
996 compatible = "regulator-fixed"; 1047 compatible = "regulator-fixed";
997 reg = <2>; 1048 reg = <2>;
998 regulator-name = "vdd-modem-3v3"; 1049 regulator-name = "+3.3V_SYS";
999 regulator-min-microvolt = <3300000>; 1050 regulator-min-microvolt = <3300000>;
1000 regulator-max-microvolt = <3300000>; 1051 regulator-max-microvolt = <3300000>;
1001 enable-active-high; 1052 regulator-always-on;
1002 gpio = <&as3722 2 GPIO_ACTIVE_HIGH>; 1053 regulator-boot-on;
1054 vin-supply = <&vdd_mux>;
1003 }; 1055 };
1004 1056
1005 vdd_hdmi_5v0_reg: regulator@3 { 1057 vdd_3v3_run: regulator@3 {
1006 compatible = "regulator-fixed"; 1058 compatible = "regulator-fixed";
1007 reg = <3>; 1059 reg = <3>;
1008 regulator-name = "vdd-hdmi-5v0"; 1060 regulator-name = "+3.3V_RUN";
1009 regulator-min-microvolt = <5000000>; 1061 regulator-min-microvolt = <3300000>;
1010 regulator-max-microvolt = <5000000>; 1062 regulator-max-microvolt = <3300000>;
1063 gpio = <&pmic 1 GPIO_ACTIVE_HIGH>;
1011 enable-active-high; 1064 enable-active-high;
1012 gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; 1065 vin-supply = <&vdd_3v3_sys>;
1013 }; 1066 };
1014 1067
1015 vdd_bl_reg: regulator@4 { 1068 vdd_3v3_hdmi: regulator@4 {
1016 compatible = "regulator-fixed"; 1069 compatible = "regulator-fixed";
1017 reg = <4>; 1070 reg = <4>;
1018 regulator-name = "vdd-bl"; 1071 regulator-name = "+3.3V_AVDD_HDMI_AP_GATED";
1019 regulator-min-microvolt = <3300000>; 1072 regulator-min-microvolt = <3300000>;
1020 regulator-max-microvolt = <3300000>; 1073 regulator-max-microvolt = <3300000>;
1021 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_LOW>; 1074 vin-supply = <&vdd_3v3_run>;
1022 }; 1075 };
1023 1076
1024 vdd_ts_sw_5v0: regulator@5 { 1077 vdd_led: regulator@5 {
1025 compatible = "regulator-fixed"; 1078 compatible = "regulator-fixed";
1026 reg = <5>; 1079 reg = <5>;
1027 regulator-name = "vdd_ts_sw"; 1080 regulator-name = "+VDD_LED";
1028 regulator-min-microvolt = <5000000>; 1081 gpio = <&gpio TEGRA_GPIO(P, 2) GPIO_ACTIVE_HIGH>;
1029 regulator-max-microvolt = <5000000>;
1030 enable-active-high; 1082 enable-active-high;
1031 regulator-boot-on; 1083 vin-supply = <&vdd_mux>;
1032 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_LOW>;
1033 }; 1084 };
1034 1085
1035 usb1_vbus_reg: regulator@6 { 1086 vdd_5v0_ts: regulator@6 {
1036 compatible = "regulator-fixed"; 1087 compatible = "regulator-fixed";
1037 reg = <6>; 1088 reg = <6>;
1038 regulator-name = "usb1_vbus"; 1089 regulator-name = "+5V_VDD_TS_SW";
1039 regulator-min-microvolt = <5000000>; 1090 regulator-min-microvolt = <5000000>;
1040 regulator-max-microvolt = <5000000>; 1091 regulator-max-microvolt = <5000000>;
1041 regulator-boot-on; 1092 regulator-boot-on;
1093 gpio = <&gpio TEGRA_GPIO(K, 1) GPIO_ACTIVE_HIGH>;
1042 enable-active-high; 1094 enable-active-high;
1043 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>; 1095 vin-supply = <&vdd_5v0_sys>;
1044 gpio-open-drain;
1045 }; 1096 };
1046 1097
1047 usb3_vbus_reg: regulator@7 { 1098 vdd_usb1_vbus: regulator@7 {
1048 compatible = "regulator-fixed"; 1099 compatible = "regulator-fixed";
1049 reg = <7>; 1100 reg = <7>;
1050 regulator-name = "usb3_vbus"; 1101 regulator-name = "+5V_USB_HS";
1051 regulator-min-microvolt = <5000000>; 1102 regulator-min-microvolt = <5000000>;
1052 regulator-max-microvolt = <5000000>; 1103 regulator-max-microvolt = <5000000>;
1053 regulator-boot-on; 1104 gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
1054 enable-active-high; 1105 enable-active-high;
1055 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1056 gpio-open-drain; 1106 gpio-open-drain;
1107 vin-supply = <&vdd_5v0_sys>;
1057 }; 1108 };
1058 1109
1059 panel_3v3_reg: regulator@8 { 1110 vdd_usb3_vbus: regulator@8 {
1060 compatible = "regulator-fixed"; 1111 compatible = "regulator-fixed";
1061 reg = <8>; 1112 reg = <8>;
1062 regulator-name = "panel_3v3"; 1113 regulator-name = "+5V_USB_SS";
1114 regulator-min-microvolt = <5000000>;
1115 regulator-max-microvolt = <5000000>;
1116 gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
1117 enable-active-high;
1118 gpio-open-drain;
1119 vin-supply = <&vdd_5v0_sys>;
1120 };
1121
1122 vdd_3v3_panel: regulator@9 {
1123 compatible = "regulator-fixed";
1124 reg = <9>;
1125 regulator-name = "+3.3V_PANEL";
1126 regulator-min-microvolt = <3300000>;
1127 regulator-max-microvolt = <3300000>;
1128 gpio = <&pmic 4 GPIO_ACTIVE_HIGH>;
1129 enable-active-high;
1130 vin-supply = <&vdd_3v3_run>;
1131 };
1132
1133 vdd_3v3_lp0: regulator@10 {
1134 compatible = "regulator-fixed";
1135 reg = <10>;
1136 regulator-name = "+3.3V_LP0";
1063 regulator-min-microvolt = <3300000>; 1137 regulator-min-microvolt = <3300000>;
1064 regulator-max-microvolt = <3300000>; 1138 regulator-max-microvolt = <3300000>;
1139 /*
1140 * TODO: find a way to wire this up with the USB EHCI
1141 * controllers so that it can be enabled on demand.
1142 */
1143 regulator-always-on;
1144 gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
1065 enable-active-high; 1145 enable-active-high;
1066 gpio = <&as3722 4 GPIO_ACTIVE_HIGH>; 1146 vin-supply = <&vdd_3v3_sys>;
1067 }; 1147 };
1068 }; 1148 };
1069 1149