aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/tegra20-trimslice.dts
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2013-08-09 10:49:23 -0400
committerStephen Warren <swarren@nvidia.com>2013-08-12 16:19:24 -0400
commit1798efda3cbc7f658a685e7ace2f5ad4bf1ae238 (patch)
tree971d3a90a2b5db3946af093102d20034eec621d9 /arch/arm/boot/dts/tegra20-trimslice.dts
parent722afc1747faf45987cbe12629982afc8db2d09f (diff)
ARM: tegra: trimslice: Initialize PCIe from DT
With the device tree support in place, probe the PCIe controller from the device tree and remove the corresponding workaround in the board file. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/boot/dts/tegra20-trimslice.dts')
-rw-r--r--arch/arm/boot/dts/tegra20-trimslice.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index d8bc976f0120..22e227f87e4c 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -310,6 +310,16 @@
310 nvidia,sys-clock-req-active-high; 310 nvidia,sys-clock-req-active-high;
311 }; 311 };
312 312
313 pcie-controller {
314 status = "okay";
315 pex-clk-supply = <&pci_clk_reg>;
316 vdd-supply = <&pci_vdd_reg>;
317
318 pci@1,0 {
319 status = "okay";
320 };
321 };
322
313 usb@c5000000 { 323 usb@c5000000 {
314 status = "okay"; 324 status = "okay";
315 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; 325 nvidia,vbus-gpio = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
@@ -413,6 +423,24 @@
413 enable-active-high; 423 enable-active-high;
414 gpio = <&gpio TEGRA_GPIO(V, 2) 0>; 424 gpio = <&gpio TEGRA_GPIO(V, 2) 0>;
415 }; 425 };
426
427 pci_clk_reg: regulator@3 {
428 compatible = "regulator-fixed";
429 reg = <3>;
430 regulator-name = "pci_clk";
431 regulator-min-microvolt = <3300000>;
432 regulator-max-microvolt = <3300000>;
433 regulator-always-on;
434 };
435
436 pci_vdd_reg: regulator@4 {
437 compatible = "regulator-fixed";
438 reg = <4>;
439 regulator-name = "pci_vdd";
440 regulator-min-microvolt = <1050000>;
441 regulator-max-microvolt = <1050000>;
442 regulator-always-on;
443 };
416 }; 444 };
417 445
418 sound { 446 sound {