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