arm64: tegra: Enable PCIe on Jetson TX1
authorThierry Reding <treding@nvidia.com>
Fri, 25 Nov 2016 10:57:18 +0000 (11:57 +0100)
committerBjorn Helgaas <helgaas@kernel.org>
Wed, 7 Dec 2016 18:07:23 +0000 (12:07 -0600)
Enable the x4 PCIe and M.2 Key E slots on Jetson TX1. The Key E slot is
currently untested due to lack of hardware.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Bjorn Helgaas <helgaas@kernel.org>
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts

index 983775e..4c1ea7a 100644 (file)
@@ -7,6 +7,32 @@
        model = "NVIDIA Jetson TX1 Developer Kit";
        compatible = "nvidia,p2371-2180", "nvidia,tegra210";
 
+       pcie-controller@01003000 {
+               status = "okay";
+
+               avdd-pll-uerefe-supply = <&avdd_1v05_pll>;
+               hvddio-pex-supply = <&vdd_1v8>;
+               dvddio-pex-supply = <&vdd_pex_1v05>;
+               dvdd-pex-pll-supply = <&vdd_pex_1v05>;
+               hvdd-pex-pll-e-supply = <&vdd_1v8>;
+               vddio-pex-ctl-supply = <&vdd_1v8>;
+
+               pci@1,0 {
+                       phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>,
+                              <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>,
+                              <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>,
+                              <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>;
+                       phy-names = "pcie-0", "pcie-1", "pcie-2", "pcie-3";
+                       status = "okay";
+               };
+
+               pci@2,0 {
+                       phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
+                       phy-names = "pcie-0";
+                       status = "okay";
+               };
+       };
+
        host1x@50000000 {
                dsi@54300000 {
                        status = "okay";