]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node
authorRobert Marko <robimarko@gmail.com>
Fri, 13 Jan 2023 16:44:48 +0000 (17:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:37 +0000 (09:32 +0100)
commitcf4770b2c2a0e2fe9e4cccb5a3a9a51eb0f843cb
treead4ea0fd853d71300304cb5c75099ce74b3bfbe4
parent328dbdfd2c68f5f74856e4f4392b2dd6c4ab7887
arm64: dts: qcom: ipq8074: fix Gen3 PCIe node

[ Upstream commit 354c7c25f1951c4a65c1ee15df77bef374636acd ]

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: 20ad12da89ea ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi