HomeFreeBSD

Fix pcie phy enabling codes for RK3568 SoC.

Description

Fix pcie phy enabling codes for RK3568 SoC.

Handle data-lanes property for pcie phy and set it accordingly.
This makes devices attached to pcie3 work properly.
For some RK3568 based boards, RTL8125B based device is
connected it. So with this, realtek-re-kmod driver attaches
and works.

Partially obtained from OpenBSD.
Tested on NanoPI-R5S, FireFly Station P2 boards.

Details

Provenance
ganboldAuthored on Apr 4 2023, 2:50 AM
Parents
rGbef81bc0aef9: setkey(8): ansify parser
Branches
Unknown
Tags
Unknown