files.fdt revision 1.58
1# $NetBSD: files.fdt,v 1.58 2020/12/23 04:09:32 thorpej Exp $
2
3include	"external/bsd/libfdt/conf/files.libfdt"
4
5defflag	opt_fdt.h				FDTBASE : libfdt, ofw_subr
6defflag	opt_fdt.h				FDT: FDTBASE
7defparam opt_fdt.h				FDT_MEMORY_RANGES
8defparam opt_fdt.h				FDT_DEFAULT_STDOUT_PATH
9
10define	fdt { [pass = 10] } : clk, pwm
11
12device	simplebus { } : fdt
13attach	simplebus at fdt
14file	dev/fdt/fdtbus.c			fdt
15
16device	fregulator
17attach	fregulator at fdt
18file	dev/fdt/fixedregulator.c		fregulator
19
20device	gregulator
21attach	gregulator at fdt
22file	dev/fdt/gpioregulator.c			gregulator
23
24device	fclock: clk
25attach	fclock at fdt
26file	dev/fdt/fixedclock.c			fclock
27
28device	ffclock: clk
29attach	ffclock at fdt
30file	dev/fdt/fixedfactorclock.c		ffclock
31
32device	gpiokeys: sysmon_envsys, sysmon_power, wskbddev, linux_keymap
33attach	gpiokeys at fdt
34file	dev/fdt/gpiokeys.c			gpiokeys
35
36device	gpioleds: leds
37attach	gpioleds at fdt
38file	dev/fdt/gpioleds.c			gpioleds
39
40file	dev/fdt/fdt_port.c			fdt_port
41
42device	connector: fdt_port
43attach	connector at fdt with fdt_connector
44file	dev/fdt/connector_fdt.c			fdt_connector
45
46device	panel: fdt_port
47attach	panel at fdt with fdt_panel
48file	dev/fdt/panel_fdt.c			fdt_panel
49
50attach	panel at fdt with panel_fdt: drmkms
51file	dev/fdt/fdt_panel.c			panel_fdt
52
53device	dispcon: fdt_port, drmkms, ddc_read_edid
54attach	dispcon at fdt with dispcon_hdmi
55file	dev/fdt/hdmi_connector.c		dispcon_hdmi
56
57device	iicmux: i2cbus
58attach	iicmux at fdt with iicmux_fdt
59file	dev/fdt/i2cmux_fdt.c			iicmux_fdt
60
61file	dev/fdt/fdt_memory.c			fdtbase
62file	dev/fdt/fdt_openfirm.c			fdtbase
63file	dev/fdt/fdt_subr.c			fdtbase
64
65file	dev/fdt/fdt_clock.c			fdt
66file	dev/fdt/fdt_dai.c			fdt
67file	dev/fdt/fdt_dma.c			fdt
68file	dev/fdt/fdt_ddb.c			fdt & ddb
69file	dev/fdt/fdt_gpio.c			fdt
70file	dev/fdt/fdt_i2c.c			fdt
71file	dev/fdt/fdt_intr.c			fdt
72file	dev/fdt/fdt_mmc_pwrseq.c		fdt
73file	dev/fdt/fdt_phy.c			fdt
74file	dev/fdt/fdt_power.c			fdt
75file	dev/fdt/fdt_pwm.c			fdt
76file	dev/fdt/fdt_regulator.c			fdt
77file	dev/fdt/fdt_reset.c			fdt
78file	dev/fdt/fdt_rtc.c			fdt
79file	dev/fdt/fdt_spi.c			fdt
80file	dev/fdt/fdt_syscon.c			fdt
81file	dev/fdt/fdt_pinctrl.c			fdt
82
83device	cpus { } : fdt
84attach	cpus at fdt
85file	dev/fdt/cpus.c				cpus
86
87device	mmcpwrseq
88attach	mmcpwrseq at fdt with mmcpwrseq_simple
89file	dev/fdt/mmc_pwrseq_simple.c		mmcpwrseq_simple
90attach	mmcpwrseq at fdt with mmcpwrseq_emmc
91file	dev/fdt/mmc_pwrseq_emmc.c		mmcpwrseq_emmc
92
93device	syscon { } : fdt
94attach	syscon at fdt
95file	dev/fdt/syscon.c			syscon
96
97device	pinctrl
98attach	pinctrl at fdt with pinctrl_single
99file	dev/fdt/pinctrl_single.c		pinctrl_single
100
101device	pwmbacklight
102attach	pwmbacklight at fdt
103file	dev/fdt/pwm_backlight.c			pwmbacklight
104
105device	pwmfan
106attach	pwmfan at fdt
107file	dev/fdt/pwm_fan.c			pwmfan
108
109device	ausoc: audiobus
110attach	ausoc at fdt
111file	dev/fdt/ausoc.c				ausoc
112
113device	spdiftx
114attach	spdiftx at fdt
115file	dev/fdt/spdif_tx.c			spdiftx
116
117define	fdt_display_timing
118file	dev/fdt/display_timing.c		fdt_display_timing
119
120# Display controller
121attach	genfb at fdt with simplefb
122file	dev/fdt/simplefb.c			simplefb
123
124# NS 8250 compatible UART
125attach	com at fdt with ns8250_uart
126file	dev/fdt/ns8250_uart.c			ns8250_uart
127
128# Designware APB UART
129attach	com at fdt with dw_apb_uart
130file	dev/fdt/dw_apb_uart.c			dw_apb_uart
131
132# EHCI
133attach	ehci at fdt with ehci_fdt
134file	dev/fdt/ehci_fdt.c			ehci_fdt
135
136# OHCI
137attach	ohci at fdt with ohci_fdt
138file	dev/fdt/ohci_fdt.c			ohci_fdt
139
140# Designware USB2 OTG
141attach	dwctwo at fdt with dwc2_fdt
142file	dev/fdt/dwc2_fdt.c			dwc2_fdt
143
144# Designware USB3 XHCI
145attach	xhci at fdt with dwc3_fdt
146file	dev/fdt/dwc3_fdt.c			dwc3_fdt
147
148# Designware SD/MMC
149attach	dwcmmc at fdt with dwcmmc_fdt
150file	dev/fdt/dwcmmc_fdt.c			dwcmmc_fdt
151
152# Designware Watchdog Timer
153device	dwcwdt: sysmon_wdog
154attach	dwcwdt at fdt with dwcwdt_fdt
155file	dev/fdt/dwcwdt_fdt.c			dwcwdt_fdt
156
157# Virtio virtio,mmio
158attach	virtio at fdt with virtio_mmio_fdt:	virtio_mmio
159file	dev/fdt/virtio_mmio_fdt.c		virtio_mmio_fdt
160
161# QEMU Firmware Configuration (fw_cfg) device
162attach 	qemufwcfg at fdt with qemufwcfg_fdt
163file	dev/fdt/qemufwcfg_fdt.c			qemufwcfg_fdt
164
165# ARM PrimeCell General Purpose Input/Output (PL061)
166attach 	plgpio at fdt with plgpio_fdt
167file	dev/fdt/pl061gpio_fdt.c			plgpio_fdt
168
169# AHCI SATA controller
170attach	ahcisata at fdt with ahcisata_fdt
171file	dev/fdt/ahcisata_fdt.c			ahcisata_fdt
172
173# Designware I2C
174attach 	dwiic at fdt with dwiic_fdt
175file	dev/fdt/dwiic_fdt.c			dwiic_fdt
176
177# AMD Cryptographic Coprocessor
178attach	amdccp at fdt with amdccp_fdt
179file	dev/fdt/amdccp_fdt.c			amdccp_fdt
180
181# Arasan SDHCI controller
182attach	sdhc at fdt with arasan_sdhc_fdt
183file	dev/fdt/arasan_sdhc_fdt.c		arasan_sdhc_fdt
184
185# Generic USB PHY
186device	usbnopphy
187attach	usbnopphy at fdt
188file	dev/fdt/usbnopphy.c			usbnopphy
189
190# Simple Amplifier Audio Driver
191device	simpleamp
192attach	simpleamp at fdt
193file	dev/fdt/simple_amplifier.c		simpleamp
194
195# Broadcom GENET v5
196attach	genet at fdt with genet_fdt
197file	dev/fdt/genet_fdt.c			genet_fdt
198
199# VMware Tools driver
200attach	vmt at fdt with vmt_fdt
201file	dev/fdt/vmt_fdt.c			vmt_fdt
202