ARM: dts: apq8064: add pci support in CM QS600
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 23 Feb 2016 14:14:14 +0000 (14:14 +0000)
committerAndy Gross <andy.gross@linaro.org>
Fri, 26 Feb 2016 19:15:48 +0000 (13:15 -0600)
This patch adds PCIE support to APQ8064, tested with Ethernet on
Compulab QS600 board.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts

index 21095dad77419afdc59e1ccebbae95fd0ccd51dd..35f1d46edded1a7e7aea86f09fb03674a0e464e7 100644 (file)
                                        bias-disable;
                                };
                        };
+
+                       pcie_pins: pcie_pinmux {
+                               mux {
+                                       pins = "gpio27";
+                                       function = "gpio";
+                               };
+                               conf {
+                                       pins = "gpio27";
+                                       drive-strength = <12>;
+                                       bias-disable;
+                               };
+                       };
                };
 
                rpm@108000 {
                                        regulator-max-microvolt = <1900000>;
                                        bias-pull-down;
                                };
+
+                               pm8921_lvs6: lvs6 {
+                                       bias-pull-down;
+                               };
+
                        };
                };
 
                        };
                };
 
+               pci@1b500000 {
+                       status = "ok";
+                       vdda-supply = <&pm8921_s3>;
+                       vdda_phy-supply = <&pm8921_lvs6>;
+                       vdda_refclk-supply = <&v3p3_fixed>;
+                       pinctrl-0 = <&pcie_pins>;
+                       pinctrl-names = "default";
+                       perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
+               };
+
                amba {
                        /* eMMC */
                        sdcc1: sdcc@12400000 {