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