1# $FreeBSD$ 2 3## 4## Kernel 5## 6 7kern/msi_if.m optional intrng 8kern/pic_if.m optional intrng 9kern/subr_devmap.c standard 10kern/subr_intr.c optional intrng 11kern/subr_physmem.c standard 12libkern/strlen.c standard 13libkern/arm64/crc32c_armv8.S standard 14 15arm/arm/generic_timer.c standard 16arm/arm/gic.c standard 17arm/arm/gic_acpi.c optional acpi 18arm/arm/gic_fdt.c optional fdt 19arm/arm/gic_if.m standard 20arm/arm/pmu.c standard 21arm/arm/pmu_acpi.c optional acpi 22arm/arm/pmu_fdt.c optional fdt 23arm64/acpica/acpi_iort.c optional acpi 24arm64/acpica/acpi_machdep.c optional acpi 25arm64/acpica/OsdEnvironment.c optional acpi 26arm64/acpica/acpi_wakeup.c optional acpi 27arm64/acpica/pci_cfgreg.c optional acpi pci 28arm64/arm64/autoconf.c standard 29arm64/arm64/bus_machdep.c standard 30arm64/arm64/bus_space_asm.S standard 31arm64/arm64/busdma_bounce.c standard 32arm64/arm64/busdma_machdep.c standard 33arm64/arm64/clock.c standard 34arm64/arm64/copyinout.S standard 35arm64/arm64/cpu_errata.c standard 36arm64/arm64/cpufunc_asm.S standard 37arm64/arm64/db_disasm.c optional ddb 38arm64/arm64/db_interface.c optional ddb 39arm64/arm64/db_trace.c optional ddb 40arm64/arm64/debug_monitor.c standard 41arm64/arm64/disassem.c optional ddb 42arm64/arm64/dump_machdep.c standard 43arm64/arm64/efirt_machdep.c optional efirt 44arm64/arm64/elf32_machdep.c optional compat_freebsd32 45arm64/arm64/elf_machdep.c standard 46arm64/arm64/exception.S standard 47arm64/arm64/exec_machdep.c standard 48arm64/arm64/freebsd32_machdep.c optional compat_freebsd32 49arm64/arm64/gdb_machdep.c optional gdb 50arm64/arm64/gicv3_its.c optional intrng fdt 51arm64/arm64/gic_v3.c standard 52arm64/arm64/gic_v3_acpi.c optional acpi 53arm64/arm64/gic_v3_fdt.c optional fdt 54arm64/arm64/hyp_stub.S standard 55arm64/arm64/identcpu.c standard 56arm64/arm64/locore.S standard no-obj 57arm64/arm64/machdep.c standard 58arm64/arm64/machdep_boot.c standard 59arm64/arm64/mem.c standard 60arm64/arm64/memcmp.S standard 61arm64/arm64/memcpy.S standard 62arm64/arm64/memset.S standard 63arm64/arm64/minidump_machdep.c standard 64arm64/arm64/mp_machdep.c optional smp 65arm64/arm64/nexus.c standard 66arm64/arm64/ofw_machdep.c optional fdt 67arm64/arm64/ptrauth.c standard \ 68 compile-with "${NORMAL_C:N-mbranch-protection*}" 69arm64/arm64/pmap.c standard 70arm64/arm64/ptrace_machdep.c standard 71arm64/arm64/sigtramp.S standard 72arm64/arm64/stack_machdep.c optional ddb | stack 73arm64/arm64/strcmp.S standard 74arm64/arm64/strncmp.S standard 75arm64/arm64/support_ifunc.c standard 76arm64/arm64/support.S standard 77arm64/arm64/swtch.S standard 78arm64/arm64/sys_machdep.c standard 79arm64/arm64/trap.c standard 80arm64/arm64/uio_machdep.c standard 81arm64/arm64/uma_machdep.c standard 82arm64/arm64/undefined.c standard 83arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack 84arm64/arm64/vfp.c standard 85arm64/arm64/vm_machdep.c standard 86 87arm64/coresight/coresight.c standard 88arm64/coresight/coresight_acpi.c optional acpi 89arm64/coresight/coresight_fdt.c optional fdt 90arm64/coresight/coresight_if.m standard 91arm64/coresight/coresight_cmd.c standard 92arm64/coresight/coresight_cpu_debug.c optional fdt 93arm64/coresight/coresight_etm4x.c standard 94arm64/coresight/coresight_etm4x_acpi.c optional acpi 95arm64/coresight/coresight_etm4x_fdt.c optional fdt 96arm64/coresight/coresight_funnel.c standard 97arm64/coresight/coresight_funnel_acpi.c optional acpi 98arm64/coresight/coresight_funnel_fdt.c optional fdt 99arm64/coresight/coresight_replicator.c standard 100arm64/coresight/coresight_replicator_acpi.c optional acpi 101arm64/coresight/coresight_replicator_fdt.c optional fdt 102arm64/coresight/coresight_tmc.c standard 103arm64/coresight/coresight_tmc_acpi.c optional acpi 104arm64/coresight/coresight_tmc_fdt.c optional fdt 105 106arm64/iommu/iommu.c optional iommu 107arm64/iommu/iommu_if.m optional iommu 108arm64/iommu/iommu_pmap.c optional iommu 109arm64/iommu/smmu.c optional iommu 110arm64/iommu/smmu_acpi.c optional iommu acpi 111arm64/iommu/smmu_fdt.c optional iommu fdt 112arm64/iommu/smmu_quirks.c optional iommu 113dev/iommu/busdma_iommu.c optional iommu 114dev/iommu/iommu_gas.c optional iommu 115 116crypto/armv8/armv8_crypto.c optional armv8crypto 117armv8_crypto_wrap.o optional armv8crypto \ 118 dependency "$S/crypto/armv8/armv8_crypto_wrap.c" \ 119 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \ 120 no-implicit-rule \ 121 clean "armv8_crypto_wrap.o" 122aesv8-armx.o optional armv8crypto | ossl \ 123 dependency "$S/crypto/openssl/aarch64/aesv8-armx.S" \ 124 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \ 125 no-implicit-rule \ 126 clean "aesv8-armx.o" 127ghashv8-armx.o optional armv8crypto \ 128 dependency "$S/crypto/openssl/aarch64/ghashv8-armx.S" \ 129 compile-with "${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} -I$S/crypto/armv8/ ${WERROR} ${NO_WCAST_QUAL} -march=armv8-a+crypto ${.IMPSRC}" \ 130 no-implicit-rule \ 131 clean "ghashv8-armx.o" 132 133crypto/des/des_enc.c optional netsmb 134crypto/openssl/ossl_aarch64.c optional ossl 135crypto/openssl/aarch64/chacha-armv8.S optional ossl \ 136 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 137crypto/openssl/aarch64/poly1305-armv8.S optional ossl \ 138 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 139crypto/openssl/aarch64/sha1-armv8.S optional ossl \ 140 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 141crypto/openssl/aarch64/sha256-armv8.S optional ossl \ 142 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 143crypto/openssl/aarch64/sha512-armv8.S optional ossl \ 144 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 145crypto/openssl/aarch64/vpaes-armv8.S optional ossl \ 146 compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} ${WERROR} ${.IMPSRC}" 147 148dev/acpica/acpi_bus_if.m optional acpi 149dev/acpica/acpi_if.m optional acpi 150dev/acpica/acpi_pci_link.c optional acpi pci 151dev/acpica/acpi_pcib.c optional acpi pci 152dev/acpica/acpi_pxm.c optional acpi 153dev/ahci/ahci_generic.c optional ahci 154 155cddl/dev/dtrace/aarch64/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" 156cddl/dev/dtrace/aarch64/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" 157cddl/dev/fbt/aarch64/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" 158 159contrib/openzfs/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S optional zfs compile-with "${ZFS_S:N-mgeneral-regs-only}" 160contrib/openzfs/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S optional zfs compile-with "${ZFS_S:N-mgeneral-regs-only}" 161 162## 163## ASoC support 164## 165dev/sound/fdt/audio_dai_if.m optional sound fdt 166dev/sound/fdt/audio_soc.c optional sound fdt 167dev/sound/fdt/dummy_codec.c optional sound fdt 168dev/sound/fdt/simple_amplifier.c optional sound fdt 169 170## 171## Device drivers 172## 173 174dev/axgbe/if_axgbe.c optional axa fdt 175dev/axgbe/xgbe-desc.c optional axa fdt 176dev/axgbe/xgbe-dev.c optional axa fdt 177dev/axgbe/xgbe-drv.c optional axa fdt 178dev/axgbe/xgbe-mdio.c optional axa fdt 179dev/axgbe/xgbe-sysctl.c optional axa fdt 180dev/axgbe/xgbe-txrx.c optional axa fdt 181dev/axgbe/xgbe_osdep.c optional axa fdt 182dev/axgbe/xgbe-phy-v1.c optional axa fdt 183 184dev/cpufreq/cpufreq_dt.c optional cpufreq fdt 185 186dev/dpaa2/dpaa2_bp.c optional soc_nxp_ls dpaa2 187dev/dpaa2/dpaa2_cmd_if.m optional soc_nxp_ls dpaa2 188dev/dpaa2/dpaa2_con.c optional soc_nxp_ls dpaa2 189dev/dpaa2/dpaa2_io.c optional soc_nxp_ls dpaa2 190dev/dpaa2/dpaa2_mac.c optional soc_nxp_ls dpaa2 191dev/dpaa2/dpaa2_mc.c optional soc_nxp_ls dpaa2 192dev/dpaa2/dpaa2_mc_acpi.c optional soc_nxp_ls dpaa2 acpi 193dev/dpaa2/dpaa2_mc_fdt.c optional soc_nxp_ls dpaa2 fdt 194dev/dpaa2/dpaa2_mc_if.m optional soc_nxp_ls dpaa2 195dev/dpaa2/dpaa2_mcp.c optional soc_nxp_ls dpaa2 196dev/dpaa2/dpaa2_ni.c optional soc_nxp_ls dpaa2 197dev/dpaa2/dpaa2_rc.c optional soc_nxp_ls dpaa2 198dev/dpaa2/dpaa2_swp.c optional soc_nxp_ls dpaa2 199dev/dpaa2/dpaa2_swp_if.m optional soc_nxp_ls dpaa2 200dev/dpaa2/memac_mdio_acpi.c optional soc_nxp_ls dpaa2 acpi 201dev/dpaa2/memac_mdio_common.c optional soc_nxp_ls dpaa2 acpi | soc_nxp_ls dpaa2 fdt 202dev/dpaa2/memac_mdio_fdt.c optional soc_nxp_ls dpaa2 fdt 203dev/dpaa2/memac_mdio_if.m optional soc_nxp_ls dpaa2 acpi | soc_nxp_ls dpaa2 fdt 204 205dev/dwc/if_dwc.c optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 | fdt dwc_socfpga soc_intel_stratix10 206dev/dwc/if_dwc_if.m optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 | fdt dwc_socfpga soc_intel_stratix10 207 208dev/enetc/enetc_mdio.c optional enetc soc_nxp_ls 209dev/enetc/if_enetc.c optional enetc iflib pci fdt soc_nxp_ls 210 211dev/etherswitch/felix/felix.c optional enetc etherswitch fdt felix pci soc_nxp_ls 212 213dev/gpio/pl061.c optional pl061 gpio 214dev/gpio/pl061_acpi.c optional pl061 gpio acpi 215dev/gpio/pl061_fdt.c optional pl061 gpio fdt 216dev/gpio/qoriq_gpio.c optional soc_nxp_ls gpio fdt 217 218dev/hwpmc/hwpmc_arm64.c optional hwpmc 219dev/hwpmc/hwpmc_arm64_md.c optional hwpmc 220dev/hwpmc/hwpmc_cmn600.c optional hwpmc acpi 221arm64/arm64/cmn600.c optional hwpmc acpi 222dev/hwpmc/hwpmc_dmc620.c optional hwpmc acpi 223dev/hwpmc/pmu_dmc620.c optional hwpmc acpi 224 225# Microsoft Hyper-V 226dev/hyperv/vmbus/hyperv.c optional hyperv acpi 227dev/hyperv/vmbus/aarch64/hyperv_aarch64.c optional hyperv acpi 228dev/hyperv/vmbus/vmbus.c optional hyperv acpi pci 229dev/hyperv/vmbus/aarch64/vmbus_aarch64.c optional hyperv acpi 230dev/hyperv/vmbus/vmbus_if.m optional hyperv acpi 231dev/hyperv/vmbus/vmbus_res.c optional hyperv acpi 232dev/hyperv/vmbus/vmbus_xact.c optional hyperv acpi 233dev/hyperv/vmbus/aarch64/hyperv_machdep.c optional hyperv acpi 234dev/hyperv/vmbus/vmbus_chan.c optional hyperv acpi 235dev/hyperv/vmbus/hyperv_busdma.c optional hyperv acpi 236dev/hyperv/vmbus/vmbus_br.c optional hyperv acpi 237dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c optional hyperv acpi 238dev/hyperv/utilities/vmbus_timesync.c optional hyperv acpi 239dev/hyperv/utilities/vmbus_heartbeat.c optional hyperv acpi 240dev/hyperv/utilities/vmbus_ic.c optional hyperv acpi 241dev/hyperv/utilities/vmbus_shutdown.c optional hyperv acpi 242dev/hyperv/utilities/hv_kvp.c optional hyperv acpi 243dev/hyperv/netvsc/hn_nvs.c optional hyperv acpi 244dev/hyperv/netvsc/hn_rndis.c optional hyperv acpi 245dev/hyperv/netvsc/if_hn.c optional hyperv acpi 246 247dev/ice/if_ice_iflib.c optional ice pci \ 248 compile-with "${NORMAL_C} -I$S/dev/ice" 249dev/ice/ice_lib.c optional ice pci \ 250 compile-with "${NORMAL_C} -I$S/dev/ice" 251dev/ice/ice_osdep.c optional ice pci \ 252 compile-with "${NORMAL_C} -I$S/dev/ice" 253dev/ice/ice_resmgr.c optional ice pci \ 254 compile-with "${NORMAL_C} -I$S/dev/ice" 255dev/ice/ice_strings.c optional ice pci \ 256 compile-with "${NORMAL_C} -I$S/dev/ice" 257dev/ice/ice_iflib_recovery_txrx.c optional ice pci \ 258 compile-with "${NORMAL_C} -I$S/dev/ice" 259dev/ice/ice_iflib_txrx.c optional ice pci \ 260 compile-with "${NORMAL_C} -I$S/dev/ice" 261dev/ice/ice_common.c optional ice pci \ 262 compile-with "${NORMAL_C} -I$S/dev/ice" 263dev/ice/ice_controlq.c optional ice pci \ 264 compile-with "${NORMAL_C} -I$S/dev/ice" 265dev/ice/ice_dcb.c optional ice pci \ 266 compile-with "${NORMAL_C} -I$S/dev/ice" 267dev/ice/ice_flex_pipe.c optional ice pci \ 268 compile-with "${NORMAL_C} -I$S/dev/ice" 269dev/ice/ice_flow.c optional ice pci \ 270 compile-with "${NORMAL_C} -I$S/dev/ice" 271dev/ice/ice_nvm.c optional ice pci \ 272 compile-with "${NORMAL_C} -I$S/dev/ice" 273dev/ice/ice_sched.c optional ice pci \ 274 compile-with "${NORMAL_C} -I$S/dev/ice" 275dev/ice/ice_switch.c optional ice pci \ 276 compile-with "${NORMAL_C} -I$S/dev/ice" 277dev/ice/ice_vlan_mode.c optional ice pci \ 278 compile-with "${NORMAL_C} -I$S/dev/ice" 279dev/ice/ice_fw_logging.c optional ice pci \ 280 compile-with "${NORMAL_C} -I$S/dev/ice" 281dev/ice/ice_fwlog.c optional ice pci \ 282 compile-with "${NORMAL_C} -I$S/dev/ice" 283dev/ice/ice_rdma.c optional ice pci \ 284 compile-with "${NORMAL_C} -I$S/dev/ice" 285dev/ice/irdma_if.m optional ice pci \ 286 compile-with "${NORMAL_M} -I$S/dev/ice" 287dev/ice/irdma_di_if.m optional ice pci \ 288 compile-with "${NORMAL_M} -I$S/dev/ice" 289ice_ddp.c optional ice_ddp \ 290 compile-with "${AWK} -f $S/tools/fw_stub.awk ice_ddp.fw:ice_ddp:0x01031b00 -mice_ddp -c${.TARGET}" \ 291 no-ctfconvert no-implicit-rule before-depend local \ 292 clean "ice_ddp.c" 293ice_ddp.fwo optional ice_ddp \ 294 dependency "ice_ddp.fw" \ 295 compile-with "${NORMAL_FWO}" \ 296 no-implicit-rule \ 297 clean "ice_ddp.fwo" 298ice_ddp.fw optional ice_ddp \ 299 dependency "$S/contrib/dev/ice/ice-1.3.27.0.pkg" \ 300 compile-with "${CP} $S/contrib/dev/ice/ice-1.3.27.0.pkg ice_ddp.fw" \ 301 no-obj no-implicit-rule \ 302 clean "ice_ddp.fw" 303 304dev/iicbus/sy8106a.c optional sy8106a fdt 305dev/iicbus/twsi/mv_twsi.c optional twsi fdt 306dev/iicbus/twsi/a10_twsi.c optional twsi fdt 307dev/iicbus/twsi/twsi.c optional twsi fdt 308 309dev/ipmi/ipmi.c optional ipmi 310dev/ipmi/ipmi_acpi.c optional ipmi acpi 311dev/ipmi/ipmi_kcs.c optional ipmi 312dev/ipmi/ipmi_smic.c optional ipmi 313 314dev/mbox/mbox_if.m optional soc_brcm_bcm2837 315 316dev/mmc/host/dwmmc.c optional dwmmc fdt 317dev/mmc/host/dwmmc_altera.c optional dwmmc dwmmc_altera fdt 318dev/mmc/host/dwmmc_hisi.c optional dwmmc dwmmc_hisi fdt 319dev/mmc/host/dwmmc_rockchip.c optional dwmmc rk_dwmmc fdt 320 321dev/neta/if_mvneta_fdt.c optional neta fdt 322dev/neta/if_mvneta.c optional neta mdio mii fdt 323 324dev/ofw/ofw_cpu.c optional fdt 325dev/ofw/ofw_pci.c optional fdt pci 326dev/ofw/ofw_pcib.c optional fdt pci 327 328dev/pci/controller/pci_n1sdp.c optional pci_n1sdp acpi 329dev/pci/pci_host_generic.c optional pci 330dev/pci/pci_host_generic_acpi.c optional pci acpi 331dev/pci/pci_host_generic_fdt.c optional pci fdt 332dev/pci/pci_dw_mv.c optional pci fdt 333dev/pci/pci_dw.c optional pci fdt 334dev/pci/pci_dw_if.m optional pci fdt 335 336dev/psci/psci.c standard 337dev/psci/smccc_arm64.S standard 338dev/psci/smccc.c standard 339 340dev/safexcel/safexcel.c optional safexcel fdt 341 342dev/sdhci/sdhci_xenon.c optional sdhci_xenon sdhci 343dev/sdhci/sdhci_xenon_acpi.c optional sdhci_xenon sdhci acpi 344dev/sdhci/sdhci_xenon_fdt.c optional sdhci_xenon sdhci fdt 345 346dev/uart/uart_cpu_arm64.c optional uart 347dev/uart/uart_dev_mu.c optional uart uart_mu fdt 348dev/uart/uart_dev_pl011.c optional uart pl011 349 350dev/usb/controller/dwc_otg_hisi.c optional dwcotg fdt soc_hisi_hi6220 351dev/usb/controller/dwc3.c optional xhci acpi dwc3 | xhci fdt dwc3 352dev/usb/controller/ehci_mv.c optional ehci_mv fdt 353dev/usb/controller/generic_ehci.c optional ehci 354dev/usb/controller/generic_ehci_acpi.c optional ehci acpi 355dev/usb/controller/generic_ehci_fdt.c optional ehci fdt 356dev/usb/controller/generic_ohci.c optional ohci fdt 357dev/usb/controller/generic_usb_if.m optional ohci fdt 358dev/usb/controller/musb_otg_allwinner.c optional musb fdt soc_allwinner_a64 359dev/usb/controller/usb_nop_xceiv.c optional fdt 360dev/usb/controller/generic_xhci.c optional xhci 361dev/usb/controller/generic_xhci_acpi.c optional xhci acpi 362dev/usb/controller/generic_xhci_fdt.c optional xhci fdt 363 364dev/vnic/mrml_bridge.c optional vnic fdt 365dev/vnic/nic_main.c optional vnic pci 366dev/vnic/nicvf_main.c optional vnic pci pci_iov 367dev/vnic/nicvf_queues.c optional vnic pci pci_iov 368dev/vnic/thunder_bgx_fdt.c optional soc_cavm_thunderx pci vnic fdt 369dev/vnic/thunder_bgx.c optional soc_cavm_thunderx pci vnic pci 370dev/vnic/thunder_mdio_fdt.c optional soc_cavm_thunderx pci vnic fdt 371dev/vnic/thunder_mdio.c optional soc_cavm_thunderx pci vnic 372dev/vnic/lmac_if.m optional inet | inet6 | vnic 373 374## 375## SoC Support 376## 377 378# Allwinner common files 379arm/allwinner/a10_timer.c optional a10_timer fdt 380arm/allwinner/a10_codec.c optional sound a10_codec fdt 381arm/allwinner/a31_dmac.c optional a31_dmac fdt 382arm/allwinner/a33_codec.c optional fdt sound a33_codec 383arm/allwinner/a64/sun50i_a64_acodec.c optional fdt sound a64_codec 384arm/allwinner/sunxi_dma_if.m optional a31_dmac 385arm/allwinner/aw_cir.c optional evdev aw_cir fdt 386arm/allwinner/aw_dwc3.c optional aw_dwc3 fdt 387arm/allwinner/aw_gpio.c optional gpio aw_gpio fdt 388arm/allwinner/aw_i2s.c optional fdt sound aw_i2s 389arm/allwinner/aw_mmc.c optional mmc aw_mmc fdt | mmccam aw_mmc fdt 390arm/allwinner/aw_nmi.c optional aw_nmi fdt \ 391 compile-with "${NORMAL_C} -I$S/contrib/device-tree/include" 392arm/allwinner/aw_pwm.c optional aw_pwm fdt 393arm/allwinner/aw_r_intc.c optional aw_r_intc fdt 394arm/allwinner/aw_rsb.c optional aw_rsb fdt 395arm/allwinner/aw_rtc.c optional aw_rtc fdt 396arm/allwinner/aw_sid.c optional aw_sid nvmem fdt 397arm/allwinner/aw_spi.c optional aw_spi fdt 398arm/allwinner/aw_syscon.c optional aw_syscon syscon fdt 399arm/allwinner/aw_thermal.c optional aw_thermal nvmem fdt 400arm/allwinner/aw_usbphy.c optional ehci aw_usbphy fdt 401arm/allwinner/aw_usb3phy.c optional xhci aw_usbphy fdt 402arm/allwinner/aw_wdog.c optional aw_wdog fdt 403arm/allwinner/axp81x.c optional axp81x fdt 404arm/allwinner/if_awg.c optional awg syscon aw_sid nvmem fdt 405 406# Allwinner clock driver 407arm/allwinner/clkng/aw_ccung.c optional aw_ccu fdt 408arm/allwinner/clkng/aw_clk_frac.c optional aw_ccu fdt 409arm/allwinner/clkng/aw_clk_m.c optional aw_ccu fdt 410arm/allwinner/clkng/aw_clk_mipi.c optional aw_ccu fdt 411arm/allwinner/clkng/aw_clk_nkmp.c optional aw_ccu fdt 412arm/allwinner/clkng/aw_clk_nm.c optional aw_ccu fdt 413arm/allwinner/clkng/aw_clk_nmm.c optional aw_ccu fdt 414arm/allwinner/clkng/aw_clk_np.c optional aw_ccu fdt 415arm/allwinner/clkng/aw_clk_prediv_mux.c optional aw_ccu fdt 416arm/allwinner/clkng/ccu_a64.c optional soc_allwinner_a64 aw_ccu fdt 417arm/allwinner/clkng/ccu_h3.c optional soc_allwinner_h5 aw_ccu fdt 418arm/allwinner/clkng/ccu_h6.c optional soc_allwinner_h6 aw_ccu fdt 419arm/allwinner/clkng/ccu_h6_r.c optional soc_allwinner_h6 aw_ccu fdt 420arm/allwinner/clkng/ccu_sun8i_r.c optional aw_ccu fdt 421arm/allwinner/clkng/ccu_de2.c optional aw_ccu fdt 422 423# Allwinner padconf files 424arm/allwinner/a64/a64_padconf.c optional soc_allwinner_a64 fdt 425arm/allwinner/a64/a64_r_padconf.c optional soc_allwinner_a64 fdt 426arm/allwinner/h3/h3_padconf.c optional soc_allwinner_h5 fdt 427arm/allwinner/h3/h3_r_padconf.c optional soc_allwinner_h5 fdt 428arm/allwinner/h6/h6_padconf.c optional soc_allwinner_h6 fdt 429arm/allwinner/h6/h6_r_padconf.c optional soc_allwinner_h6 fdt 430 431# Altera/Intel 432dev/altera/dwc/if_dwc_socfpga.c optional fdt dwc_socfpga 433arm64/intel/firmware.c optional soc_intel_stratix10 fdt 434arm64/intel/stratix10-soc-fpga-mgr.c optional soc_intel_stratix10 fdt 435arm64/intel/stratix10-svc.c optional soc_intel_stratix10 fdt 436 437# Annapurna 438arm/annapurna/alpine/alpine_ccu.c optional al_ccu fdt 439arm/annapurna/alpine/alpine_nb_service.c optional al_nb_service fdt 440arm/annapurna/alpine/alpine_pci.c optional al_pci fdt 441arm/annapurna/alpine/alpine_pci_msix.c optional al_pci fdt 442arm/annapurna/alpine/alpine_serdes.c optional al_serdes fdt \ 443 no-depend \ 444 compile-with "${CC} -c -o ${.TARGET} ${CFLAGS} -I$S/contrib/alpine-hal -I$S/contrib/alpine-hal/eth ${.IMPSRC}" 445 446# Broadcom 447arm64/broadcom/brcmmdio/mdio_mux_iproc.c optional soc_brcm_ns2 fdt 448arm64/broadcom/brcmmdio/mdio_nexus_iproc.c optional soc_brcm_ns2 fdt 449arm64/broadcom/brcmmdio/mdio_ns2_pcie_phy.c optional soc_brcm_ns2 fdt pci 450arm64/broadcom/genet/if_genet.c optional soc_brcm_bcm2838 fdt genet 451arm/broadcom/bcm2835/bcm2835_audio.c optional sound vchiq fdt \ 452 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 453arm/broadcom/bcm2835/bcm2835_bsc.c optional bcm2835_bsc fdt 454arm/broadcom/bcm2835/bcm2835_clkman.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 455arm/broadcom/bcm2835/bcm2835_cpufreq.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 456arm/broadcom/bcm2835/bcm2835_dma.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 457arm/broadcom/bcm2835/bcm2835_fbd.c optional vt soc_brcm_bcm2837 fdt | vt soc_brcm_bcm2838 fdt 458arm/broadcom/bcm2835/bcm2835_firmware.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 459arm/broadcom/bcm2835/bcm2835_ft5406.c optional evdev bcm2835_ft5406 fdt 460arm/broadcom/bcm2835/bcm2835_gpio.c optional gpio soc_brcm_bcm2837 fdt | gpio soc_brcm_bcm2838 fdt 461arm/broadcom/bcm2835/bcm2835_intr.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 462arm/broadcom/bcm2835/bcm2835_mbox.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 463arm/broadcom/bcm2835/bcm2835_rng.c optional !random_loadable soc_brcm_bcm2837 fdt | !random_loadable soc_brcm_bcm2838 fdt 464arm/broadcom/bcm2835/bcm2835_sdhci.c optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt 465arm/broadcom/bcm2835/bcm2835_sdhost.c optional sdhci soc_brcm_bcm2837 fdt | sdhci soc_brcm_bcm2838 fdt 466arm/broadcom/bcm2835/bcm2835_spi.c optional bcm2835_spi fdt 467arm/broadcom/bcm2835/bcm2835_vcbus.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 468arm/broadcom/bcm2835/bcm2835_vcio.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 469arm/broadcom/bcm2835/bcm2835_wdog.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 470arm/broadcom/bcm2835/bcm2836.c optional soc_brcm_bcm2837 fdt | soc_brcm_bcm2838 fdt 471arm/broadcom/bcm2835/bcm283x_dwc_fdt.c optional dwcotg fdt soc_brcm_bcm2837 | dwcotg fdt soc_brcm_bcm2838 472arm/broadcom/bcm2835/bcm2838_pci.c optional soc_brcm_bcm2838 fdt pci 473arm/broadcom/bcm2835/bcm2838_xhci.c optional soc_brcm_bcm2838 fdt pci xhci 474arm/broadcom/bcm2835/raspberrypi_gpio.c optional soc_brcm_bcm2837 gpio fdt | soc_brcm_bcm2838 gpio fdt 475contrib/vchiq/interface/compat/vchi_bsd.c optional vchiq soc_brcm_bcm2837 \ 476 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 477contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c optional vchiq soc_brcm_bcm2837 \ 478 compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 479contrib/vchiq/interface/vchiq_arm/vchiq_arm.c optional vchiq soc_brcm_bcm2837 \ 480 compile-with "${NORMAL_C} -Wno-unused -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 481contrib/vchiq/interface/vchiq_arm/vchiq_connected.c optional vchiq soc_brcm_bcm2837 \ 482 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 483contrib/vchiq/interface/vchiq_arm/vchiq_core.c optional vchiq soc_brcm_bcm2837 \ 484 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 485contrib/vchiq/interface/vchiq_arm/vchiq_kern_lib.c optional vchiq soc_brcm_bcm2837 \ 486 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 487contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c optional vchiq soc_brcm_bcm2837 \ 488 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 489contrib/vchiq/interface/vchiq_arm/vchiq_shim.c optional vchiq soc_brcm_bcm2837 \ 490 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 491contrib/vchiq/interface/vchiq_arm/vchiq_util.c optional vchiq soc_brcm_bcm2837 \ 492 compile-with "${NORMAL_C} -DUSE_VCHIQ_ARM -D__VCCOREVER__=0x04000000 -I$S/contrib/vchiq" 493 494# Cavium 495arm64/cavium/thunder_pcie_fdt.c optional soc_cavm_thunderx pci fdt 496arm64/cavium/thunder_pcie_pem.c optional soc_cavm_thunderx pci 497arm64/cavium/thunder_pcie_pem_fdt.c optional soc_cavm_thunderx pci fdt 498arm64/cavium/thunder_pcie_common.c optional soc_cavm_thunderx pci 499 500# i.MX8 Clock support 501arm64/freescale/imx/imx8mq_ccm.c optional fdt soc_freescale_imx8 502arm64/freescale/imx/clk/imx_clk_gate.c optional fdt soc_freescale_imx8 503arm64/freescale/imx/clk/imx_clk_mux.c optional fdt soc_freescale_imx8 504arm64/freescale/imx/clk/imx_clk_composite.c optional fdt soc_freescale_imx8 505arm64/freescale/imx/clk/imx_clk_sscg_pll.c optional fdt soc_freescale_imx8 506arm64/freescale/imx/clk/imx_clk_frac_pll.c optional fdt soc_freescale_imx8 507 508# iMX drivers 509arm/freescale/imx/imx_gpio.c optional gpio soc_freescale_imx8 fdt 510arm/freescale/imx/imx_i2c.c optional fsliic 511arm/freescale/imx/imx_machdep.c optional fdt soc_freescale_imx8 512arm64/freescale/imx/imx7gpc.c optional fdt soc_freescale_imx8 513dev/ffec/if_ffec.c optional ffec 514 515# Marvell 516arm/mv/a37x0_gpio.c optional a37x0_gpio gpio fdt 517arm/mv/a37x0_iic.c optional a37x0_iic iicbus fdt 518arm/mv/a37x0_spi.c optional a37x0_spi spibus fdt 519arm/mv/clk/a37x0_tbg.c optional a37x0_tbg clk fdt syscon 520arm/mv/clk/a37x0_xtal.c optional a37x0_xtal clk fdt syscon 521arm/mv/armada38x/armada38x_rtc.c optional mv_rtc fdt 522arm/mv/gpio.c optional mv_gpio fdt 523arm/mv/mvebu_gpio.c optional mv_gpio fdt 524arm/mv/mvebu_pinctrl.c optional mvebu_pinctrl fdt 525arm/mv/mv_ap806_clock.c optional soc_marvell_8k fdt 526arm/mv/mv_ap806_gicp.c optional mv_ap806_gicp fdt 527arm/mv/mv_ap806_sei.c optional mv_ap806_sei fdt 528arm/mv/mv_cp110_clock.c optional soc_marvell_8k fdt 529arm/mv/mv_cp110_icu.c optional mv_cp110_icu fdt 530arm/mv/mv_cp110_icu_bus.c optional mv_cp110_icu fdt 531arm/mv/mv_thermal.c optional soc_marvell_8k mv_thermal fdt 532arm/mv/clk/a37x0_tbg_pll.c optional a37x0_tbg clk fdt syscon 533arm/mv/clk/a37x0_periph_clk_driver.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 534arm/mv/clk/a37x0_nb_periph_clk_driver.c optional a37x0_nb_periph clk fdt syscon 535arm/mv/clk/a37x0_sb_periph_clk_driver.c optional a37x0_sb_periph clk fdt syscon 536arm/mv/clk/periph.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 537arm/mv/clk/periph_clk_d.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 538arm/mv/clk/periph_clk_fixed.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 539arm/mv/clk/periph_clk_gate.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 540arm/mv/clk/periph_clk_mux_gate.c optional a37x0_nb_periph a37x0_sb_periph clk fdt syscon 541 542# NVidia 543arm/nvidia/tegra_abpmisc.c optional fdt soc_nvidia_tegra210 544arm/nvidia/tegra_ahci.c optional fdt soc_nvidia_tegra210 545arm/nvidia/tegra_efuse.c optional fdt soc_nvidia_tegra210 546arm/nvidia/tegra_ehci.c optional fdt soc_nvidia_tegra210 547arm/nvidia/tegra_gpio.c optional fdt soc_nvidia_tegra210 548arm/nvidia/tegra_i2c.c optional fdt soc_nvidia_tegra210 549arm/nvidia/tegra_lic.c optional fdt soc_nvidia_tegra210 550arm/nvidia/tegra_mc.c optional fdt soc_nvidia_tegra210 551arm/nvidia/tegra_pcie.c optional fdt soc_nvidia_tegra210 552arm/nvidia/tegra_sdhci.c optional fdt soc_nvidia_tegra210 553arm/nvidia/tegra_soctherm_if.m optional fdt soc_nvidia_tegra210 554arm/nvidia/tegra_soctherm.c optional fdt soc_nvidia_tegra210 555arm/nvidia/tegra_uart.c optional fdt soc_nvidia_tegra210 556arm/nvidia/tegra_usbphy.c optional fdt soc_nvidia_tegra210 557arm/nvidia/tegra_xhci.c optional fdt soc_nvidia_tegra210 558arm64/nvidia/tegra210/max77620.c optional fdt soc_nvidia_tegra210 559arm64/nvidia/tegra210/max77620_gpio.c optional fdt soc_nvidia_tegra210 560arm64/nvidia/tegra210/max77620_regulators.c optional fdt soc_nvidia_tegra210 561arm64/nvidia/tegra210/max77620_rtc.c optional fdt soc_nvidia_tegra210 562arm64/nvidia/tegra210/tegra210_car.c optional fdt soc_nvidia_tegra210 563arm64/nvidia/tegra210/tegra210_clk_per.c optional fdt soc_nvidia_tegra210 564arm64/nvidia/tegra210/tegra210_clk_pll.c optional fdt soc_nvidia_tegra210 565arm64/nvidia/tegra210/tegra210_clk_super.c optional fdt soc_nvidia_tegra210 566arm64/nvidia/tegra210/tegra210_coretemp.c optional fdt soc_nvidia_tegra210 567arm64/nvidia/tegra210/tegra210_cpufreq.c optional fdt soc_nvidia_tegra210 568arm64/nvidia/tegra210/tegra210_pinmux.c optional fdt soc_nvidia_tegra210 569arm64/nvidia/tegra210/tegra210_pmc.c optional fdt soc_nvidia_tegra210 570arm64/nvidia/tegra210/tegra210_xusbpadctl.c optional fdt soc_nvidia_tegra210 571 572# Nvidia firmware for Tegra 573tegra210_xusb_fw.c optional tegra210_xusb_fw \ 574 dependency "$S/conf/files.arm64" \ 575 compile-with "${AWK} -f $S/tools/fw_stub.awk tegra210_xusb.fw:tegra210_xusb_fw -mtegra210_xusb_fw -c${.TARGET}" \ 576 no-ctfconvert no-implicit-rule before-depend local \ 577 clean "tegra210_xusb_fw.c" 578 579tegra210_xusb.fwo optional tegra210_xusb_fw \ 580 dependency "tegra210_xusb.fw" \ 581 compile-with "${NORMAL_FWO}" \ 582 no-implicit-rule \ 583 clean "tegra210_xusb.fwo" 584 585tegra210_xusb.fw optional tegra210_xusb_fw \ 586 dependency "$S/contrib/dev/nvidia/tegra210_xusb.bin.uu" \ 587 compile-with "${NORMAL_FW}" \ 588 no-obj no-implicit-rule \ 589 clean "tegra210_xusb.fw" 590 591# NXP 592arm/freescale/vybrid/vf_i2c.c optional vf_i2c iicbus soc_nxp_ls 593arm64/qoriq/qoriq_dw_pci.c optional pci fdt soc_nxp_ls 594arm64/qoriq/qoriq_gpio_pic.c optional gpio fdt soc_nxp_ls 595arm64/qoriq/qoriq_therm.c optional pci fdt soc_nxp_ls 596arm64/qoriq/qoriq_therm_if.m optional pci fdt soc_nxp_ls 597arm64/qoriq/clk/ls1028a_clkgen.c optional clk soc_nxp_ls fdt 598arm64/qoriq/clk/ls1028a_flexspi_clk.c optional clk soc_nxp_ls fdt 599arm64/qoriq/clk/ls1046a_clkgen.c optional clk soc_nxp_ls fdt 600arm64/qoriq/clk/ls1088a_clkgen.c optional clk soc_nxp_ls fdt 601arm64/qoriq/clk/lx2160a_clkgen.c optional clk soc_nxp_ls fdt 602arm64/qoriq/clk/qoriq_clk_pll.c optional clk soc_nxp_ls 603arm64/qoriq/clk/qoriq_clkgen.c optional clk soc_nxp_ls fdt 604dev/ahci/ahci_fsl_fdt.c optional soc_nxp_ls ahci fdt 605dev/flash/flexspi/flex_spi.c optional clk flex_spi soc_nxp_ls fdt 606 607# Qualcomm 608arm64/qualcomm/qcom_gcc.c optional qcom_gcc fdt 609 610# RockChip Drivers 611arm64/rockchip/rk3328_codec.c optional fdt rk3328codec soc_rockchip_rk3328 612arm64/rockchip/rk3399_emmcphy.c optional fdt rk_emmcphy soc_rockchip_rk3399 613arm64/rockchip/rk_dwc3.c optional fdt rk_dwc3 soc_rockchip_rk3399 614arm64/rockchip/rk_i2c.c optional fdt rk_i2c soc_rockchip_rk3328 | fdt rk_i2c soc_rockchip_rk3399 615arm64/rockchip/rk_i2s.c optional fdt sound soc_rockchip_rk3328 | fdt sound soc_rockchip_rk3399 616dev/iicbus/pmic/rockchip/rk8xx.c optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399 617dev/iicbus/pmic/rockchip/rk805.c optional fdt rk805 soc_rockchip_rk3328 618dev/iicbus/pmic/rockchip/rk808.c optional fdt rk805 soc_rockchip_rk3399 619dev/iicbus/pmic/rockchip/rk8xx_clocks.c optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399 620dev/iicbus/pmic/rockchip/rk8xx_regulators.c optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399 621dev/iicbus/pmic/rockchip/rk8xx_rtc.c optional fdt rk805 soc_rockchip_rk3328 | fdt rk805 soc_rockchip_rk3399 622arm64/rockchip/rk_grf.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 623arm64/rockchip/rk_pinctrl.c optional fdt rk_pinctrl soc_rockchip_rk3328 | fdt rk_pinctrl soc_rockchip_rk3399 624arm64/rockchip/rk_gpio.c optional fdt rk_gpio soc_rockchip_rk3328 | fdt rk_gpio soc_rockchip_rk3399 625arm64/rockchip/rk_iodomain.c optional fdt rk_iodomain 626arm64/rockchip/rk_spi.c optional fdt rk_spi 627arm64/rockchip/rk_usb2phy.c optional fdt rk_usb2phy soc_rockchip_rk3328 | fdt rk_usb2phy soc_rockchip_rk3399 628arm64/rockchip/rk_typec_phy.c optional fdt rk_typec_phy soc_rockchip_rk3399 629arm64/rockchip/if_dwc_rk.c optional fdt dwc_rk soc_rockchip_rk3328 | fdt dwc_rk soc_rockchip_rk3399 630arm64/rockchip/rk_tsadc_if.m optional fdt soc_rockchip_rk3399 631arm64/rockchip/rk_tsadc.c optional fdt soc_rockchip_rk3399 632arm64/rockchip/rk_pwm.c optional fdt rk_pwm 633arm64/rockchip/rk_pcie.c optional fdt pci soc_rockchip_rk3399 634arm64/rockchip/rk_pcie_phy.c optional fdt pci soc_rockchip_rk3399 635 636# RockChip Clock support 637arm64/rockchip/clk/rk_cru.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 638arm64/rockchip/clk/rk_clk_armclk.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 639arm64/rockchip/clk/rk_clk_composite.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 640arm64/rockchip/clk/rk_clk_fract.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 641arm64/rockchip/clk/rk_clk_gate.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 642arm64/rockchip/clk/rk_clk_mux.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 643arm64/rockchip/clk/rk_clk_pll.c optional fdt soc_rockchip_rk3328 | fdt soc_rockchip_rk3399 644arm64/rockchip/clk/rk3328_cru.c optional fdt soc_rockchip_rk3328 645arm64/rockchip/clk/rk3399_cru.c optional fdt soc_rockchip_rk3399 646arm64/rockchip/clk/rk3399_pmucru.c optional fdt soc_rockchip_rk3399 647 648# Xilinx 649arm/xilinx/uart_dev_cdnc.c optional uart soc_xilinx_zynq fdt 650