Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM5728: PCIe scan support in u-boot

Part Number: AM5728

Hello,

Hello,

I have a custom board based on TI's AM5728 EVM. I am using the latest Linux PSDK 6.03 on it. 

I am using SparkLAN WNFQ-258ACN(BT), which is an 802.11ac/a/b/g/n Dual-Band Wi-Fi+Bluetooth M.2 card based on Qualcomm Atheros QCA6174A chipset. The interface for WiFi is PCIe and for Bluetooth is USB.

I have connected the WiFi device to PCIe_SS1 (PCIe0) in single-lane host mode. In kernel, the PCIe is configured as RC (root complex) in the board-level device tree file. As you can see in another post I have posted, I am not able to detect this device on PCIe bus in kernel. The WiFi device is not getting enumerated in lspci output.

Link to another post -  https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/1021004/am5728-qualcomm-based-wifi-module-not-detected-on-pcie-interface

I would like to add PCIe support in u-boot and see if the WiFi module is detected in u-boot. I have done device tree entries for PCIe node in u-boot device tree files. I have also enabled PCIe driver in u-boot config. Also enabled PCIe access commands in u-boot.

I am getting following in u-boot -

=> pci help
pci - list and access PCI Configuration Space

Usage:
pci [bus] [long]
    - short or long list of PCI devices on bus 'bus'
pci enum
    - Enumerate PCI buses
pci header b.d.f
    - show header of PCI device 'bus.device.function'
pci bar b.d.f
    - show BARs base and size for device b.d.f'
pci regions
    - show PCI regions
pci display[.b, .w, .l] b.d.f [address] [# of objects]
    - display PCI configuration space (CFG)
pci next[.b, .w, .l] b.d.f address
    - modify, read and keep CFG address
pci modify[.b, .w, .l] b.d.f address
    -  modify, auto increment CFG address
pci write[.b, .w, .l] b.d.f address value
    - write to CFG address

=> pci
No such bus

=> pci enum


=> pci regions
No such bus

 

How to add PCIe support in u-boot?

Kindly acknowledge and revert.

Regards,

Devashish