files.fdt revision 1.75 1 1.75 thorpej # $NetBSD: files.fdt,v 1.75 2025/09/06 21:02:42 thorpej Exp $
2 1.1 jmcneill
3 1.1 jmcneill include "external/bsd/libfdt/conf/files.libfdt"
4 1.1 jmcneill
5 1.39 skrll defflag opt_fdt.h FDTBASE : libfdt, ofw_subr
6 1.39 skrll defflag opt_fdt.h FDT: FDTBASE
7 1.57 skrll defparam opt_fdt.h FDT_MEMORY_RANGES
8 1.54 jmcneill defparam opt_fdt.h FDT_DEFAULT_STDOUT_PATH
9 1.1 jmcneill
10 1.74 thorpej file dev/fdt/fdt_boot.c fdtbase
11 1.74 thorpej file dev/fdt/fdt_memory.c fdtbase
12 1.74 thorpej file dev/fdt/fdt_openfirm.c fdtbase
13 1.74 thorpej file dev/fdt/fdt_stub.c fdtbase
14 1.74 thorpej file dev/fdt/fdt_subr.c fdtbase
15 1.74 thorpej
16 1.74 thorpej define fdt_clock: clk
17 1.74 thorpej file dev/fdt/fdt_clock.c fdt & fdt_clock
18 1.74 thorpej
19 1.74 thorpej define fdt_dai
20 1.74 thorpej file dev/fdt/fdt_dai.c fdt & fdt_dai
21 1.74 thorpej
22 1.74 thorpej define fdt_dma
23 1.74 thorpej file dev/fdt/fdt_dma.c fdt & fdt_dma
24 1.74 thorpej
25 1.74 thorpej file dev/fdt/fdt_ddb.c fdt & ddb
26 1.74 thorpej
27 1.74 thorpej define fdt_display_timing
28 1.74 thorpej file dev/fdt/display_timing.c fdt & fdt_display_timing
29 1.74 thorpej
30 1.74 thorpej define fdt_gpio
31 1.74 thorpej file dev/fdt/fdt_gpio.c fdt & fdt_gpio
32 1.74 thorpej
33 1.74 thorpej define fdt_i2c
34 1.74 thorpej file dev/fdt/fdt_i2c.c fdt & fdt_i2c
35 1.74 thorpej
36 1.74 thorpej # Interrupt support is basically always required.
37 1.74 thorpej # XXX Maybe it should be considered FDTBASE?
38 1.74 thorpej file dev/fdt/fdt_intr.c fdt
39 1.74 thorpej
40 1.74 thorpej define fdt_iommu
41 1.74 thorpej file dev/fdt/fdt_iommu.c fdt & fdt_iommu
42 1.74 thorpej
43 1.74 thorpej define fdt_mbox
44 1.74 thorpej file dev/fdt/fdt_mbox.c fdt & fdt_mbox
45 1.74 thorpej
46 1.74 thorpej define fdt_mmc_pwrseq
47 1.74 thorpej file dev/fdt/fdt_mmc_pwrseq.c fdt & fdt_mmc_pwrseq
48 1.74 thorpej
49 1.74 thorpej define fdt_phy
50 1.74 thorpej file dev/fdt/fdt_phy.c fdt & fdt_phy
51 1.74 thorpej
52 1.74 thorpej define fdt_power
53 1.74 thorpej file dev/fdt/fdt_power.c fdt & fdt_power
54 1.74 thorpej
55 1.74 thorpej define fdt_powerdomain
56 1.74 thorpej file dev/fdt/fdt_powerdomain.c fdt & fdt_powerdomain
57 1.74 thorpej
58 1.74 thorpej define fdt_pwm: pwm
59 1.74 thorpej file dev/fdt/fdt_pwm.c fdt & fdt_pwm
60 1.74 thorpej
61 1.74 thorpej define fdt_regulator
62 1.74 thorpej file dev/fdt/fdt_regulator.c fdt & fdt_regulator
63 1.74 thorpej
64 1.74 thorpej define fdt_reset
65 1.74 thorpej file dev/fdt/fdt_reset.c fdt & fdt_reset
66 1.74 thorpej
67 1.74 thorpej # XXX See kern/59630
68 1.74 thorpej file dev/fdt/fdt_rtc.c fdt
69 1.74 thorpej
70 1.74 thorpej define fdt_spi
71 1.74 thorpej file dev/fdt/fdt_spi.c fdt & fdt_spi
72 1.74 thorpej
73 1.74 thorpej # XXX arch/arm/ti/files.ti -- ti_cpufreq.c
74 1.74 thorpej defflag opt_fdt.h FDT_SYSCON
75 1.74 thorpej define fdt_syscon
76 1.74 thorpej file dev/fdt/fdt_syscon.c fdt & fdt_syscon
77 1.74 thorpej
78 1.74 thorpej define fdt_pinctrl
79 1.74 thorpej file dev/fdt/fdt_pinctrl.c fdt & fdt_pinctrl
80 1.74 thorpej
81 1.74 thorpej define fdt { [pass = 10] }
82 1.1 jmcneill
83 1.61 thorpej device simplebus: fdt
84 1.35 jmcneill attach simplebus at fdt
85 1.1 jmcneill file dev/fdt/fdtbus.c fdt
86 1.1 jmcneill
87 1.64 jmcneill file dev/fdt/fdt_userconf.c fdt & userconf
88 1.64 jmcneill
89 1.74 thorpej device fregulator: fdt_gpio, fdt_regulator
90 1.1 jmcneill attach fregulator at fdt
91 1.1 jmcneill file dev/fdt/fixedregulator.c fregulator
92 1.1 jmcneill
93 1.74 thorpej device gregulator: fdt_gpio, fdt_regulator
94 1.20 jmcneill attach gregulator at fdt
95 1.20 jmcneill file dev/fdt/gpioregulator.c gregulator
96 1.20 jmcneill
97 1.74 thorpej device pregulator: fdt_gpio, fdt_pwm, fdt_regulator
98 1.60 ryo attach pregulator at fdt
99 1.60 ryo file dev/fdt/pwmregulator.c pregulator
100 1.60 ryo
101 1.74 thorpej device fclock: fdt_clock
102 1.9 jmcneill attach fclock at fdt
103 1.9 jmcneill file dev/fdt/fixedclock.c fclock
104 1.9 jmcneill
105 1.74 thorpej device ffclock: fdt_clock
106 1.19 jmcneill attach ffclock at fdt
107 1.19 jmcneill file dev/fdt/fixedfactorclock.c ffclock
108 1.19 jmcneill
109 1.74 thorpej device gpiokeys: fdt_gpio, sysmon_envsys, sysmon_power, wskbddev, linux_keymap
110 1.2 jmcneill attach gpiokeys at fdt
111 1.2 jmcneill file dev/fdt/gpiokeys.c gpiokeys
112 1.2 jmcneill
113 1.74 thorpej device gpioleds: fdt_gpio, leds
114 1.18 jmcneill attach gpioleds at fdt
115 1.18 jmcneill file dev/fdt/gpioleds.c gpioleds
116 1.18 jmcneill
117 1.23 bouyer file dev/fdt/fdt_port.c fdt_port
118 1.23 bouyer
119 1.23 bouyer device connector: fdt_port
120 1.23 bouyer attach connector at fdt with fdt_connector
121 1.23 bouyer file dev/fdt/connector_fdt.c fdt_connector
122 1.23 bouyer
123 1.74 thorpej device panel: fdt_gpio, fdt_port
124 1.23 bouyer attach panel at fdt with fdt_panel
125 1.23 bouyer file dev/fdt/panel_fdt.c fdt_panel
126 1.23 bouyer
127 1.74 thorpej attach panel at fdt with panel_fdt: fdt_gpio, fdt_regulator, drmkms
128 1.49 jakllsch file dev/fdt/fdt_panel.c panel_fdt
129 1.65 riastrad makeoptions panel_fdt "CPPFLAGS.panel_fdt"+="${CPPFLAGS.drmkms}"
130 1.49 jakllsch
131 1.74 thorpej device dispcon: fdt_gpio, fdt_port, drmkms, ddc_read_edid
132 1.42 jmcneill attach dispcon at fdt with dispcon_hdmi
133 1.42 jmcneill file dev/fdt/hdmi_connector.c dispcon_hdmi
134 1.65 riastrad makeoptions dispcon_hdmi "CPPFLAGS.dispcon_hdmi"+="${CPPFLAGS.drmkms}"
135 1.42 jmcneill
136 1.74 thorpej device iicmux: fdt_i2c, i2cbus, i2cmux
137 1.74 thorpej attach iicmux at fdt with iicmux_fdt: fdt_gpio, fdt_pinctrl
138 1.58 thorpej file dev/fdt/i2cmux_fdt.c iicmux_fdt
139 1.58 thorpej
140 1.61 thorpej device cpus: fdt
141 1.13 jmcneill attach cpus at fdt
142 1.13 jmcneill file dev/fdt/cpus.c cpus
143 1.16 jmcneill
144 1.74 thorpej device mmcpwrseq: fdt_gpio, fdt_mmc_pwrseq
145 1.74 thorpej attach mmcpwrseq at fdt with mmcpwrseq_simple: fdt_clock
146 1.43 jmcneill file dev/fdt/mmc_pwrseq_simple.c mmcpwrseq_simple
147 1.43 jmcneill attach mmcpwrseq at fdt with mmcpwrseq_emmc
148 1.43 jmcneill file dev/fdt/mmc_pwrseq_emmc.c mmcpwrseq_emmc
149 1.22 jmcneill
150 1.74 thorpej device syscon: fdt, fdt_syscon
151 1.34 jmcneill attach syscon at fdt
152 1.34 jmcneill file dev/fdt/syscon.c syscon
153 1.34 jmcneill
154 1.74 thorpej device pinctrl: fdt_pinctrl
155 1.46 jmcneill attach pinctrl at fdt with pinctrl_single
156 1.46 jmcneill file dev/fdt/pinctrl_single.c pinctrl_single
157 1.46 jmcneill
158 1.74 thorpej device pwmbacklight: fdt_gpio, fdt_pwm
159 1.25 jmcneill attach pwmbacklight at fdt
160 1.25 jmcneill file dev/fdt/pwm_backlight.c pwmbacklight
161 1.25 jmcneill
162 1.74 thorpej device pwmfan: fdt_pwm
163 1.36 jmcneill attach pwmfan at fdt
164 1.36 jmcneill file dev/fdt/pwm_fan.c pwmfan
165 1.36 jmcneill
166 1.74 thorpej device ausoc: fdt_dai, audiobus
167 1.26 jmcneill attach ausoc at fdt
168 1.26 jmcneill file dev/fdt/ausoc.c ausoc
169 1.26 jmcneill
170 1.74 thorpej device spdiftx: fdt_dai
171 1.48 jmcneill attach spdiftx at fdt
172 1.48 jmcneill file dev/fdt/spdif_tx.c spdiftx
173 1.48 jmcneill
174 1.28 jmcneill # Display controller
175 1.28 jmcneill attach genfb at fdt with simplefb
176 1.28 jmcneill file dev/fdt/simplefb.c simplefb
177 1.28 jmcneill
178 1.53 jmcneill # NS 8250 compatible UART
179 1.74 thorpej attach com at fdt with ns8250_uart: fdt_clock
180 1.53 jmcneill file dev/fdt/ns8250_uart.c ns8250_uart
181 1.53 jmcneill
182 1.27 jmcneill # Designware APB UART
183 1.74 thorpej attach com at fdt with dw_apb_uart: fdt_clock, fdt_reset
184 1.27 jmcneill file dev/fdt/dw_apb_uart.c dw_apb_uart
185 1.27 jmcneill
186 1.52 tnn # EHCI
187 1.74 thorpej attach ehci at fdt with ehci_fdt: fdt_clock, fdt_phy, fdt_reset
188 1.52 tnn file dev/fdt/ehci_fdt.c ehci_fdt
189 1.52 tnn
190 1.52 tnn # OHCI
191 1.74 thorpej attach ohci at fdt with ohci_fdt: fdt_clock, fdt_phy, fdt_reset
192 1.52 tnn file dev/fdt/ohci_fdt.c ohci_fdt
193 1.52 tnn
194 1.72 skrll # Cadence USB3 XHCI
195 1.74 thorpej attach xhci at fdt with cdns3_fdt: fdt_phy
196 1.72 skrll file dev/fdt/cdns3_fdt.c cdns3_fdt
197 1.72 skrll
198 1.32 jmcneill # Designware USB2 OTG
199 1.74 thorpej attach dwctwo at fdt with dwc2_fdt: fdt_clock, fdt_phy
200 1.32 jmcneill file dev/fdt/dwc2_fdt.c dwc2_fdt
201 1.32 jmcneill
202 1.24 jmcneill # Designware USB3 XHCI
203 1.74 thorpej attach xhci at fdt with dwc3_fdt: fdt_clock, fdt_phy, fdt_reset
204 1.24 jmcneill file dev/fdt/dwc3_fdt.c dwc3_fdt
205 1.29 jakllsch
206 1.32 jmcneill # Designware SD/MMC
207 1.74 thorpej attach dwcmmc at fdt with dwcmmc_fdt: fdt_clock, fdt_gpio, fdt_mmc_pwrseq, fdt_regulator
208 1.32 jmcneill file dev/fdt/dwcmmc_fdt.c dwcmmc_fdt
209 1.32 jmcneill
210 1.33 jmcneill # Designware Watchdog Timer
211 1.74 thorpej attach dwcwdt at fdt with dwcwdt_fdt: fdt_clock, fdt_reset
212 1.33 jmcneill file dev/fdt/dwcwdt_fdt.c dwcwdt_fdt
213 1.33 jmcneill
214 1.29 jakllsch # Virtio virtio,mmio
215 1.29 jakllsch attach virtio at fdt with virtio_mmio_fdt: virtio_mmio
216 1.29 jakllsch file dev/fdt/virtio_mmio_fdt.c virtio_mmio_fdt
217 1.30 jakllsch
218 1.30 jakllsch # QEMU Firmware Configuration (fw_cfg) device
219 1.30 jakllsch attach qemufwcfg at fdt with qemufwcfg_fdt
220 1.30 jakllsch file dev/fdt/qemufwcfg_fdt.c qemufwcfg_fdt
221 1.31 jakllsch
222 1.40 jmcneill # ARM PrimeCell General Purpose Input/Output (PL061)
223 1.74 thorpej attach plgpio at fdt with plgpio_fdt: fdt_gpio
224 1.40 jmcneill file dev/fdt/pl061gpio_fdt.c plgpio_fdt
225 1.37 jmcneill
226 1.37 jmcneill # AHCI SATA controller
227 1.74 thorpej attach ahcisata at fdt with ahcisata_fdt: fdt_clock, fdt_reset
228 1.37 jmcneill file dev/fdt/ahcisata_fdt.c ahcisata_fdt
229 1.38 jakllsch
230 1.38 jakllsch # Designware I2C
231 1.74 thorpej attach dwiic at fdt with dwiic_fdt: fdt_clock, fdt_i2c, fdt_reset
232 1.38 jakllsch file dev/fdt/dwiic_fdt.c dwiic_fdt
233 1.41 jakllsch
234 1.66 jmcneill # Cadence I2C
235 1.74 thorpej attach cdnsiic at fdt with cdnsiic_fdt: fdt_clock, fdt_i2c
236 1.66 jmcneill file dev/fdt/cdnsiic_fdt.c cdnsiic_fdt
237 1.66 jmcneill
238 1.41 jakllsch # AMD Cryptographic Coprocessor
239 1.41 jakllsch attach amdccp at fdt with amdccp_fdt
240 1.41 jakllsch file dev/fdt/amdccp_fdt.c amdccp_fdt
241 1.44 jmcneill
242 1.44 jmcneill # Arasan SDHCI controller
243 1.74 thorpej attach sdhc at fdt with arasan_sdhc_fdt: fdt_clock, fdt_phy, fdt_syscon
244 1.44 jmcneill file dev/fdt/arasan_sdhc_fdt.c arasan_sdhc_fdt
245 1.47 jmcneill
246 1.47 jmcneill # Generic USB PHY
247 1.74 thorpej device usbnopphy: fdt_clock, fdt_gpio, fdt_phy, fdt_regulator
248 1.47 jmcneill attach usbnopphy at fdt
249 1.47 jmcneill file dev/fdt/usbnopphy.c usbnopphy
250 1.50 jmcneill
251 1.50 jmcneill # Simple Amplifier Audio Driver
252 1.74 thorpej device simpleamp: fdt_dai, fdt_gpio, fdt_regulator
253 1.50 jmcneill attach simpleamp at fdt
254 1.50 jmcneill file dev/fdt/simple_amplifier.c simpleamp
255 1.50 jmcneill
256 1.51 jmcneill # Broadcom GENET v5
257 1.51 jmcneill attach genet at fdt with genet_fdt
258 1.51 jmcneill file dev/fdt/genet_fdt.c genet_fdt
259 1.55 ryo
260 1.70 skrll # Google Goldfish RTC
261 1.70 skrll attach gfrtc at fdt with gfrtc_fdt
262 1.70 skrll file dev/fdt/gfrtc_fdt.c gfrtc_fdt
263