Re: [PATCH 1/3] arm64: dts: qcom: msm8996: add support to pcie

Bjorn Andersson
2017-10-11T06:17:32Z

On Mon 14 Aug 04:34 PDT 2017, srinivas.kandagatla@linaro.org wrote:

> From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>
> This patch adds support to 3 pcie root complexes found on MSM8996.
>
[..]
> diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
[..]
> + agnoc@0 {
> + power-domains = <&gcc AGGRE0_NOC_GDSC>;
> + compatible = "simple-pm-bus";
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;

I also need to enable GCC_AGGRE0_SNOC_AXI_CLK, GCC_AGGRE0_CNOC_AHB_CLK
and GCC_SMMU_AGGRE0_AXI_CLK for pcie to actually work. It find the
atl1c, but the board restarts as the interface is brought up.

Regards,
Bjorn