]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers: pci: add pcie support for fu740
authorGreen Wan <green.wan@sifive.com>
Thu, 27 May 2021 13:52:10 +0000 (06:52 -0700)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Mon, 31 May 2021 08:35:54 +0000 (16:35 +0800)
commit416395c772018c6bf52aad36aca163115001793f
tree1f208ce2f504c8777ff1a0a24e769068e8675049
parentdab18c7aa6b078c5763a53a79a3942d8c44e2066
drivers: pci: add pcie support for fu740

Add pcie driver for SiFive fu740, the driver depends on
fu740 gpio, clk and reset driver to do init. Force running at Gen1
for better capatible enumeration.

Several devices are tested:
a) M.2 NVMe SSD
b) USB-to-PCI adapter
c) Ethernet adapter (E1000 compatible)

Signed-off-by: Green Wan <green.wan@sifive.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/pci/Kconfig
drivers/pci/Makefile
drivers/pci/pcie_dw_sifive.c [new file with mode: 0644]