arm64: dts: qcom: qcs404-evb: Enable PCIe
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 8 May 2019 22:43:09 +0000 (15:43 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 18 Jun 2019 06:23:45 +0000 (23:23 -0700)
Enable the PCIe PHY and controller found on the QCS404 EVB.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi

index 0347ed1..b6092a7 100644 (file)
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 // Copyright (c) 2018, Linaro Limited
 
+#include <dt-bindings/gpio/gpio.h>
 #include "qcs404.dtsi"
 #include "pms405.dtsi"
 
        };
 };
 
+&pcie {
+       status = "ok";
+
+       perst-gpio = <&tlmm 43 GPIO_ACTIVE_LOW>;
+
+       pinctrl-names = "default";
+       pinctrl-0 = <&perst_state>;
+};
+
+&pcie_phy {
+       status = "ok";
+
+       vdda-vp-supply = <&vreg_l3_1p05>;
+       vdda-vph-supply = <&vreg_l5_1p8>;
+};
+
 &remoteproc_adsp {
        status = "ok";
 };
 };
 
 &tlmm {
+       perst_state: perst {
+               pins = "gpio43";
+               function = "gpio";
+
+               drive-strength = <2>;
+               bias-disable;
+               output-low;
+       };
+
        sdc1_on: sdc1-on {
                clk {
                        pins = "sdc1_clk";