Page MenuHomeFreeBSD

Add proper PCIe init for MT7628/MT7688 SoCs
ClosedPublic

Authored by sgalabov on May 16 2016, 12:28 PM.

Details

Summary

PCIe PHY needs different initialization on MT7628/MT7688 SoCs than it does on MT7620.
However, LEDE (and OpenWRT) dts files have the PCIe node for MT7628/MT7688 as compatible with mt7620-pci.
We already can handle this properly in our driver, so we just need to add compat strings to fbsd-mt7628an.dtsi and the PCIe driver.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

sgalabov updated this revision to Diff 16390.May 16 2016, 12:28 PM
sgalabov retitled this revision from to Add proper PCIe init for MT7628/MT7688 SoCs.
sgalabov updated this object.
sgalabov edited the test plan for this revision. (Show Details)
sgalabov added a reviewer: adrian.
sgalabov set the repository for this revision to rS FreeBSD src repository.
adrian accepted this revision.May 16 2016, 7:09 PM
adrian edited edge metadata.
This revision is now accepted and ready to land.May 16 2016, 7:09 PM
This revision was automatically updated to reflect the committed changes.