]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add proper PCIe init for MT7628/MT7688 SoCs
authorsgalabov <sgalabov@FreeBSD.org>
Tue, 17 May 2016 06:45:25 +0000 (06:45 +0000)
committersgalabov <sgalabov@FreeBSD.org>
Tue, 17 May 2016 06:45:25 +0000 (06:45 +0000)
commit2ba8b0863768ea4eb8681ab0c754c7b9d4cbc06a
treef3213260b7d523d58f58e8f068554f9749eee106
parente282774be5d5e779a1c4ee6e6391a5d03758853a
Add proper PCIe init for MT7628/MT7688 SoCs

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.

Approved by: adrian (mentor)
Sponsored by: Smartcom - Bulgaria AD
Differential Revision: https://reviews.freebsd.org/D6395
sys/boot/fdt/dts/mips/fbsd-mt7628an.dtsi
sys/mips/mediatek/mtk_pcie.c