summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/conf/files.octeon
blob: da26ed75bff7afb19787e34d4778bc9cae793ea7 (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
#	$OpenBSD: files.octeon,v 1.46 2018/05/02 16:09:08 visa 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	dev/ofw/fdt.c
file	dev/ofw/ofw_gpio.c
file	dev/ofw/ofw_misc.c
file	dev/ofw/ofw_pinctrl.c
file	dev/ofw/ofw_power.c
file	dev/ofw/ofw_regulator.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/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/usb/dwc2/files.dwc2"
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 {[early = 0]}

device	simplebus: fdt
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	cn30xxsmi {}
attach	cn30xxsmi at fdt
file	arch/octeon/dev/cn30xxsmi.c			cn30xxsmi

device	cn30xxgmx {}
attach	cn30xxgmx at iobus
file	arch/octeon/dev/cn30xxgmx.c			cn30xxgmx

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

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

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

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	octmmc: sdmmcbus
attach	octmmc at fdt
file	arch/octeon/dev/octmmc.c			octmmc

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

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