xref: /openbsd-src/sys/dev/fdt/files.fdt (revision 3374c67d44f9b75b98444cbf63020f777792342e)
1#	$OpenBSD: files.fdt,v 1.174 2023/01/01 01:34:33 jsg Exp $
2#
3# Config file and device description for machine-independent FDT code.
4# Included by ports that need it.
5
6define	spmi {}
7
8device	iicmux: i2cbus
9attach	iicmux at fdt
10file	dev/fdt/iicmux.c		iicmux
11
12device	pinctrl
13attach	pinctrl at fdt
14file	dev/fdt/pinctrl.c		pinctrl
15
16device	graphaudio: audio
17attach	graphaudio at fdt
18file	dev/fdt/graphaudio.c		graphaudio
19
20device	simpleamp
21attach	simpleamp at fdt
22file	dev/fdt/simpleamp.c		simpleamp
23
24device	simpleaudio: audio
25attach	simpleaudio at fdt
26file	dev/fdt/simpleaudio.c		simpleaudio
27
28device	simplefb: wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32
29attach	simplefb at fdt
30file	dev/fdt/simplefb.c		simplefb
31
32device	simplepanel
33attach	simplepanel at fdt
34file	dev/fdt/simplepanel.c		simplepanel
35
36device	sxiccmu
37attach	sxiccmu at fdt
38file	dev/fdt/sxiccmu.c		sxiccmu
39
40device	sxidog
41attach	sxidog at fdt
42file	dev/fdt/sxidog.c		sxidog
43
44device	sxipio {}: gpiobus
45attach	sxipio at fdt
46file	dev/fdt/sxipio.c		sxipio
47
48define	rsb {}
49device	sxirsb: rsb
50attach	sxirsb at fdt
51file	dev/fdt/sxirsb.c		sxirsb
52
53device	sxipwm
54attach	sxipwm at fdt
55file	dev/fdt/sxipwm.c		sxipwm
56
57device	sxirtc
58attach	sxirtc at fdt
59file	dev/fdt/sxirtc.c		sxirtc
60
61device	sximmc: sdmmcbus
62attach	sximmc at fdt
63file	dev/fdt/sximmc.c		sximmc
64
65device	sxirintc
66attach	sxirintc at fdt
67file	dev/fdt/sxirintc.c		sxirintc
68
69device	sxisid
70attach	sxisid at fdt
71file	dev/fdt/sxisid.c		sxisid
72
73device	sxisyscon: fdt
74attach	sxisyscon at fdt
75file	dev/fdt/sxisyscon.c		sxisyscon
76
77device	sxitemp
78attach	sxitemp at fdt
79file	dev/fdt/sxitemp.c		sxitemp
80
81device	sxits
82attach	sxits at fdt
83file	dev/fdt/sxits.c			sxits
84
85device	sxitwi: i2cbus
86attach	sxitwi at fdt
87file	dev/fdt/sxitwi.c		sxitwi
88
89device	axppmic
90attach	axppmic at i2c
91attach	axppmic at rsb with axppmic_rsb
92file	dev/fdt/axppmic.c		axppmic
93
94device	fanpwr
95attach	fanpwr at i2c
96file	dev/fdt/fanpwr.c		fanpwr
97
98device	sypwr
99attach	sypwr at i2c
100file	dev/fdt/sypwr.c			sypwr
101
102device	bcmaux
103attach	bcmaux at fdt
104file	dev/fdt/bcm2835_aux.c		bcmaux
105
106device	bcmbsc: i2cbus
107attach	bcmbsc at fdt
108file	dev/fdt/bcm2835_bsc.c		bcmbsc
109
110device	bcmclock
111attach	bcmclock at fdt
112file	dev/fdt/bcm2835_clock.c		bcmclock
113
114device	bcmdmac
115attach	bcmdmac at fdt
116file	dev/fdt/bcm2835_dmac.c		bcmdmac
117
118device	bcmdog
119attach	bcmdog at fdt
120file	dev/fdt/bcm2835_dog.c		bcmdog
121
122device	bcmgpio: gpiobus
123attach	bcmgpio at fdt
124file	dev/fdt/bcm2835_gpio.c		bcmgpio
125
126device	bcmirng
127attach	bcmirng at fdt
128file	dev/fdt/bcm2711_rng.c		bcmirng
129
130device	bcmmbox
131attach	bcmmbox at fdt
132file	dev/fdt/bcm2835_mbox.c		bcmmbox
133
134device	bcmpcie: pcibus
135attach	bcmpcie at fdt
136file	dev/fdt/bcm2711_pcie.c		bcmpcie
137
138device	bcmrng
139attach	bcmrng at fdt
140file	dev/fdt/bcm2835_rng.c		bcmrng
141
142device	bcmsdhost: sdmmcbus
143attach	bcmsdhost at fdt
144file	dev/fdt/bcm2835_sdhost.c	bcmsdhost
145
146device	bcmtemp
147attach	bcmtemp at fdt
148file	dev/fdt/bcm2835_temp.c		bcmtemp
149
150device	bcmtmon
151attach  bcmtmon at fdt
152file    dev/fdt/bcm2711_tmon.c		bcmtmon
153
154attach	bse at fdt with bse_fdt
155file	dev/fdt/if_bse_fdt.c		bse_fdt
156
157include	"dev/usb/dwc2/files.dwc2"
158attach	dwctwo at fdt with bcmdwctwo
159file	dev/fdt/bcm2835_dwctwo.c	bcmdwctwo	needs-flag
160
161device	exrtc
162attach	exrtc at fdt
163file	dev/fdt/exrtc.c			exrtc
164
165device	exuart
166attach	exuart at fdt
167file	dev/fdt/exuart.c		exuart
168
169# Google Goldfish real-time clock
170device	gfrtc
171attach	gfrtc at fdt
172file	dev/fdt/gfrtc.c			gfrtc
173
174# OpenCores I2C controller
175device	ociic: i2cbus
176attach	ociic at fdt
177file	dev/fdt/ociic.c			ociic
178
179# ARM PrimeCell PL061 General Purpose Input/Output
180device	plgpio
181attach	plgpio at fdt
182file	dev/fdt/plgpio.c		plgpio
183
184# ARM PrimeCell PL031 Real-time clock
185device	plrtc
186attach	plrtc at fdt
187file	dev/fdt/plrtc.c			plrtc
188
189# ARM PrimeCell PL011 UART
190attach	pluart at fdt with pluart_fdt
191file	dev/fdt/pluart_fdt.c		pluart_fdt
192
193# ARM Power State Coordination Interface
194device	psci
195attach	psci at fdt
196file	dev/fdt/psci.c			psci needs-flag
197
198attach	virtio at fdt with virtio_mmio
199file	dev/fdt/virtio_mmio.c		virtio_mmio
200
201# Advanced Host Controller Interface for Serial ATA
202attach	ahci at fdt with ahci_fdt
203file	dev/fdt/ahci_fdt.c		ahci_fdt
204
205# Synopsis Designware GMAC core
206device	dwge: ether, ifnet, mii, ifmedia
207attach	dwge at fdt
208file	dev/fdt/if_dwge.c		dwge
209
210attach	ehci at fdt with ehci_fdt
211file	dev/fdt/ehci_fdt.c		ehci_fdt
212
213attach	ohci at fdt with ohci_fdt
214file	dev/fdt/ohci_fdt.c		ohci_fdt
215
216attach	sdhc at fdt with sdhc_fdt
217file	dev/fdt/sdhc_fdt.c		sdhc_fdt
218
219attach	xhci at fdt with xhci_fdt
220file	dev/fdt/xhci_fdt.c		xhci_fdt
221
222device	syscon: fdt
223attach	syscon at fdt
224file	dev/fdt/syscon.c		syscon
225
226device	pwmbl
227attach	pwmbl at fdt
228file	dev/fdt/pwmbl.c			pwmbl
229
230device	pwmfan
231attach	pwmfan at fdt
232file	dev/fdt/pwmfan.c		pwmfan
233
234device	pwmleds
235attach	pwmleds at fdt
236file	dev/fdt/pwmleds.c		pwmleds
237
238device	pwmreg
239attach	pwmreg at fdt
240file	dev/fdt/pwmreg.c		pwmreg
241
242device	amlclock
243attach	amlclock at fdt
244file	dev/fdt/amlclock.c		amlclock
245
246device	amldwusb: fdt
247attach	amldwusb at fdt
248file	dev/fdt/amldwusb.c		amldwusb
249
250device	amliic: i2cbus
251attach	amliic at fdt
252file	dev/fdt/amliic.c		amliic
253
254device	amlmmc: sdmmcbus
255attach	amlmmc at fdt
256file	dev/fdt/amlmmc.c		amlmmc
257
258device	amlpciephy
259attach	amlpciephy at fdt
260file	dev/fdt/amlpciephy.c		amlpciephy
261
262device	amlpinctrl
263attach	amlpinctrl at fdt
264file	dev/fdt/amlpinctrl.c		amlpinctrl
265
266device	amlpwm
267attach	amlpwm at fdt
268file	dev/fdt/amlpwm.c		amlpwm
269
270device	amlpwrc
271attach	amlpwrc at fdt
272file	dev/fdt/amlpwrc.c		amlpwrc
273
274device	amlreset
275attach	amlreset at fdt
276file	dev/fdt/amlreset.c		amlreset
277
278device	amlrng
279attach	amlrng at fdt
280file	dev/fdt/amlrng.c		amlrng
281
282device	amlsm
283attach	amlsm at fdt
284file	dev/fdt/amlsm.c			amlsm
285
286device	amltemp
287attach	amltemp at fdt
288file	dev/fdt/amltemp.c		amltemp
289
290device	amluart
291attach	amluart at fdt
292file	dev/fdt/amluart.c		amluart
293
294device	amlusbphy
295attach	amlusbphy at fdt
296file	dev/fdt/amlusbphy.c		amlusbphy
297
298device	cad: ether, ifnet, mii, ifmedia
299attach	cad at fdt
300file	dev/fdt/if_cad.c		cad
301
302device	cdsdhc: sdmmcbus, sdhc
303attach	cdsdhc at fdt
304file	dev/fdt/cdsdhc.c		cdsdhc
305
306device	cduart
307attach	cduart at fdt
308file	dev/fdt/cduart.c		cduart
309
310device	hiclock
311attach	hiclock at fdt
312file	dev/fdt/hiclock.c		hiclock
313
314device	hidwusb: fdt
315attach	hidwusb at fdt
316file	dev/fdt/hidwusb.c		hidwusb
317
318device	hireset
319attach	hireset at fdt
320file	dev/fdt/hireset.c		hireset
321
322device	hitemp
323attach	hitemp at fdt
324file	dev/fdt/hitemp.c		hitemp
325
326device	rkanxdp
327attach	rkanxdp at fdt
328file	dev/fdt/rkanxdp.c		rkanxdp
329file	dev/ic/anxdp.c			rkanxdp
330
331device	rkclock
332attach	rkclock at fdt
333file	dev/fdt/rkclock.c		rkclock
334
335device	rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32
336attach	rkdrm at fdt
337file	dev/fdt/rkdrm.c				rkdrm
338file	dev/pci/drm/drm_gem_dma_helper.c	rkdrm
339
340device	rkdwhdmi: dwhdmi, i2cbus
341attach	rkdwhdmi at fdt
342file	dev/fdt/rkdwhdmi.c		rkdwhdmi
343
344device	rkdwusb: fdt
345attach	rkdwusb at fdt
346file	dev/fdt/rkdwusb.c		rkdwusb
347
348device	rkemmcphy
349attach	rkemmcphy at fdt
350file	dev/fdt/rkemmcphy.c		rkemmcphy
351
352device	rkgrf: fdt
353attach	rkgrf at fdt
354file	dev/fdt/rkgrf.c			rkgrf
355
356device	rkgpio
357attach	rkgpio at fdt
358file	dev/fdt/rkgpio.c		rkgpio
359
360device	rkiic: i2cbus
361attach	rkiic at fdt
362file	dev/fdt/rkiic.c			rkiic
363
364device	rkiis
365attach	rkiis at fdt
366file	dev/fdt/rkiis.c			rkiis
367
368device	rkpmic
369attach	rkpmic at i2c
370file	dev/fdt/rkpmic.c		rkpmic
371
372device	rkpinctrl: fdt
373attach	rkpinctrl at fdt
374file	dev/fdt/rkpinctrl.c		rkpinctrl
375
376device	rkpcie: pcibus
377attach	rkpcie at fdt
378file	dev/fdt/rkpcie.c		rkpcie
379
380device	rkpwm
381attach	rkpwm at fdt
382file	dev/fdt/rkpwm.c			rkpwm
383
384device	rkrng
385attach	rkrng at fdt
386file	dev/fdt/rkrng.c			rkrng
387
388device	rktcphy: fdt
389attach	rktcphy at fdt
390file	dev/fdt/rktcphy.c		rktcphy
391
392device	rktemp
393attach	rktemp at fdt
394file	dev/fdt/rktemp.c		rktemp
395
396device	rkvop
397attach	rkvop at fdt
398file	dev/fdt/rkvop.c			rkvop
399
400device	dwmmc: sdmmcbus
401attach	dwmmc at fdt
402file	dev/fdt/dwmmc.c			dwmmc
403
404device	dwdog
405attach	dwdog at fdt
406file	dev/fdt/dwdog.c			dwdog
407
408device	dwpcie: pcibus
409attach	dwpcie at fdt
410file	dev/fdt/dwpcie.c		dwpcie
411
412define	spi {}
413device	moxtet
414attach	moxtet at spi
415file	dev/fdt/moxtet.c		moxtet
416
417device	mvclock
418attach	mvclock at fdt
419file	dev/fdt/mvclock.c		mvclock
420
421device	mvdog
422attach	mvdog at fdt
423file	dev/fdt/mvdog.c			mvdog
424
425device	mvgicp
426attach	mvgicp at fdt
427file	dev/fdt/mvgicp.c		mvgicp
428
429device	mvgpio
430attach	mvgpio at fdt
431file	dev/fdt/mvgpio.c		mvgpio
432
433device	mvicu
434attach	mvicu at fdt
435file	dev/fdt/mvicu.c			mvicu
436
437device	mviic: i2cbus
438attach	mviic at fdt
439file	dev/fdt/mviic.c			mviic
440
441device	mvkpcie: pcibus
442attach	mvkpcie at fdt
443file	dev/fdt/mvkpcie.c		mvkpcie
444
445device	mvpinctrl
446attach	mvpinctrl at fdt
447file	dev/fdt/mvpinctrl.c		mvpinctrl
448
449device	mvmdio: fdt
450attach	mvmdio at fdt
451file	dev/fdt/mvmdio.c		mvmdio
452
453device	mvneta: ether, ifnet, mii, ifmedia
454attach	mvneta at fdt
455file	dev/fdt/if_mvneta.c		mvneta
456
457device	mvppc {}
458attach	mvppc at fdt
459device	mvpp: ether, ifnet, mii, ifmedia
460attach	mvpp at mvppc
461file	dev/fdt/if_mvpp.c		mvppc | mvpp
462
463device	mvrng
464attach	mvrng at fdt
465file	dev/fdt/mvrng.c			mvrng
466
467device	mvrtc
468attach	mvrtc at fdt
469file	dev/fdt/mvrtc.c			mvrtc
470
471device	mvspi: spi
472attach	mvspi at fdt
473file	dev/fdt/mvspi.c			mvspi
474
475device	mvsw
476attach	mvsw at fdt
477file	dev/fdt/mvsw.c			mvsw
478
479device	mvtemp
480attach	mvtemp at fdt
481file	dev/fdt/mvtemp.c		mvtemp
482
483device	mvuart
484attach	mvuart at fdt
485file	dev/fdt/mvuart.c		mvuart
486
487device	dwxe: ether, ifnet, mii, ifmedia
488attach	dwxe at fdt
489file	dev/fdt/if_dwxe.c		dwxe
490
491device	acrtc
492attach	acrtc at rsb
493file	dev/fdt/acrtc.c			acrtc
494
495device	imxanatop
496attach	imxanatop at fdt
497file	dev/fdt/imxanatop.c		imxanatop
498
499device	imxccm
500attach	imxccm at fdt
501file	dev/fdt/imxccm.c		imxccm
502
503device	imxdog
504attach	imxdog at fdt
505file	dev/fdt/imxdog.c		imxdog
506
507device	imxdwusb: fdt
508attach	imxdwusb at fdt
509file	dev/fdt/imxdwusb.c		imxdwusb
510
511device	imxehci: usbus
512attach	imxehci at fdt
513file	dev/fdt/imxehci.c		imxehci
514
515device	imxesdhc: sdmmcbus
516attach	imxesdhc at fdt
517file	dev/fdt/imxesdhc.c		imxesdhc
518
519device	imxgpc
520attach	imxgpc at fdt
521file	dev/fdt/imxgpc.c		imxgpc
522
523device	imxgpio
524attach	imxgpio at fdt
525file	dev/fdt/imxgpio.c		imxgpio
526
527attach	imxiic at fdt with imxiic_fdt
528file	dev/fdt/imxiic_fdt.c		imxiic_fdt
529
530device	imxiomuxc
531attach	imxiomuxc at fdt
532file	dev/fdt/imxiomuxc.c		imxiomuxc
533
534device	imxpciephy
535attach	imxpciephy at fdt
536file	dev/fdt/imxpciephy.c		imxpciephy
537
538device	imxpwm
539attach	imxpwm at fdt
540file	dev/fdt/imxpwm.c		imxpwm
541
542device	imxrtc
543attach	imxrtc at fdt
544file	dev/fdt/imxrtc.c		imxrtc
545
546device	imxsrc: fdt
547attach	imxsrc at fdt
548file	dev/fdt/imxsrc.c		imxsrc
549
550device	imxtmu
551attach	imxtmu at fdt
552file	dev/fdt/imxtmu.c		imxtmu
553
554device	imxuart
555attach	imxuart at fdt
556file	dev/fdt/imxuart.c		imxuart
557
558device	fec: ether, ifnet, mii, ifmedia
559attach	fec at fdt
560file	dev/fdt/if_fec.c		fec
561
562device	imxspi: spi
563attach	imxspi at fdt
564file	dev/fdt/imxspi.c		imxspi
565
566attach	ccp at fdt with ccp_fdt
567file	dev/fdt/ccp_fdt.c		ccp_fdt
568
569attach	com at fdt with com_fdt
570file	dev/fdt/com_fdt.c		com_fdt
571
572attach	ipmi at fdt with ipmi_fdt
573file	dev/fdt/ipmi_fdt.c		ipmi_fdt
574
575device	ssdfb: wsemuldisplaydev, rasops1
576attach	ssdfb at spi with ssdfb_spi
577attach	ssdfb at i2c with ssdfb_i2c
578file	dev/fdt/ssdfb.c			ssdfb
579
580device	fusbtc
581attach	fusbtc at i2c
582file	dev/fdt/fusbtc.c		fusbtc
583
584device	sfp
585attach	sfp at fdt
586file	dev/fdt/sfp.c			sfp
587
588# ROHM BD718x7 Regulator
589device	bdpmic
590attach	bdpmic at i2c
591file	dev/fdt/bd718x7.c		bdpmic
592
593device	tcpci
594attach	tcpci at i2c
595file	dev/fdt/tcpci.c			tcpci
596
597device	escodec
598attach	escodec at i2c
599file	dev/fdt/es8316ac.c		escodec
600
601device	cwfg
602attach	cwfg at i2c
603file	dev/fdt/cwfg.c			cwfg
604
605# Dialog DA9063 PMIC
606device	dapmic
607attach	dapmic at i2c
608file	dev/fdt/dapmic.c		dapmic
609
610device	gpiobl
611attach	gpiobl at fdt
612file	dev/fdt/gpiobl.c		gpiobl
613
614device	gpiocharger
615attach	gpiocharger at fdt
616file	dev/fdt/gpiocharger.c		gpiocharger
617
618device	gpioleds
619attach	gpioleds at fdt
620file	dev/fdt/gpioleds.c		gpioleds
621
622device	gpiokeys
623attach	gpiokeys at fdt
624file	dev/fdt/gpiokeys.c		gpiokeys
625
626device	gpiorestart
627attach	gpiorestart at fdt
628file	dev/fdt/gpiorestart.c		gpiorestart
629
630device	tascodec
631attach	tascodec at i2c
632file	dev/fdt/tascodec.c		tascodec
633
634device	qcdwusb: fdt
635attach	qcdwusb at fdt
636file	dev/fdt/qcdwusb.c		qcdwusb
637
638# Qualcomm GPIO controller
639attach	qcgpio at fdt with qcgpio_fdt
640file	dev/fdt/qcgpio_fdt.c		qcgpio
641
642# Qualcomm I2C controller
643attach	qciic at fdt with qciic_fdt
644file	dev/fdt/qciic_fdt.c		qciic
645
646# Qualcomm SPMI controller
647device	qcspmi: spmi
648attach	qcspmi at fdt
649file	dev/fdt/qcspmi.c		qcspmi
650
651# Qualcomm Power Domain controller
652device	qcpdc
653attach	qcpdc at fdt
654file	dev/fdt/qcpdc.c			qcpdc
655
656# Qualcomm PMIC
657device	qcpmic: spmi
658attach	qcpmic at spmi
659file	dev/fdt/qcpmic.c		qcpmic
660
661# Qualcomm PMIC GPIO
662device	qcpmicgpio
663attach	qcpmicgpio at spmi
664file	dev/fdt/qcpmicgpio.c		qcpmicgpio
665
666# Qualcomm PMIC PON
667device	qcpon
668attach	qcpon at spmi
669file	dev/fdt/qcpon.c			qcpon
670
671# Qualcomm PMIC PWM
672device	qcpwm
673attach	qcpwm at spmi
674file	dev/fdt/qcpwm.c			qcpwm
675
676# Qualcomm PMIC RTC
677device	qcrtc
678attach	qcrtc at spmi
679file	dev/fdt/qcrtc.c			qcrtc
680
681# TI TPS6598x Type-C controller
682device	tipd
683attach	tipd at i2c
684file	dev/fdt/tipd.c		tipd
685