arm64: dts: imx8mp: Add dbi2 and atu reg for i.MX8MP PCIe EP
authorRichard Zhu <hongxing.zhu@nxp.com>
Tue, 13 Aug 2024 07:42:22 +0000 (15:42 +0800)
committerShawn Guo <shawnguo@kernel.org>
Tue, 8 Oct 2024 08:27:01 +0000 (16:27 +0800)
commit6bb194d3ec835ce7525aace2ef7701cbc83e574f
tree4a8265fb048a4264ad124b9346026e9f9e6f108d
parent64c7f0e513de1293179dd168a439d43e39cdeed9
arm64: dts: imx8mp: Add dbi2 and atu reg for i.MX8MP PCIe EP

Add dbi2 and iatu reg for i.MX8MP PCIe EP.

For i.MX8M PCIe EP, the dbi2 and atu addresses are pre-defined in the
driver. This method is not good.

In commit b7d67c6130ee ("PCI: imx6: Add iMX95 Endpoint (EP) support"),
Frank suggests to fetch the dbi2 and atu from DT directly. This commit is
preparation to do that for i.MX8MP PCIe EP.

These changes wouldn't break driver function. When "dbi2" and "atu"
properties are present, i.MX PCIe driver would fetch the according base
addresses from DT directly. If only two reg properties are provided, i.MX
PCIe driver would fall back to the old method.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi