ARM: dts: db600c: add pcie support
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 12 Apr 2016 09:33:57 +0000 (10:33 +0100)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 20:03:13 +0000 (15:03 -0500)
This patch adds pcie and regulators required to get on board ATL1C
ethernet working.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-arrow-db600c-pins.dtsi
arch/arm/boot/dts/qcom-apq8064-arrow-db600c.dts

index 7339919783d2505999bd02e3a7145043feb54235..0610f0027b38b587896597a4741f288687cc7e6a 100644 (file)
@@ -6,4 +6,16 @@
                        bias-disable;
                };
        };
+
+       pcie_pins: pcie-pinmux {
+               mux {
+                       pins = "gpio27";
+                       function = "gpio";
+               };
+               conf {
+                       pins = "gpio27";
+                       drive-strength = <12>;
+                       bias-disable;
+               };
+       };
 };
index 2c563df3c832bbd15d8d353ef674b39fe7d8814e..4f2218c4622e06c7aa5123c0ddce350c802c0772 100644 (file)
                        regulator-type = "voltage";
                        regulator-boot-on;
                };
+
+               /* on board fixed 3.3v supply */
+               vcc3v3: vcc3v3 {
+                       compatible = "regulator-fixed";
+                       regulator-name = "VCC3V3";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       regulator-always-on;
+               };
+
        };
 
        soc {
                                        regulator-max-microvolt = <1900000>;
                                        bias-pull-down;
                                };
+
+                               lvs6 {
+                                       bias-pull-down;
+                               };
                        };
                };
 
                        };
                };
 
+               pci@1b500000 {
+                       status = "okay";
+                       vdda-supply = <&pm8921_s3>;
+                       vdda_phy-supply = <&pm8921_lvs6>;
+                       vdda_refclk-supply = <&vcc3v3>;
+                       pinctrl-0 = <&pcie_pins>;
+                       pinctrl-names = "default";
+                       perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>;
+               };
+
                /* OTG */
                phy@12500000 {
                        status          = "okay";