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