Problems enabling the PCIe/USB3.0 port on MT7623N

Ryder Lee ryder.lee at mediatek.com
Thu Nov 2 19:13:11 PDT 2017


Hi,

On Thu, 2017-11-02 at 23:25 +0100, Kristian Evensen wrote:
> Hello,
> 
> I am working on adding mainline support for an MT7623N-based board.
> The board uses eMMC for storage, so I have based my work on a DTS-file
> for the eMMC reference board (from the LEDE repository).
> 
> The kernel currently boots just fine to my rootfs, and the switch, usb
> port and the two "pure" pcie slots are working. However, for the last
> couple of days I have been banging my head against the wall trying to
> get the combined pcie/usb3 slot to work. I have tried to add different
> nodes to the DTS, experimented with GPIOs and analyzed logs of the
> proprietary firmware (where to slot works), to no good.
> 
> Does anyone have any experience with activating this slot or hints or
> tips on where to look?

Glad to see someone else interested in the MT7623N. In your case you
need to set extra bit to switch the PCIe/USB function, which is not
supported in mainline yet...

Please see the below link and search 'HIF_SYSCFG1'.

https://patchwork.kernel.org/patch/9694575/


Thanks.

> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek





More information about the Linux-mediatek mailing list