Aw: [PATCH 0/5] Add PCIe and its clock support for mt7622

Frank Wunderlich frank-w at public-files.de
Mon Aug 10 12:27:19 CEST 2020


Chuanjia Liu schrieb am 10.08.20 um 10:17:
> This series patchs add PCIe/clock support for MT7622
>
> change node:
> v1:add PCIe support for MT7622
> Chuanjia Liu (5):
>    clk: mediatek: add pciesys support for MT7622 SoC
>    arm: dts: mediatek: add pciesys support for MT7622 SoC
>    PCI: mediatek: Add PCIe support for MT7622
>    arm: dts: mediatek: add PCIe node for MT7622
>    configs: mt7622: add PCIe controller related configs
Hi,

Tested on bananapi-r64 with an mt7612 in slot cn8 and compex wle900vx in cn25.

BPI-R64> pci enum
PCI: Failed autoconfig bar 10
PCI: Failed autoconfig bar 10
BPI-R64> pci 0
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x14c3     0x3258     Bridge device           0x04
00.01.00   0x14c3     0x3258     Bridge device           0x04
BPI-R64> pci 1
Scanning PCI devices on bus 1
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
01.00.00   0x168c     0x003c     Network controller      0x80
BPI-R64>

if i swap the cards

BPI-R64> pci enum
Port1 link down
PCI: Failed autoconfig bar 10
BPI-R64> pci 0
Scanning PCI devices on bus 0
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
00.00.00   0x14c3     0x3258     Bridge device           0x04
BPI-R64> pci 1
Scanning PCI devices on bus 1
BusDevFun  VendorId   DeviceId   Device Class       Sub-Class
_____________________________________________________________
01.00.00   0x14c3     0x7612     Network controller      0x80
BPI-R64>

note that there are pcie-HW-issues on my boards revision(power limitation and missing capacitors on tx-lines) which may cause the different Pcie-Ids for mt7612 and the class of the compex-card. sorry had not seen this before on tests with Steven

maybe anyone can test the Patches with a fixed board.

regards Frank


More information about the U-Boot mailing list