ARM: tegra: Enable PCIe controller on Cardhu
authorJay Agarwal <jagarwal@nvidia.com>
Fri, 9 Aug 2013 14:49:27 +0000 (16:49 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 12 Aug 2013 20:19:33 +0000 (14:19 -0600)
Root port 2 is routed to the bottom connector on Cardhu and is used by
the development dock to provide gigabit ethernet and USB functionality.

Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/boot/dts/tegra30-cardhu.dtsi

index d78c90cfaf1aeaeb0887ccf3e5d09850cdcc751c..1ecd470e0c77ddacc2d1d2e49e8372b9cb730faf 100644 (file)
                reg = <0x80000000 0x40000000>;
        };
 
+       pcie-controller {
+               status = "okay";
+               pex-clk-supply = <&pex_hvdd_3v3_reg>;
+               vdd-supply = <&ldo1_reg>;
+               avdd-supply = <&ldo2_reg>;
+
+               pci@1,0 {
+                       nvidia,num-lanes = <4>;
+               };
+
+               pci@2,0 {
+                       nvidia,num-lanes = <1>;
+               };
+
+               pci@3,0 {
+                       status = "okay";
+                       nvidia,num-lanes = <1>;
+               };
+       };
+
        pinmux {
                pinctrl-names = "default";
                pinctrl-0 = <&state_default>;