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