PCI: imx6: Fetch dbi2 and iATU base addesses from DT
authorRichard Zhu <hongxing.zhu@nxp.com>
Tue, 26 Nov 2024 07:56:55 +0000 (15:56 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Jan 2025 20:22:07 +0000 (14:22 -0600)
commit7ab93e6a08d1c10bb2aad82dcb678a6c6ea65c20
tree18a491b38203a71d4c8bdf60e4b017b46cf4eac5
parentde22e20589b79f35f92543119c33051f8179dba0
PCI: imx6: Fetch dbi2 and iATU base addesses from DT

Since dw_pcie_get_resources() gets the dbi2 and iATU base addresses from
DT, remove the code from the imx6 driver that does the same.

Upstream DTSes have not enabled Endpoint function. So nothing is broken for
old upstream DTBs.

Link: https://lore.kernel.org/r/20241126075702.4099164-4-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Krzysztof WilczyƄski <kwilczynski@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
drivers/pci/controller/dwc/pci-imx6.c