xref: /openbsd-src/sys/dev/fdt/files.fdt (revision ff0e7be1ebbcc809ea8ad2b6dafe215824da9e46)
1#	$OpenBSD: files.fdt,v 1.192 2023/05/23 14:10:27 patrick 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
198# ARM System Control and Management Interface
199device	scmi
200attach	scmi at fdt
201file	dev/fdt/scmi.c			scmi
202
203attach	virtio at fdt with virtio_mmio
204file	dev/fdt/virtio_mmio.c		virtio_mmio
205
206# Advanced Host Controller Interface for Serial ATA
207attach	ahci at fdt with ahci_fdt
208file	dev/fdt/ahci_fdt.c		ahci_fdt
209
210# Synopsys DesignWare GMAC core
211device	dwge: ether, ifnet, mii, ifmedia
212attach	dwge at fdt
213file	dev/fdt/if_dwge.c		dwge
214
215# Synopsys DesignWare Ethernet QoS
216attach	dwqe at fdt with dwqe_fdt
217file	dev/fdt/if_dwqe_fdt.c		dwqe_fdt
218
219attach	ehci at fdt with ehci_fdt
220file	dev/fdt/ehci_fdt.c		ehci_fdt
221
222attach	ohci at fdt with ohci_fdt
223file	dev/fdt/ohci_fdt.c		ohci_fdt
224
225attach	sdhc at fdt with sdhc_fdt
226file	dev/fdt/sdhc_fdt.c		sdhc_fdt
227
228attach	xhci at fdt with xhci_fdt
229file	dev/fdt/xhci_fdt.c		xhci_fdt
230
231device	syscon: fdt
232attach	syscon at fdt
233file	dev/fdt/syscon.c		syscon
234
235device	pwmbl
236attach	pwmbl at fdt
237file	dev/fdt/pwmbl.c			pwmbl
238
239device	pwmfan
240attach	pwmfan at fdt
241file	dev/fdt/pwmfan.c		pwmfan
242
243device	pwmleds
244attach	pwmleds at fdt
245file	dev/fdt/pwmleds.c		pwmleds
246
247device	pwmreg
248attach	pwmreg at fdt
249file	dev/fdt/pwmreg.c		pwmreg
250
251device	amlclock
252attach	amlclock at fdt
253file	dev/fdt/amlclock.c		amlclock
254
255device	amldwusb: fdt
256attach	amldwusb at fdt
257file	dev/fdt/amldwusb.c		amldwusb
258
259device	amliic: i2cbus
260attach	amliic at fdt
261file	dev/fdt/amliic.c		amliic
262
263device	amlmmc: sdmmcbus
264attach	amlmmc at fdt
265file	dev/fdt/amlmmc.c		amlmmc
266
267device	amlpciephy
268attach	amlpciephy at fdt
269file	dev/fdt/amlpciephy.c		amlpciephy
270
271device	amlpinctrl
272attach	amlpinctrl at fdt
273file	dev/fdt/amlpinctrl.c		amlpinctrl
274
275device	amlpwm
276attach	amlpwm at fdt
277file	dev/fdt/amlpwm.c		amlpwm
278
279device	amlpwrc
280attach	amlpwrc at fdt
281file	dev/fdt/amlpwrc.c		amlpwrc
282
283device	amlreset
284attach	amlreset at fdt
285file	dev/fdt/amlreset.c		amlreset
286
287device	amlrng
288attach	amlrng at fdt
289file	dev/fdt/amlrng.c		amlrng
290
291device	amlsm
292attach	amlsm at fdt
293file	dev/fdt/amlsm.c			amlsm
294
295device	amltemp
296attach	amltemp at fdt
297file	dev/fdt/amltemp.c		amltemp
298
299device	amluart
300attach	amluart at fdt
301file	dev/fdt/amluart.c		amluart
302
303device	amlusbphy
304attach	amlusbphy at fdt
305file	dev/fdt/amlusbphy.c		amlusbphy
306
307device	cad: ether, ifnet, mii, ifmedia
308attach	cad at fdt
309file	dev/fdt/if_cad.c		cad
310
311device	cdsdhc: sdmmcbus, sdhc
312attach	cdsdhc at fdt
313file	dev/fdt/cdsdhc.c		cdsdhc
314
315device	cduart
316attach	cduart at fdt
317file	dev/fdt/cduart.c		cduart
318
319device	hiclock
320attach	hiclock at fdt
321file	dev/fdt/hiclock.c		hiclock
322
323device	hidwusb: fdt
324attach	hidwusb at fdt
325file	dev/fdt/hidwusb.c		hidwusb
326
327device	hireset
328attach	hireset at fdt
329file	dev/fdt/hireset.c		hireset
330
331device	hitemp
332attach	hitemp at fdt
333file	dev/fdt/hitemp.c		hitemp
334
335device	rkanxdp
336attach	rkanxdp at fdt
337file	dev/fdt/rkanxdp.c		rkanxdp
338file	dev/ic/anxdp.c			rkanxdp
339
340device	rkclock
341attach	rkclock at fdt
342file	dev/fdt/rkclock.c		rkclock
343
344device	rkcomphy
345attach	rkcomphy at fdt
346file	dev/fdt/rkcomphy.c		rkcomphy
347
348device	rkusbphy
349attach	rkusbphy at fdt
350file	dev/fdt/rkusbphy.c		rkusbphy
351
352device	rkdrm: drmbase, wsemuldisplaydev, rasops15, rasops16, rasops24, rasops32
353attach	rkdrm at fdt
354file	dev/fdt/rkdrm.c				rkdrm
355file	dev/pci/drm/drm_gem_dma_helper.c	rkdrm
356
357device	rkdwhdmi: dwhdmi, i2cbus
358attach	rkdwhdmi at fdt
359file	dev/fdt/rkdwhdmi.c		rkdwhdmi
360
361device	rkdwusb: fdt
362attach	rkdwusb at fdt
363file	dev/fdt/rkdwusb.c		rkdwusb
364
365device	rkemmcphy
366attach	rkemmcphy at fdt
367file	dev/fdt/rkemmcphy.c		rkemmcphy
368
369device	rkgrf: fdt
370attach	rkgrf at fdt
371file	dev/fdt/rkgrf.c			rkgrf
372
373device	rkgpio
374attach	rkgpio at fdt
375file	dev/fdt/rkgpio.c		rkgpio
376
377device	rkiic: i2cbus
378attach	rkiic at fdt
379file	dev/fdt/rkiic.c			rkiic
380
381device	rkiis
382attach	rkiis at fdt
383file	dev/fdt/rkiis.c			rkiis
384
385device	rkiovd
386attach	rkiovd at fdt
387file	dev/fdt/rkiovd.c		rkiovd
388
389device	rkpcie: pcibus
390attach	rkpcie at fdt
391file	dev/fdt/rkpcie.c		rkpcie
392
393device	rkpciephy
394attach	rkpciephy at fdt
395file	dev/fdt/rkpciephy.c		rkpciephy
396
397device	rkpinctrl: fdt
398attach	rkpinctrl at fdt
399file	dev/fdt/rkpinctrl.c		rkpinctrl
400
401device	rkpmic
402attach	rkpmic at i2c
403file	dev/fdt/rkpmic.c		rkpmic
404
405device	rkpwm
406attach	rkpwm at fdt
407file	dev/fdt/rkpwm.c			rkpwm
408
409device	rkrng
410attach	rkrng at fdt
411file	dev/fdt/rkrng.c			rkrng
412
413device	rktcphy: fdt
414attach	rktcphy at fdt
415file	dev/fdt/rktcphy.c		rktcphy
416
417device	rktemp
418attach	rktemp at fdt
419file	dev/fdt/rktemp.c		rktemp
420
421device	rkvop
422attach	rkvop at fdt
423file	dev/fdt/rkvop.c			rkvop
424
425device	dwmmc: sdmmcbus
426attach	dwmmc at fdt
427file	dev/fdt/dwmmc.c			dwmmc
428
429device	dwmshc: sdhc, sdmmcbus
430attach	dwmshc at fdt
431file	dev/fdt/dwmshc.c		dwmshc
432
433device	dwdog
434attach	dwdog at fdt
435file	dev/fdt/dwdog.c			dwdog
436
437device	dwpcie: pcibus
438attach	dwpcie at fdt
439file	dev/fdt/dwpcie.c		dwpcie
440
441define	spi {}
442device	moxtet
443attach	moxtet at spi
444file	dev/fdt/moxtet.c		moxtet
445
446device	mvclock
447attach	mvclock at fdt
448file	dev/fdt/mvclock.c		mvclock
449
450device	mvdog
451attach	mvdog at fdt
452file	dev/fdt/mvdog.c			mvdog
453
454device	mvgicp
455attach	mvgicp at fdt
456file	dev/fdt/mvgicp.c		mvgicp
457
458device	mvgpio
459attach	mvgpio at fdt
460file	dev/fdt/mvgpio.c		mvgpio
461
462device	mvicu
463attach	mvicu at fdt
464file	dev/fdt/mvicu.c			mvicu
465
466device	mviic: i2cbus
467attach	mviic at fdt
468file	dev/fdt/mviic.c			mviic
469
470device	mvkpcie: pcibus
471attach	mvkpcie at fdt
472file	dev/fdt/mvkpcie.c		mvkpcie
473
474device	mvpinctrl
475attach	mvpinctrl at fdt
476file	dev/fdt/mvpinctrl.c		mvpinctrl
477
478device	mvmdio: fdt
479attach	mvmdio at fdt
480file	dev/fdt/mvmdio.c		mvmdio
481
482device	mvneta: ether, ifnet, mii, ifmedia
483attach	mvneta at fdt
484file	dev/fdt/if_mvneta.c		mvneta
485
486device	mvppc {}
487attach	mvppc at fdt
488device	mvpp: ether, ifnet, mii, ifmedia
489attach	mvpp at mvppc
490file	dev/fdt/if_mvpp.c		mvppc | mvpp
491
492device	mvrng
493attach	mvrng at fdt
494file	dev/fdt/mvrng.c			mvrng
495
496device	mvrtc
497attach	mvrtc at fdt
498file	dev/fdt/mvrtc.c			mvrtc
499
500device	mvspi: spi
501attach	mvspi at fdt
502file	dev/fdt/mvspi.c			mvspi
503
504device	mvsw
505attach	mvsw at fdt
506file	dev/fdt/mvsw.c			mvsw
507
508device	mvtemp
509attach	mvtemp at fdt
510file	dev/fdt/mvtemp.c		mvtemp
511
512device	mvuart
513attach	mvuart at fdt
514file	dev/fdt/mvuart.c		mvuart
515
516device	dwxe: ether, ifnet, mii, ifmedia
517attach	dwxe at fdt
518file	dev/fdt/if_dwxe.c		dwxe
519
520device	acrtc
521attach	acrtc at rsb
522file	dev/fdt/acrtc.c			acrtc
523
524device	imxanatop
525attach	imxanatop at fdt
526file	dev/fdt/imxanatop.c		imxanatop
527
528device	imxccm
529attach	imxccm at fdt
530file	dev/fdt/imxccm.c		imxccm
531
532device	imxdog
533attach	imxdog at fdt
534file	dev/fdt/imxdog.c		imxdog
535
536device	imxdwusb: fdt
537attach	imxdwusb at fdt
538file	dev/fdt/imxdwusb.c		imxdwusb
539
540device	imxehci: usbus
541attach	imxehci at fdt
542file	dev/fdt/imxehci.c		imxehci
543
544device	imxesdhc: sdmmcbus
545attach	imxesdhc at fdt
546file	dev/fdt/imxesdhc.c		imxesdhc
547
548device	imxgpc
549attach	imxgpc at fdt
550file	dev/fdt/imxgpc.c		imxgpc
551
552device	imxgpio
553attach	imxgpio at fdt
554file	dev/fdt/imxgpio.c		imxgpio
555
556attach	imxiic at fdt with imxiic_fdt
557file	dev/fdt/imxiic_fdt.c		imxiic_fdt
558
559device	imxiomuxc
560attach	imxiomuxc at fdt
561file	dev/fdt/imxiomuxc.c		imxiomuxc
562
563device	imxpciephy
564attach	imxpciephy at fdt
565file	dev/fdt/imxpciephy.c		imxpciephy
566
567device	imxpwm
568attach	imxpwm at fdt
569file	dev/fdt/imxpwm.c		imxpwm
570
571device	imxrtc
572attach	imxrtc at fdt
573file	dev/fdt/imxrtc.c		imxrtc
574
575device	imxsrc: fdt
576attach	imxsrc at fdt
577file	dev/fdt/imxsrc.c		imxsrc
578
579device	imxtmu
580attach	imxtmu at fdt
581file	dev/fdt/imxtmu.c		imxtmu
582
583device	imxuart
584attach	imxuart at fdt
585file	dev/fdt/imxuart.c		imxuart
586
587device	fec: ether, ifnet, mii, ifmedia
588attach	fec at fdt
589file	dev/fdt/if_fec.c		fec
590
591device	imxspi: spi
592attach	imxspi at fdt
593file	dev/fdt/imxspi.c		imxspi
594
595attach	ccp at fdt with ccp_fdt
596file	dev/fdt/ccp_fdt.c		ccp_fdt
597
598attach	com at fdt with com_fdt
599file	dev/fdt/com_fdt.c		com_fdt
600
601attach	ipmi at fdt with ipmi_fdt
602file	dev/fdt/ipmi_fdt.c		ipmi_fdt
603
604device	ssdfb: wsemuldisplaydev, rasops1
605attach	ssdfb at spi with ssdfb_spi
606attach	ssdfb at i2c with ssdfb_i2c
607file	dev/fdt/ssdfb.c			ssdfb
608
609device	fusbtc
610attach	fusbtc at i2c
611file	dev/fdt/fusbtc.c		fusbtc
612
613device	sfp
614attach	sfp at fdt
615file	dev/fdt/sfp.c			sfp
616
617# ROHM BD718x7 Regulator
618device	bdpmic
619attach	bdpmic at i2c
620file	dev/fdt/bd718x7.c		bdpmic
621
622device	tcpci
623attach	tcpci at i2c
624file	dev/fdt/tcpci.c			tcpci
625
626device	escodec
627attach	escodec at i2c
628file	dev/fdt/es8316ac.c		escodec
629
630device	cwfg
631attach	cwfg at i2c
632file	dev/fdt/cwfg.c			cwfg
633
634# Dialog DA9063 PMIC
635device	dapmic
636attach	dapmic at i2c
637file	dev/fdt/dapmic.c		dapmic
638
639device	gpiobl
640attach	gpiobl at fdt
641file	dev/fdt/gpiobl.c		gpiobl
642
643device	gpiocharger
644attach	gpiocharger at fdt
645file	dev/fdt/gpiocharger.c		gpiocharger
646
647device	gpioleds
648attach	gpioleds at fdt
649file	dev/fdt/gpioleds.c		gpioleds
650
651device	gpiokeys
652attach	gpiokeys at fdt
653file	dev/fdt/gpiokeys.c		gpiokeys
654
655device	gpiorestart
656attach	gpiorestart at fdt
657file	dev/fdt/gpiorestart.c		gpiorestart
658
659device	sncodec
660attach	sncodec at i2c
661file	dev/fdt/sncodec.c		sncodec
662
663device	tascodec
664attach	tascodec at i2c
665file	dev/fdt/tascodec.c		tascodec
666
667# Qualcomm Always On Subsystem
668device	qcaoss
669attach	qcaoss at fdt
670file	dev/fdt/qcaoss.c		qcaoss
671
672device	qcdwusb: fdt
673attach	qcdwusb at fdt
674file	dev/fdt/qcdwusb.c		qcdwusb
675
676# Qualcomm GPIO controller
677attach	qcgpio at fdt with qcgpio_fdt
678file	dev/fdt/qcgpio_fdt.c		qcgpio
679
680# Qualcomm I2C controller
681attach	qciic at fdt with qciic_fdt
682file	dev/fdt/qciic_fdt.c		qciic
683
684# Qualcomm Inter-Processor Communication controller
685device	qcipcc
686attach	qcipcc at fdt
687file	dev/fdt/qcipcc.c		qcipcc
688
689# Qualcomm Hardware Spinlock
690device	qcmtx
691attach	qcmtx at fdt
692file	dev/fdt/qcmtx.c			qcmtx
693
694# Qualcomm SCM
695device	qcscm
696attach	qcscm at fdt
697file	dev/fdt/qcscm.c			qcscm
698
699# Qualcomm Shared Memory API
700device	qcsmem
701attach	qcsmem at fdt
702file	dev/fdt/qcsmem.c		qcsmem
703
704# Qualcomm Shared Memory Point-to-Point
705device	qcsmptp
706attach	qcsmptp at fdt
707file	dev/fdt/qcsmptp.c		qcsmptp
708
709# Qualcomm SPMI controller
710device	qcspmi: spmi
711attach	qcspmi at fdt
712file	dev/fdt/qcspmi.c		qcspmi
713
714# Qualcomm Power Domain controller
715device	qcpdc
716attach	qcpdc at fdt
717file	dev/fdt/qcpdc.c			qcpdc
718
719# Qualcomm PMIC
720device	qcpmic: spmi
721attach	qcpmic at spmi
722file	dev/fdt/qcpmic.c		qcpmic
723
724# Qualcomm PMIC GPIO
725device	qcpmicgpio
726attach	qcpmicgpio at spmi
727file	dev/fdt/qcpmicgpio.c		qcpmicgpio
728
729# Qualcomm PMIC PON
730device	qcpon
731attach	qcpon at spmi
732file	dev/fdt/qcpon.c			qcpon
733
734# Qualcomm PMIC PWM
735device	qcpwm
736attach	qcpwm at spmi
737file	dev/fdt/qcpwm.c			qcpwm
738
739# Qualcomm RNG
740device	qcrng
741attach	qcrng at fdt
742file	dev/fdt/qcrng.c			qcrng
743
744# Qualcomm PMIC RTC
745device	qcrtc
746attach	qcrtc at spmi
747file	dev/fdt/qcrtc.c			qcrtc
748
749# TI TPS6598x Type-C controller
750device	tipd
751attach	tipd at i2c
752file	dev/fdt/tipd.c		tipd
753