]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: tegra: tamonten: Add PCIe support
authorThierry Reding <thierry.reding@avionic-design.de>
Fri, 9 Aug 2013 14:49:20 +0000 (16:49 +0200)
committerStephen Warren <swarren@nvidia.com>
Mon, 12 Aug 2013 20:19:12 +0000 (14:19 -0600)
Add properties common to all Tamonten-derived boards to the Tamonten
DTSI and add the fixed 1.05 V regulator.

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>
arch/arm/boot/dts/tegra20-tamonten.dtsi

index f00febe69cda88b1079f0dfa861eae8a1707ba39..7726dab3d08d520c4656b11a558b905b842f909b 100644 (file)
                                        regulator-always-on;
                                };
 
-                               ldo0 {
+                               pci_clk_reg: ldo0 {
                                        regulator-name = "vdd_ldo0,vddio_pex_clk";
                                        regulator-min-microvolt = <3300000>;
                                        regulator-max-microvolt = <3300000>;
                nvidia,sys-clock-req-active-high;
        };
 
+       pcie-controller {
+               pex-clk-supply = <&pci_clk_reg>;
+               vdd-supply = <&pci_vdd_reg>;
+       };
+
        usb@c5008000 {
                status = "okay";
        };
                        regulator-max-microvolt = <5000000>;
                        regulator-always-on;
                };
+
+               pci_vdd_reg: regulator@1 {
+                       compatible = "regulator-fixed";
+                       reg = <1>;
+                       regulator-name = "vdd_1v05";
+                       regulator-min-microvolt = <1050000>;
+                       regulator-max-microvolt = <1050000>;
+                       gpio = <&pmic 2 0>;
+                       enable-active-high;
+               };
        };
 };