OSDN Git Service

ARM: tegra: enable PCIe in Jetson TK1 DT
authorThierry Reding <treding@nvidia.com>
Wed, 17 Sep 2014 16:02:45 +0000 (10:02 -0600)
committerStephen Warren <swarren@nvidia.com>
Wed, 17 Sep 2014 16:06:22 +0000 (10:06 -0600)
Enable both PCIe ports, one of which is connected to an onboard ethernet
chip, whereas the other goes to a miniPCIe slot.

Signed-off-by: Thierry Reding <treding@nvidia.com>
[swarren, fixed PCIe supply property names in DT]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra124-jetson-tk1.dts

index 64828c2..029c9a0 100644 (file)
                reg = <0x0 0x80000000 0x0 0x80000000>;
        };
 
+       pcie-controller@0,01003000 {
+               status = "okay";
+
+               avddio-pex-supply = <&vdd_1v05_run>;
+               dvddio-pex-supply = <&vdd_1v05_run>;
+               avdd-pex-pll-supply = <&vdd_1v05_run>;
+               hvdd-pex-supply = <&vdd_3v3_lp0>;
+               hvdd-pex-pll-e-supply = <&vdd_3v3_lp0>;
+               vddio-pex-ctl-supply = <&vdd_3v3_lp0>;
+               avdd-pll-erefe-supply = <&avdd_1v05_run>;
+
+               pci@1,0 {
+                       status = "okay";
+               };
+
+               pci@2,0 {
+                       status = "okay";
+               };
+       };
+
        host1x@0,50000000 {
                hdmi@0,54280000 {
                        status = "okay";
                                        regulator-always-on;
                                };
 
-                               ldo0 {
+                               avdd_1v05_run: ldo0 {
                                        regulator-name = "+1.05V_RUN_AVDD";
                                        regulator-min-microvolt = <1050000>;
                                        regulator-max-microvolt = <1050000>;