mirror of
https://github.com/opnsense/src.git
synced 2026-04-05 01:15:30 -04:00
This adds some very simple DWC3 glue for the IPQ4018/IPQ4019. Other chipsets introduce reset line iteration, some further clock line iteration and some customisations; I'll look at adding those later. This is enough to finally bring up USB 3.0 on my IPQ4018 ASUS RT-58U router.
74 lines
1.2 KiB
Text
74 lines
1.2 KiB
Text
#
|
|
# QCA SoC support (32 bit)
|
|
#
|
|
|
|
machine arm armv7
|
|
cpu CPU_CORTEXA
|
|
makeoptions CONF_CFLAGS="-march=armv7a"
|
|
|
|
files "../qualcomm/std.ipq4018"
|
|
|
|
# Serial (COM) ports
|
|
device uart
|
|
device uart_msm # Qualcomm MSM UART driver
|
|
|
|
# EXT_RESOURCES pseudo devices
|
|
options EXT_RESOURCES
|
|
device clk
|
|
device phy
|
|
device hwreset
|
|
device nvmem
|
|
device regulator
|
|
device syscon
|
|
|
|
# Random
|
|
device qcom_rnd
|
|
|
|
# SPI
|
|
device spibus
|
|
device qcom_qup_spi
|
|
device mx25l
|
|
|
|
# interrupt controller
|
|
device gic
|
|
|
|
# cpu frequency
|
|
device cpufreq
|
|
|
|
# MMC/SD/SDIO Card slot support
|
|
device mmc
|
|
device sdhci
|
|
|
|
# Timers
|
|
device generic_timer
|
|
device mpcore_timer
|
|
|
|
# PSCI - SMC calls, needed for qualcomm SCM
|
|
device psci
|
|
|
|
# Clock/Reset provider
|
|
device qcom_gcc_ipq4018
|
|
|
|
# TLMM (gpio/pinmux)
|
|
device gpio
|
|
device qcom_tlmm_ipq4018
|
|
device fdt_pinctrl
|
|
|
|
# TCSR (core top control and status registers)
|
|
device qcom_tcsr
|
|
|
|
options FDT
|
|
|
|
# Disable CP14 work in DDB as TZ won't let us by default
|
|
options ARM_FORCE_DBG_MONITOR_DISABLE
|
|
|
|
# USB PHY support
|
|
device qcom_ipq4018_hs_usbphy
|
|
device qcom_ipq4018_ss_usbphy
|
|
|
|
# USB support
|
|
device usb
|
|
device xhci
|
|
device dwc3
|
|
device qcom_dwc3
|
|
options USB_HOST_ALIGN=64
|