summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/conf/files.octeon
blob: e11ae434ede8d6cfbe9c7d7dff7eca5c9d7a46eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
#	$OpenBSD: files.octeon,v 1.59 2024/01/01 18:25:50 kettenis Exp $

# Standard stanzas config(8) can't run without
maxpartitions 16
maxusers 2 8 64

# Major number for block devices, for ``root on'' lines
major	{ sd = 0 }
major	{ cd = 3 }
major	{ wd = 4 }
major	{ rd = 8 }
major	{ octcf = 15 }
major	{ amdcf = 19 }

file	dev/cninit.c
file	arch/octeon/octeon/autoconf.c
file	arch/octeon/octeon/bus_dma.c
file	arch/octeon/octeon/conf.c
file	arch/octeon/octeon/disksubr.c		disk
file	arch/octeon/octeon/machdep.c
file	arch/octeon/octeon/cn3xxx_dts.S
file	arch/octeon/octeon/locore.S

include "dev/ata/files.ata"
include "dev/atapiscsi/files.atapiscsi"
include	"dev/hid/files.hid"
include	"dev/i2c/files.i2c"
include	"dev/gpio/files.gpio"
include	"dev/isa/files.isa"
include	"dev/isa/files.isapnp"
include	"dev/mii/files.mii"
include	"dev/ofw/files.ofw"
include	"dev/onewire/files.onewire"
include	"dev/pci/files.pci"
include	"dev/pckbc/files.pckbc"
include	"dev/sdmmc/files.sdmmc"
include	"dev/usb/files.usb"
include "dev/rasops/files.rasops"
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
include	"scsi/files.scsi"

define	mainbus {}
device	mainbus
attach	mainbus at root
file	arch/octeon/dev/mainbus.c			mainbus

device	cpu
attach	cpu at mainbus

device	clock
attach	clock at mainbus

device	octcrypto: crypto
attach	octcrypto at mainbus
file	arch/octeon/dev/octcrypto.c			octcrypto
file	arch/octeon/dev/octcrypto_asm.S			octcrypto

# TOD clock
device	octrtc
attach	octrtc at mainbus
file	arch/octeon/dev/octrtc.c			octrtc

define	iobus {[base = -1], [irq = 0]}
device	iobus
attach	iobus at mainbus
file	arch/octeon/dev/octeon_iobus.c			iobus
file	arch/octeon/dev/octeon_intr.c			iobus
file	arch/octeon/dev/cn30xxfpa.c			iobus
file	arch/octeon/dev/cn30xxpow.c			iobus
file	arch/octeon/dev/cn30xxfau.c			iobus
file	arch/octeon/dev/cn30xxpip.c			iobus
file	arch/octeon/dev/cn30xxipd.c			iobus
file	arch/octeon/dev/cn30xxpko.c			iobus
file	arch/octeon/dev/cn30xxasx.c			iobus

define	fdt_octeon {[early = 0]}

device	simplebus: fdt, fdt_octeon
attach	simplebus at fdt, iobus
file	arch/octeon/dev/simplebus.c			simplebus

include	"dev/fdt/files.fdt"

# On-board USB
attach	dwctwo at iobus with octdwctwo
file	arch/octeon/dev/octdwctwo.c			octdwctwo	needs-flag

device	octuctl {}
attach	octuctl at fdt
file	arch/octeon/dev/octuctl.c			octuctl		needs-flag
attach	ehci at octuctl with octehci
file	arch/octeon/dev/octehci.c			octehci
attach	ohci at octuctl with octohci
file	arch/octeon/dev/octohci.c			octohci

# On-board CF
device	octcf: disk
attach	octcf at iobus
file	arch/octeon/dev/octcf.c				octcf

device	amdcf: disk
attach	amdcf at iobus
file	arch/octeon/dev/amdcf.c				amdcf


# On-board RNG
device	octrng
attach	octrng at iobus
file	arch/octeon/dev/octrng.c			octrng

device	octsmi {}
attach	octsmi at fdt
file	arch/octeon/dev/cn30xxsmi.c			octsmi

define	octpip {}
device	octgmx {}
attach	octgmx at octpip
file	arch/octeon/dev/cn30xxgmx.c			octgmx

device	cnmac: ether, ifnet, mii, ifmedia
attach	cnmac at octgmx
file	arch/octeon/dev/if_cnmac.c			cnmac

attach	com at fdt_octeon with octuart
file	arch/octeon/dev/cn30xxuart.c			octuart

device	pcibus
attach	pcibus at iobus
file	arch/octeon/dev/octeon_pcibus.c			pcibus
file	arch/octeon/dev/octeon_bus_space.c

device	octpcie: pcibus
attach	octpcie at iobus
file	arch/octeon/dev/octpcie.c			octpcie

file	arch/octeon/octeon/pciide_machdep.c		pciide

device	octcib
attach	octcib at fdt
file	arch/octeon/dev/octcib.c			octcib

device	octcit
attach	octcit at fdt
file	arch/octeon/dev/octcit.c			octcit

device	octciu
attach	octciu at fdt
file	arch/octeon/dev/octciu.c			octciu

device	octgpio
attach	octgpio at fdt
file	arch/octeon/dev/octgpio.c			octgpio

device	octiic: i2cbus
attach	octiic at fdt
file	arch/octeon/dev/octiic.c			octiic

device	octmmc: sdmmcbus
attach	octmmc at fdt
file	arch/octeon/dev/octmmc.c			octmmc

device	octpip
attach	octpip at fdt
file	arch/octeon/dev/octpip.c			octpip

device	octsctl: fdt
attach	octsctl at fdt
file	arch/octeon/dev/octsctl.c			octsctl

device	octxctl: fdt
attach	octxctl at fdt
file	arch/octeon/dev/octxctl.c			octxctl

device	ogxnexus {}
attach	ogxnexus at fdt
file	arch/octeon/dev/ogxnexus.c			ogxnexus

device	ogx: ether, ifnet, ifmedia, mii, firmload
attach	ogx at ogxnexus
file	arch/octeon/dev/if_ogx.c			ogx

pseudo-device	octboot
file	arch/octeon/dev/octboot.c			octboot needs-flag

pseudo-device	openprom
file	arch/octeon/octeon/openprom.c			openprom needs-flag