On Sun, May 8, 2022 at 5:41 PM Pali Rohár <pali@xxxxxxxxxx> wrote: > On Sunday 08 May 2022 17:22:37 Pali Rohár wrote: > > On Sunday 08 May 2022 17:02:17 Arnd Bergmann wrote: > > > > > > > > Can the existing pci code still be used to init the PCI bus and describe > > > > the rest in the DT or is it a futile attempt? > > > > Hello! Orion uses arch/arm/mach-orion5x/pci.c driver for both PCI and > > PCIe buses. This is not device tree driver. > > Correction, Orion PCIe driver is arch/arm/plat-orion/pcie.c and it calls > common functions from mach-orion5x/pci.c driver. FWIW, I have an older patch series that turns the plat-orion/pcie.c and mach-orion5x/pci.c into standalone host bridge drivers that no longer use the arm/kernel/bios32.c helpers. If anyone wants to work on DT support for the legacy-pci side (not for this machine but maybe another orion5x one), I can try to rebase those patches to make it easier to add the missing DT support. Arnd