From dfd1d0fcabee38a007a60cd1d8b7d5c766f0405f Mon Sep 17 00:00:00 2001 From: Michal Meloun Date: Sat, 14 Dec 2019 14:56:34 +0000 Subject: Add driver for Rockchip PCIe root complex found in RK3399 SOC. Unfortunately, there are some limitations: - memory aperture of his controller is only 16MiB, so it is nearly unusable for graphic cards - every attempt to generate type 1 config cycle always causes trap. These config cycles are disabled now and we don't support cards with PCIe switch. - in some cases, attempt to do config cycle to (probably) not-yet ready card also causes trap. This cannot be detected at runtime, but it seems like very rare issue. MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D22724 --- sys/conf/files.arm64 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/conf/files.arm64') diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index 618cb868cd71..dd1066686e8f 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -311,6 +311,8 @@ arm64/rockchip/rk_typec_phy.c optional fdt rk_typec_phy soc_rockchip_rk3399 arm64/rockchip/if_dwc_rk.c optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 arm64/rockchip/rk_tsadc_if.m optional fdt soc_rockchip_rk3399 arm64/rockchip/rk_tsadc.c optional fdt soc_rockchip_rk3399 +arm64/rockchip/rk_pcie.c optional fdt pci soc_rockchip_rk3399 +arm64/rockchip/rk_pcie_phy.c optional fdt pci soc_rockchip_rk3399 dev/dwc/if_dwc.c optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 dev/dwc/if_dwc_if.m optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 -- cgit v1.2.3