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