Raspberrypi5 PCIe bringup

Hello!
My name is Erick Karanja, I am relatively new to RTEMS . In the past two months I have been working on raspberrypi5 pcie integration. My work is reverse engineered from circle implementationhttps://github.com/rsta2/circle/blob/master/lib/bcmpciehostbridge.cpp and Linux pcie-brcmstb.c implementation.
Link training is successful and I am look forward to test the driver.
My issue is on the licensing and on any infringement of intellectual property. Can I get advice on this? I came across @ William Moore suggestion on clean room analysis and I would love to hear more on this.
Regards Erick Karanja

Unfortunately this effort would not be usable, because we cannot accept GPL code into rtems. The better direction for RPi5 support with PCIe is probably to get it working in libbsd and to work with FreeBSD on improving the upstream support.

Thank you for the reply, does this still apply for pi4? I see there is a similar project(GSOC) on PCIe bring-up and I would love to get insight on their approach.

The pi4 PCIe code is in FreeBSD and is acceptable to use with rtems-libbsd.

Ok, this will help. Regards