OSDN Git Service

arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
authorRobert Marko <robimarko@gmail.com>
Fri, 13 Jan 2023 16:44:48 +0000 (17:44 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 03:15:06 +0000 (21:15 -0600)
commit3e83a9c41ab0244a45a4a2800b9adb8de0d15f82
treeed93c80ffd7e395e4af0a84ecb3b22679f034544
parentb60590314828e3da670bed94129f4ebc02b87548
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node

IPQ8074 comes in 2 silicon versions:
* v1 with 2x Gen2 PCIe ports and QMP PHY-s
* v2 with 1x Gen3 and 1x Gen2 PCIe ports and QMP PHY-s

v2 is the final and production version that is actually supported by the
kernel, however it looks like PCIe related nodes were added for the v1 SoC.

Finish the PCIe fixup by using the correct compatible, adding missing ATU
register space, declaring max-link-speed, use correct ranges, add missing
clocks and resets.

Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-8-robimarko@gmail.com
arch/arm64/boot/dts/qcom/ipq8074.dtsi