.. | .. |
---|
6 | 6 | #include <dt-bindings/pinctrl/pinctrl-tegra-xusb.h> |
---|
7 | 7 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
---|
8 | 8 | #include <dt-bindings/thermal/tegra124-soctherm.h> |
---|
| 9 | +#include <dt-bindings/soc/tegra-pmc.h> |
---|
9 | 10 | |
---|
10 | 11 | / { |
---|
11 | 12 | compatible = "nvidia,tegra132", "nvidia,tegra124"; |
---|
.. | .. |
---|
16 | 17 | pcie@1003000 { |
---|
17 | 18 | compatible = "nvidia,tegra124-pcie"; |
---|
18 | 19 | device_type = "pci"; |
---|
19 | | - reg = <0x0 0x01003000 0x0 0x00000800 /* PADS registers */ |
---|
20 | | - 0x0 0x01003800 0x0 0x00000800 /* AFI registers */ |
---|
21 | | - 0x0 0x02000000 0x0 0x10000000>; /* configuration space */ |
---|
| 20 | + reg = <0x0 0x01003000 0x0 0x00000800>, /* PADS registers */ |
---|
| 21 | + <0x0 0x01003800 0x0 0x00000800>, /* AFI registers */ |
---|
| 22 | + <0x0 0x02000000 0x0 0x10000000>; /* configuration space */ |
---|
22 | 23 | reg-names = "pads", "afi", "cs"; |
---|
23 | 24 | interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, /* controller interrupt */ |
---|
24 | 25 | <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */ |
---|
.. | .. |
---|
32 | 33 | #address-cells = <3>; |
---|
33 | 34 | #size-cells = <2>; |
---|
34 | 35 | |
---|
35 | | - ranges = <0x82000000 0 0x01000000 0x0 0x01000000 0 0x00001000 /* port 0 configuration space */ |
---|
36 | | - 0x82000000 0 0x01001000 0x0 0x01001000 0 0x00001000 /* port 1 configuration space */ |
---|
37 | | - 0x81000000 0 0x0 0x0 0x12000000 0 0x00010000 /* downstream I/O (64 KiB) */ |
---|
38 | | - 0x82000000 0 0x13000000 0x0 0x13000000 0 0x0d000000 /* non-prefetchable memory (208 MiB) */ |
---|
39 | | - 0xc2000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */ |
---|
| 36 | + ranges = <0x02000000 0 0x01000000 0x0 0x01000000 0 0x00001000>, /* port 0 configuration space */ |
---|
| 37 | + <0x02000000 0 0x01001000 0x0 0x01001000 0 0x00001000>, /* port 1 configuration space */ |
---|
| 38 | + <0x01000000 0 0x0 0x0 0x12000000 0 0x00010000>, /* downstream I/O (64 KiB) */ |
---|
| 39 | + <0x02000000 0 0x13000000 0x0 0x13000000 0 0x0d000000>, /* non-prefetchable memory (208 MiB) */ |
---|
| 40 | + <0x42000000 0 0x20000000 0x0 0x20000000 0 0x20000000>; /* prefetchable memory (512 MiB) */ |
---|
40 | 41 | |
---|
41 | 42 | clocks = <&tegra_car TEGRA124_CLK_PCIE>, |
---|
42 | 43 | <&tegra_car TEGRA124_CLK_AFI>, |
---|
.. | .. |
---|
48 | 49 | <&tegra_car 74>; |
---|
49 | 50 | reset-names = "pex", "afi", "pcie_x"; |
---|
50 | 51 | status = "disabled"; |
---|
51 | | - |
---|
52 | | - phys = <&padctl TEGRA_XUSB_PADCTL_PCIE>; |
---|
53 | | - phy-names = "pcie"; |
---|
54 | 52 | |
---|
55 | 53 | pci@1,0 { |
---|
56 | 54 | device_type = "pci"; |
---|
.. | .. |
---|
82 | 80 | }; |
---|
83 | 81 | |
---|
84 | 82 | host1x@50000000 { |
---|
85 | | - compatible = "nvidia,tegra124-host1x", "simple-bus"; |
---|
| 83 | + compatible = "nvidia,tegra132-host1x", |
---|
| 84 | + "nvidia,tegra124-host1x"; |
---|
86 | 85 | reg = <0x0 0x50000000 0x0 0x00034000>; |
---|
87 | 86 | interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, /* syncpt */ |
---|
88 | 87 | <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>; /* general */ |
---|
| 88 | + interrupt-names = "syncpt", "host1x"; |
---|
89 | 89 | clocks = <&tegra_car TEGRA124_CLK_HOST1X>; |
---|
90 | 90 | clock-names = "host1x"; |
---|
91 | 91 | resets = <&tegra_car 28>; |
---|
.. | .. |
---|
100 | 100 | compatible = "nvidia,tegra124-dc"; |
---|
101 | 101 | reg = <0x0 0x54200000 0x0 0x00040000>; |
---|
102 | 102 | interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
---|
103 | | - clocks = <&tegra_car TEGRA124_CLK_DISP1>, |
---|
104 | | - <&tegra_car TEGRA124_CLK_PLL_P>; |
---|
105 | | - clock-names = "dc", "parent"; |
---|
| 103 | + clocks = <&tegra_car TEGRA124_CLK_DISP1>; |
---|
| 104 | + clock-names = "dc"; |
---|
106 | 105 | resets = <&tegra_car 27>; |
---|
107 | 106 | reset-names = "dc"; |
---|
108 | 107 | |
---|
.. | .. |
---|
115 | 114 | compatible = "nvidia,tegra124-dc"; |
---|
116 | 115 | reg = <0x0 0x54240000 0x0 0x00040000>; |
---|
117 | 116 | interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; |
---|
118 | | - clocks = <&tegra_car TEGRA124_CLK_DISP2>, |
---|
119 | | - <&tegra_car TEGRA124_CLK_PLL_P>; |
---|
120 | | - clock-names = "dc", "parent"; |
---|
| 117 | + clocks = <&tegra_car TEGRA124_CLK_DISP2>; |
---|
| 118 | + clock-names = "dc"; |
---|
121 | 119 | resets = <&tegra_car 26>; |
---|
122 | 120 | reset-names = "dc"; |
---|
123 | 121 | |
---|
.. | .. |
---|
143 | 141 | reg = <0x0 0x54540000 0x0 0x00040000>; |
---|
144 | 142 | interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; |
---|
145 | 143 | clocks = <&tegra_car TEGRA124_CLK_SOR0>, |
---|
| 144 | + <&tegra_car TEGRA124_CLK_SOR0_OUT>, |
---|
146 | 145 | <&tegra_car TEGRA124_CLK_PLL_D_OUT0>, |
---|
147 | 146 | <&tegra_car TEGRA124_CLK_PLL_DP>, |
---|
148 | 147 | <&tegra_car TEGRA124_CLK_CLK_M>; |
---|
149 | | - clock-names = "sor", "parent", "dp", "safe"; |
---|
| 148 | + clock-names = "sor", "out", "parent", "dp", "safe"; |
---|
150 | 149 | resets = <&tegra_car 182>; |
---|
151 | 150 | reset-names = "sor"; |
---|
152 | 151 | status = "disabled"; |
---|
.. | .. |
---|
162 | 161 | resets = <&tegra_car 181>; |
---|
163 | 162 | reset-names = "dpaux"; |
---|
164 | 163 | status = "disabled"; |
---|
| 164 | + |
---|
| 165 | + i2c-bus { |
---|
| 166 | + #address-cells = <1>; |
---|
| 167 | + #size-cells = <0>; |
---|
| 168 | + }; |
---|
165 | 169 | }; |
---|
166 | 170 | }; |
---|
167 | 171 | |
---|
.. | .. |
---|
577 | 581 | clock-names = "rtc"; |
---|
578 | 582 | }; |
---|
579 | 583 | |
---|
580 | | - pmc@7000e400 { |
---|
| 584 | + tegra_pmc: pmc@7000e400 { |
---|
581 | 585 | compatible = "nvidia,tegra124-pmc"; |
---|
582 | 586 | reg = <0x0 0x7000e400 0x0 0x400>; |
---|
583 | 587 | clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>; |
---|
584 | 588 | clock-names = "pclk", "clk32k_in"; |
---|
| 589 | + #clock-cells = <1>; |
---|
585 | 590 | }; |
---|
586 | 591 | |
---|
587 | 592 | fuse@7000f800 { |
---|
.. | .. |
---|
604 | 609 | #iommu-cells = <1>; |
---|
605 | 610 | }; |
---|
606 | 611 | |
---|
607 | | - emc: emc@7001b000 { |
---|
608 | | - compatible = "nvidia,tegra132-emc", "nvidia,tegra124-emc"; |
---|
| 612 | + emc: external-memory-controller@7001b000 { |
---|
| 613 | + compatible = "nvidia,tegra132-emc"; |
---|
609 | 614 | reg = <0x0 0x7001b000 0x0 0x1000>; |
---|
| 615 | + clocks = <&tegra_car TEGRA124_CLK_EMC>; |
---|
| 616 | + clock-names = "emc"; |
---|
610 | 617 | |
---|
611 | 618 | nvidia,memory-controller = <&mc>; |
---|
612 | 619 | }; |
---|
.. | .. |
---|
625 | 632 | <&tegra_car 123>, |
---|
626 | 633 | <&tegra_car 129>; |
---|
627 | 634 | reset-names = "sata", "sata-oob", "sata-cold"; |
---|
628 | | - phys = <&padctl TEGRA_XUSB_PADCTL_SATA>; |
---|
629 | | - phy-names = "sata-phy"; |
---|
630 | 635 | status = "disabled"; |
---|
631 | 636 | }; |
---|
632 | 637 | |
---|
.. | .. |
---|
646 | 651 | status = "disabled"; |
---|
647 | 652 | }; |
---|
648 | 653 | |
---|
| 654 | + usb@70090000 { |
---|
| 655 | + compatible = "nvidia,tegra132-xusb", "nvidia,tegra124-xusb"; |
---|
| 656 | + reg = <0x0 0x70090000 0x0 0x8000>, |
---|
| 657 | + <0x0 0x70098000 0x0 0x1000>, |
---|
| 658 | + <0x0 0x70099000 0x0 0x1000>; |
---|
| 659 | + reg-names = "hcd", "fpci", "ipfs"; |
---|
| 660 | + |
---|
| 661 | + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, |
---|
| 662 | + <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; |
---|
| 663 | + |
---|
| 664 | + clocks = <&tegra_car TEGRA124_CLK_XUSB_HOST>, |
---|
| 665 | + <&tegra_car TEGRA124_CLK_XUSB_HOST_SRC>, |
---|
| 666 | + <&tegra_car TEGRA124_CLK_XUSB_FALCON_SRC>, |
---|
| 667 | + <&tegra_car TEGRA124_CLK_XUSB_SS>, |
---|
| 668 | + <&tegra_car TEGRA124_CLK_XUSB_SS_SRC>, |
---|
| 669 | + <&tegra_car TEGRA124_CLK_XUSB_SS_DIV2>, |
---|
| 670 | + <&tegra_car TEGRA124_CLK_XUSB_HS_SRC>, |
---|
| 671 | + <&tegra_car TEGRA124_CLK_XUSB_FS_SRC>, |
---|
| 672 | + <&tegra_car TEGRA124_CLK_PLL_U_480M>, |
---|
| 673 | + <&tegra_car TEGRA124_CLK_CLK_M>, |
---|
| 674 | + <&tegra_car TEGRA124_CLK_PLL_E>; |
---|
| 675 | + clock-names = "xusb_host", "xusb_host_src", |
---|
| 676 | + "xusb_falcon_src", "xusb_ss", |
---|
| 677 | + "xusb_ss_src", "xusb_ss_div2", |
---|
| 678 | + "xusb_hs_src", "xusb_fs_src", |
---|
| 679 | + "pll_u_480m", "clk_m", "pll_e"; |
---|
| 680 | + resets = <&tegra_car 89>, <&tegra_car 156>, |
---|
| 681 | + <&tegra_car 143>; |
---|
| 682 | + reset-names = "xusb_host", "xusb_ss", "xusb_src"; |
---|
| 683 | + |
---|
| 684 | + nvidia,xusb-padctl = <&padctl>; |
---|
| 685 | + |
---|
| 686 | + status = "disabled"; |
---|
| 687 | + }; |
---|
| 688 | + |
---|
649 | 689 | padctl: padctl@7009f000 { |
---|
650 | 690 | compatible = "nvidia,tegra132-xusb-padctl", |
---|
651 | 691 | "nvidia,tegra124-xusb-padctl"; |
---|
.. | .. |
---|
653 | 693 | resets = <&tegra_car 142>; |
---|
654 | 694 | reset-names = "padctl"; |
---|
655 | 695 | |
---|
656 | | - #phy-cells = <1>; |
---|
| 696 | + pads { |
---|
| 697 | + usb2 { |
---|
| 698 | + status = "disabled"; |
---|
657 | 699 | |
---|
658 | | - phys { |
---|
659 | | - pcie-0 { |
---|
| 700 | + lanes { |
---|
| 701 | + usb2-0 { |
---|
| 702 | + status = "disabled"; |
---|
| 703 | + #phy-cells = <0>; |
---|
| 704 | + }; |
---|
| 705 | + |
---|
| 706 | + usb2-1 { |
---|
| 707 | + status = "disabled"; |
---|
| 708 | + #phy-cells = <0>; |
---|
| 709 | + }; |
---|
| 710 | + |
---|
| 711 | + usb2-2 { |
---|
| 712 | + status = "disabled"; |
---|
| 713 | + #phy-cells = <0>; |
---|
| 714 | + }; |
---|
| 715 | + }; |
---|
| 716 | + }; |
---|
| 717 | + |
---|
| 718 | + ulpi { |
---|
| 719 | + status = "disabled"; |
---|
| 720 | + |
---|
| 721 | + lanes { |
---|
| 722 | + ulpi-0 { |
---|
| 723 | + status = "disabled"; |
---|
| 724 | + #phy-cells = <0>; |
---|
| 725 | + }; |
---|
| 726 | + }; |
---|
| 727 | + }; |
---|
| 728 | + |
---|
| 729 | + hsic { |
---|
| 730 | + status = "disabled"; |
---|
| 731 | + |
---|
| 732 | + lanes { |
---|
| 733 | + hsic-0 { |
---|
| 734 | + status = "disabled"; |
---|
| 735 | + #phy-cells = <0>; |
---|
| 736 | + }; |
---|
| 737 | + |
---|
| 738 | + hsic-1 { |
---|
| 739 | + status = "disabled"; |
---|
| 740 | + #phy-cells = <0>; |
---|
| 741 | + }; |
---|
| 742 | + }; |
---|
| 743 | + }; |
---|
| 744 | + |
---|
| 745 | + pcie { |
---|
| 746 | + status = "disabled"; |
---|
| 747 | + |
---|
| 748 | + lanes { |
---|
| 749 | + pcie-0 { |
---|
| 750 | + status = "disabled"; |
---|
| 751 | + #phy-cells = <0>; |
---|
| 752 | + }; |
---|
| 753 | + |
---|
| 754 | + pcie-1 { |
---|
| 755 | + status = "disabled"; |
---|
| 756 | + #phy-cells = <0>; |
---|
| 757 | + }; |
---|
| 758 | + |
---|
| 759 | + pcie-2 { |
---|
| 760 | + status = "disabled"; |
---|
| 761 | + #phy-cells = <0>; |
---|
| 762 | + }; |
---|
| 763 | + |
---|
| 764 | + pcie-3 { |
---|
| 765 | + status = "disabled"; |
---|
| 766 | + #phy-cells = <0>; |
---|
| 767 | + }; |
---|
| 768 | + |
---|
| 769 | + pcie-4 { |
---|
| 770 | + status = "disabled"; |
---|
| 771 | + #phy-cells = <0>; |
---|
| 772 | + }; |
---|
| 773 | + }; |
---|
| 774 | + }; |
---|
| 775 | + |
---|
| 776 | + sata { |
---|
| 777 | + status = "disabled"; |
---|
| 778 | + |
---|
| 779 | + lanes { |
---|
| 780 | + sata-0 { |
---|
| 781 | + status = "disabled"; |
---|
| 782 | + #phy-cells = <0>; |
---|
| 783 | + }; |
---|
| 784 | + }; |
---|
| 785 | + }; |
---|
| 786 | + }; |
---|
| 787 | + |
---|
| 788 | + ports { |
---|
| 789 | + usb2-0 { |
---|
660 | 790 | status = "disabled"; |
---|
661 | 791 | }; |
---|
662 | 792 | |
---|
663 | | - sata-0 { |
---|
| 793 | + usb2-1 { |
---|
| 794 | + status = "disabled"; |
---|
| 795 | + }; |
---|
| 796 | + |
---|
| 797 | + usb2-2 { |
---|
| 798 | + status = "disabled"; |
---|
| 799 | + }; |
---|
| 800 | + |
---|
| 801 | + hsic-0 { |
---|
| 802 | + status = "disabled"; |
---|
| 803 | + }; |
---|
| 804 | + |
---|
| 805 | + hsic-1 { |
---|
664 | 806 | status = "disabled"; |
---|
665 | 807 | }; |
---|
666 | 808 | |
---|
.. | .. |
---|
671 | 813 | usb3-1 { |
---|
672 | 814 | status = "disabled"; |
---|
673 | 815 | }; |
---|
674 | | - |
---|
675 | | - utmi-0 { |
---|
676 | | - status = "disabled"; |
---|
677 | | - }; |
---|
678 | | - |
---|
679 | | - utmi-1 { |
---|
680 | | - status = "disabled"; |
---|
681 | | - }; |
---|
682 | | - |
---|
683 | | - utmi-2 { |
---|
684 | | - status = "disabled"; |
---|
685 | | - }; |
---|
686 | 816 | }; |
---|
687 | 817 | }; |
---|
688 | 818 | |
---|
689 | | - sdhci@700b0000 { |
---|
| 819 | + mmc@700b0000 { |
---|
690 | 820 | compatible = "nvidia,tegra124-sdhci"; |
---|
691 | 821 | reg = <0x0 0x700b0000 0x0 0x200>; |
---|
692 | 822 | interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
---|
.. | .. |
---|
697 | 827 | status = "disabled"; |
---|
698 | 828 | }; |
---|
699 | 829 | |
---|
700 | | - sdhci@700b0200 { |
---|
| 830 | + mmc@700b0200 { |
---|
701 | 831 | compatible = "nvidia,tegra124-sdhci"; |
---|
702 | 832 | reg = <0x0 0x700b0200 0x0 0x200>; |
---|
703 | 833 | interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>; |
---|
.. | .. |
---|
708 | 838 | status = "disabled"; |
---|
709 | 839 | }; |
---|
710 | 840 | |
---|
711 | | - sdhci@700b0400 { |
---|
| 841 | + mmc@700b0400 { |
---|
712 | 842 | compatible = "nvidia,tegra124-sdhci"; |
---|
713 | 843 | reg = <0x0 0x700b0400 0x0 0x200>; |
---|
714 | 844 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
---|
.. | .. |
---|
719 | 849 | status = "disabled"; |
---|
720 | 850 | }; |
---|
721 | 851 | |
---|
722 | | - sdhci@700b0600 { |
---|
| 852 | + mmc@700b0600 { |
---|
723 | 853 | compatible = "nvidia,tegra124-sdhci"; |
---|
724 | 854 | reg = <0x0 0x700b0600 0x0 0x200>; |
---|
725 | 855 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
---|
.. | .. |
---|
732 | 862 | |
---|
733 | 863 | soctherm: thermal-sensor@700e2000 { |
---|
734 | 864 | compatible = "nvidia,tegra132-soctherm"; |
---|
735 | | - reg = <0x0 0x700e2000 0x0 0x600 /* 0: SOC_THERM reg_base */ |
---|
736 | | - 0x0 0x70040000 0x0 0x200>; /* 2: CCROC reg_base */ |
---|
| 865 | + reg = <0x0 0x700e2000 0x0 0x600>, /* 0: SOC_THERM reg_base */ |
---|
| 866 | + <0x0 0x70040000 0x0 0x200>; /* 2: CCROC reg_base */ |
---|
737 | 867 | reg-names = "soctherm-reg", "ccroc-reg"; |
---|
738 | 868 | interrupts = <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>; |
---|
739 | 869 | clocks = <&tegra_car TEGRA124_CLK_TSENSOR>, |
---|
740 | | - <&tegra_car TEGRA124_CLK_SOC_THERM>; |
---|
| 870 | + <&tegra_car TEGRA124_CLK_SOC_THERM>; |
---|
741 | 871 | clock-names = "tsensor", "soctherm"; |
---|
742 | 872 | resets = <&tegra_car 78>; |
---|
743 | 873 | reset-names = "soctherm"; |
---|
.. | .. |
---|
988 | 1118 | clock-names = "reg", "pll_u", "utmi-pads"; |
---|
989 | 1119 | resets = <&tegra_car 22>, <&tegra_car 22>; |
---|
990 | 1120 | reset-names = "usb", "utmi-pads"; |
---|
| 1121 | + #phy-cells = <0>; |
---|
991 | 1122 | nvidia,hssync-start-delay = <0>; |
---|
992 | 1123 | nvidia,idle-wait-delay = <17>; |
---|
993 | 1124 | nvidia,elastic-limit = <16>; |
---|
.. | .. |
---|
1026 | 1157 | clock-names = "reg", "pll_u", "utmi-pads"; |
---|
1027 | 1158 | resets = <&tegra_car 58>, <&tegra_car 22>; |
---|
1028 | 1159 | reset-names = "usb", "utmi-pads"; |
---|
| 1160 | + #phy-cells = <0>; |
---|
1029 | 1161 | nvidia,hssync-start-delay = <0>; |
---|
1030 | 1162 | nvidia,idle-wait-delay = <17>; |
---|
1031 | 1163 | nvidia,elastic-limit = <16>; |
---|
.. | .. |
---|
1063 | 1195 | clock-names = "reg", "pll_u", "utmi-pads"; |
---|
1064 | 1196 | resets = <&tegra_car 59>, <&tegra_car 22>; |
---|
1065 | 1197 | reset-names = "usb", "utmi-pads"; |
---|
| 1198 | + #phy-cells = <0>; |
---|
1066 | 1199 | nvidia,hssync-start-delay = <0>; |
---|
1067 | 1200 | nvidia,idle-wait-delay = <17>; |
---|
1068 | 1201 | nvidia,elastic-limit = <16>; |
---|
.. | .. |
---|
1082 | 1215 | |
---|
1083 | 1216 | cpu@0 { |
---|
1084 | 1217 | device_type = "cpu"; |
---|
1085 | | - compatible = "nvidia,denver", "arm,armv8"; |
---|
| 1218 | + compatible = "nvidia,tegra132-denver"; |
---|
1086 | 1219 | reg = <0>; |
---|
1087 | 1220 | }; |
---|
1088 | 1221 | |
---|
1089 | 1222 | cpu@1 { |
---|
1090 | 1223 | device_type = "cpu"; |
---|
1091 | | - compatible = "nvidia,denver", "arm,armv8"; |
---|
| 1224 | + compatible = "nvidia,tegra132-denver"; |
---|
1092 | 1225 | reg = <1>; |
---|
1093 | 1226 | }; |
---|
1094 | 1227 | }; |
---|