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