[PATCH 0/5] Add PCIe and its clock support for mt7622
Henry Yen
henry.yen at mediatek.com
Thu Aug 13 14:53:39 CEST 2020
On Mon, 2020-08-10 at 18:47 +0800, Henry Yen wrote:
>
> 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
>
Hi Frank,
We've verified the patchset on a fixed board.
The result shows that no matter how I swap the cards, it all works
fine :)
Here are the logs:
=========================================
MT7622> pci enum
PCI: Failed autoconfig bar 10
PCI: Failed autoconfig bar 10
MT7622> 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
MT7622> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
01.00.00 0x14c3 0x7603 Network controller 0x80
MT7622> pci 2
Scanning PCI devices on bus 2
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
02.00.00 0x14c3 0x7662 Network controller 0x80
---------------------------------------
MT7622> pci enum
PCI: Failed autoconfig bar 10
PCI: Failed autoconfig bar 10
MT7622> 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
MT7622> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
01.00.00 0x14c3 0x7662 Network controller 0x80
MT7622> pci 2
Scanning PCI devices on bus 2
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
02.00.00 0x14c3 0x7603 Network controller 0x80
=========================================
Thanks !
Sincerely,
Henry
>
More information about the U-Boot
mailing list