Questions about bringing up MT7623 board
Ryder Lee
ryder.lee at mediatek.com
Sun Apr 29 18:42:12 PDT 2018
On Sun, 2018-04-29 at 22:18 +0200, Kristian Evensen wrote:
> Hello,
>
> On Mon, Feb 12, 2018 at 3:49 PM, Kristian Evensen
> <kristian.evensen at gmail.com> wrote:
>
> * My board is equipped with a 2.4GHz and a 5GHz wifi card, both
> connected via PCIe. The 2.4 card is connected to a "pure" PCIe-slot
> (pcie at 1,0), while the 5GHz uses the slot that is shared between PCIe
> and USB3.0 (I think this is pcie at 2,0). Based on my naive
> understanding, in order to enable this slot (as PCIe), I should set
> u3phy2 to okay (since phy is u3port1 in dtsi), but not enable usb2.
> However, when I set u3phy2 to okay, the 2.4GHz card disappears as well
> and I can no long see the PCI bridge (output from lspci is empty). If
> I don't add the u3phy2-node, then the 2.4Ghz card appears, but no
> 5GHz. Does anyone know how to make this slot work in PCIe-mode? I
> tried with pcie at 0,0 instead of pcie at 2,0 as well, but it did not have
> an effect.
>
We didn't support port2 (pcie at 2,0) for mainline version, but if you want
to use it you could take a look at -
https://patchwork.kernel.org/patch/9747713/
grep: HIF_SYSCFG1 /HIF_SYSCFG1_PHY2_MASK
That is, you need to clear these bits to 0 to enable PHY for pcie at 2,0.
Thanks.
More information about the Linux-mediatek
mailing list