files.octeon revision 1.56
1#	$OpenBSD: files.octeon,v 1.56 2019/11/04 14:58:40 visa Exp $
2
3# Standard stanzas config(8) can't run without
4maxpartitions 16
5maxusers 2 8 64
6
7# Major number for block devices, for ``root on'' lines
8major	{ sd = 0 }
9major	{ cd = 3 }
10major	{ wd = 4 }
11major	{ rd = 8 }
12major	{ octcf = 15 }
13major	{ amdcf = 19 }
14
15file	dev/cninit.c
16file	arch/octeon/octeon/autoconf.c
17file	arch/octeon/octeon/bus_dma.c
18file	arch/octeon/octeon/conf.c
19file	arch/octeon/octeon/disksubr.c		disk
20file	arch/octeon/octeon/machdep.c
21file	arch/octeon/octeon/cn3xxx_dts.S
22file	arch/octeon/octeon/locore.S
23
24include "dev/ata/files.ata"
25include "dev/atapiscsi/files.atapiscsi"
26include	"dev/hid/files.hid"
27include	"dev/i2c/files.i2c"
28include	"dev/gpio/files.gpio"
29include	"dev/isa/files.isa"
30include	"dev/isa/files.isapnp"
31include	"dev/mii/files.mii"
32include	"dev/ofw/files.ofw"
33include	"dev/onewire/files.onewire"
34include	"dev/pci/files.pci"
35include	"dev/pckbc/files.pckbc"
36include	"dev/sdmmc/files.sdmmc"
37include	"dev/usb/files.usb"
38include	"dev/usb/dwc2/files.dwc2"
39include "dev/rasops/files.rasops"
40include "dev/wscons/files.wscons"
41include "dev/wsfont/files.wsfont"
42include	"scsi/files.scsi"
43
44define	mainbus {}
45device	mainbus
46attach	mainbus at root
47file	arch/octeon/dev/mainbus.c			mainbus
48
49device	cpu
50attach	cpu at mainbus
51
52device	clock
53attach	clock at mainbus
54
55device	octcrypto: crypto
56attach	octcrypto at mainbus
57file	arch/octeon/dev/octcrypto.c			octcrypto
58file	arch/octeon/dev/octcrypto_asm.S			octcrypto
59
60# TOD clock
61device	octrtc
62attach	octrtc at mainbus
63file	arch/octeon/dev/octrtc.c			octrtc
64
65define	iobus {[base = -1], [irq = 0]}
66device	iobus
67attach	iobus at mainbus
68file	arch/octeon/dev/octeon_iobus.c			iobus
69file	arch/octeon/dev/octeon_intr.c			iobus
70file	arch/octeon/dev/cn30xxfpa.c			iobus
71file	arch/octeon/dev/cn30xxpow.c			iobus
72file	arch/octeon/dev/cn30xxfau.c			iobus
73file	arch/octeon/dev/cn30xxpip.c			iobus
74file	arch/octeon/dev/cn30xxipd.c			iobus
75file	arch/octeon/dev/cn30xxpko.c			iobus
76file	arch/octeon/dev/cn30xxasx.c			iobus
77
78define	fdt {[early = 0]}
79define	fdt_octeon {[early = 0]}
80
81device	simplebus: fdt, fdt_octeon
82attach	simplebus at fdt, iobus
83file	arch/octeon/dev/simplebus.c			simplebus
84
85include	"dev/fdt/files.fdt"
86
87# On-board USB
88attach	dwctwo at iobus with octdwctwo
89file	arch/octeon/dev/octdwctwo.c			octdwctwo	needs-flag
90
91device	octuctl {}
92attach	octuctl at fdt
93file	arch/octeon/dev/octuctl.c			octuctl		needs-flag
94attach	ehci at octuctl with octehci
95file	arch/octeon/dev/octehci.c			octehci
96attach	ohci at octuctl with octohci
97file	arch/octeon/dev/octohci.c			octohci
98
99# On-board CF
100device	octcf: disk
101attach	octcf at iobus
102file	arch/octeon/dev/octcf.c				octcf
103
104device	amdcf: disk
105attach	amdcf at iobus
106file	arch/octeon/dev/amdcf.c				amdcf
107
108
109# On-board RNG
110device	octrng
111attach	octrng at iobus
112file	arch/octeon/dev/octrng.c			octrng
113
114device	octsmi {}
115attach	octsmi at fdt
116file	arch/octeon/dev/cn30xxsmi.c			octsmi
117
118define	octpip {}
119device	octgmx {}
120attach	octgmx at octpip
121file	arch/octeon/dev/cn30xxgmx.c			octgmx
122
123device	cnmac: ether, ifnet, mii, ifmedia
124attach	cnmac at octgmx
125file	arch/octeon/dev/if_cnmac.c			cnmac
126
127attach	com at fdt_octeon with octuart
128file	arch/octeon/dev/cn30xxuart.c			octuart
129
130device	pcibus
131attach	pcibus at iobus
132file	arch/octeon/dev/octeon_pcibus.c			pcibus
133file	arch/octeon/dev/octeon_bus_space.c
134
135device	octpcie: pcibus
136attach	octpcie at iobus
137file	arch/octeon/dev/octpcie.c			octpcie
138
139file	arch/octeon/octeon/pciide_machdep.c		pciide
140
141device	octcib
142attach	octcib at fdt
143file	arch/octeon/dev/octcib.c			octcib
144
145device	octcit
146attach	octcit at fdt
147file	arch/octeon/dev/octcit.c			octcit
148
149device	octciu
150attach	octciu at fdt
151file	arch/octeon/dev/octciu.c			octciu
152
153device	octgpio
154attach	octgpio at fdt
155file	arch/octeon/dev/octgpio.c			octgpio
156
157device	octiic: i2cbus
158attach	octiic at fdt
159file	arch/octeon/dev/octiic.c			octiic
160
161device	octmmc: sdmmcbus
162attach	octmmc at fdt
163file	arch/octeon/dev/octmmc.c			octmmc
164
165device	octpip
166attach	octpip at fdt
167file	arch/octeon/dev/octpip.c			octpip
168
169device	octsctl: fdt
170attach	octsctl at fdt
171file	arch/octeon/dev/octsctl.c			octsctl
172
173device	octxctl: fdt
174attach	octxctl at fdt
175file	arch/octeon/dev/octxctl.c			octxctl
176
177device	ogxnexus {}
178attach	ogxnexus at fdt
179file	arch/octeon/dev/ogxnexus.c			ogxnexus
180
181device	ogx: ether, ifnet, ifmedia, mii
182attach	ogx at ogxnexus
183file	arch/octeon/dev/if_ogx.c			ogx
184
185pseudo-device	octboot
186file	arch/octeon/dev/octboot.c			octboot needs-flag
187
188pseudo-device	openprom
189file	arch/octeon/octeon/openprom.c			openprom needs-flag
190