ARM: dts: ifc6410: enable PCIe DT node for this board
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Tue, 5 Jan 2016 21:38:25 +0000 (15:38 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 11 Jan 2016 06:25:02 +0000 (00:25 -0600)
Enable PCIe DT node and fill PCIe DT node with regulator, pinctrl and reset
GPIO, to use the PCIe on the ifc6410 board.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts

index 11ac608b6d50e716e6fc2aabf47839ce1b871d96..955c697b4dd4fba88d7c2dd39e1186c9b3a1f3ba 100644 (file)
                                        bias-disable;
                                };
                        };
+
+                       pcie_pins: pcie_pinmux {
+                               mux {
+                                       pins = "gpio27";
+                                       function = "gpio";
+                               };
+                               conf {
+                                       pins = "gpio27";
+                                       drive-strength = <12>;
+                                       bias-disable;
+                               };
+                       };
                };
 
                rpm@108000 {
                                pm8921_lvs1: lvs1 {
                                        bias-pull-down;
                                };
+
+                               lvs6 {
+                                       bias-pull-down;
+                               };
                        };
                };
 
                        status = "okay";
                };
 
+               pci@1b500000 {
+                       status = "ok";
+                       vdda-supply = <&pm8921_s3>;
+                       vdda_phy-supply = <&pm8921_lvs6>;
+                       vdda_refclk-supply = <&ext_3p3v>;
+                       pinctrl-0 = <&pcie_pins>;
+                       pinctrl-names = "default";
+                       perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
+               };
+
                qcom,ssbi@500000 {
                        pmic@0 {
                                gpio@150 {