summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus/conf/GENERIC
blob: bc0248518c447e16bf477a40347a523a80e94677 (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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
#	$OpenBSD: GENERIC,v 1.32 2005/04/14 23:40:34 pascoe Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default OpenBSD
# kernel.  The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine	zaurus	arm

include "../../../conf/GENERIC"

options		ARM32
#options 	ARM_INTR_IMPL="<arch/arm/xscale/pxa2x0_intr.h>"
options		PXA2x0_INTR
options		PXAGPIO_HAS_GPION_INTRS

options		CACHE_CLEAN_BLOCK_INTR

makeoptions	KERNEL_BASE_PHYS="0xa0200000"
makeoptions	KERNEL_BASE_VIRT="0xc0200000"
makeoptions	BOARDTYPE="zaurus"

options		APERTURE

# estimated number of users

maxusers	32

# CPU options
options 	CPU_XSCALE_PXA2X0	# Support the XScale core
#options 	XSCALE_CACHE_WRITE_THROUGH
options 	XSCALE_CACHE_WRITE_BACK
makeoptions	CPUFLAGS="-mcpu=xscale"

option WSDISPLAY_COMPAT_USL		# VT handling
option WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=2
option WSDISPLAY_COMPAT_PCVT		# emulate some ioctls

option USBVERBOSE

#config		bsd	swap generic
config		bsd	root on wd0a

# The main bus device
mainbus0	at root
cpu0		at mainbus?
pxaip0		at mainbus?

pxaintc0	at pxaip?	# interrupt controller
pxagpio0	at pxaip?	# GPIO
pxadmac0	at pxaip?	# DMA controller
scoop0		at pxaip?
scoop1		at pxaip?
saost0		at pxaip? addr 0x40a00000 size 0x20

# touch screen
zts0		at pxaip?
wsmouse*	at zts? mux 0

# keyboard
zkbd0		at pxaip?
wskbd*		at zkbd? mux 1

# USB controllers
pxaudc0		at pxaip?		# USB Device Controller
ohci0		at pxaip?		# Open Host Controller

# USB bus support
usb*		at ohci?
uhub*		at usb?			# USB Root Hub
uhub*		at uhub?		# USB Hub

# USB devices
umodem*		at uhub?		# USB Modems/Serial
ucom*		at umodem?
uvisor*		at uhub?		# Handspring Visor
ucom*		at uvisor?
uvscom*		at uhub?		# SUNTAC Slipper U VS-10U serial
ucom*		at uvscom?
ubsa*		at uhub?		# Belkin serial adapter
ucom*		at ubsa?
uftdi*		at uhub?		# FTDI FT8U100AX serial adapter
ucom*		at uftdi?
uplcom* 	at uhub?		# I/O DATA USB-RSAQ2 serial adapter
ucom*		at uplcom?
umct*		at uhub?		# MCT USB-RS232 serial adapter
ucom*		at umct?
uaudio* 	at uhub?		# USB Audio
audio*		at uaudio?
umidi*		at uhub?		# USB MIDI
midi*		at umidi?
ulpt*		at uhub?		# USB Printers
umass*		at uhub?		# USB Mass Storage devices
scsibus*	at umass?
uhidev*		at uhub?		# Human Interface Devices
ums*		at uhidev?		# USB mouse
wsmouse*	at ums? mux 0
ukbd*		at uhidev?		# USB keyboard
wskbd*		at ukbd? mux 1
uhid*		at uhidev?		# USB generic HID support
aue*		at uhub?		# ADMtek AN986 Pegasus Ethernet
atu*		at uhub?		# Atmel AT76C50x based 802.11b
axe*		at uhub?		# ASIX Electronics AX88172 USB Ethernet
cue*		at uhub?		# CATC USB-EL1201A based Ethernet
kue*		at uhub?		# Kawasaki KL5KUSB101B based Ethernet
cdce*		at uhub?		# CDC Ethernet
upl*		at uhub?		# Prolific PL2301/PL2302 host-to-host
udav*		at uhub?		# Davicom DM9601 based Ethernet
ural*		at uhub?		# Ralink RT2500
url*		at uhub?		# Realtek RTL8150L based adapters
wi*		at uhub?		# WaveLAN IEEE 802.11DS
urio*		at uhub?		# Diamond Multimedia Rio 500
uscanner*	at uhub?		# USB Scanners
usscanner*	at uhub?		# USB SCSI scanners, e.g., HP5300
scsibus*	at usscanner?
#uyap*		at uhub?		# Y@P firmware loader
udsbr*		at uhub?		# D-Link DSB-R100 radio
radio*		at udsbr?		# USB radio
#ubt*		at uhub?		# USB Bluetooth
ugen*		at uhub?		# USB Generic driver

sd*		at scsibus?
#st*		at scsibus?
cd*		at scsibus?
#ch*		at scsibus?
#ss*		at scsibus?
#uk*		at scsibus?

# integrated 16550 UARTs
options COM_PXA2X0
com0	at pxaip?  addr 0x40100000 intr 22	# Full Function UART
com1	at pxaip?  addr 0x40200000 intr 21	# BlueTooth UART
#com2	at pxaip?  addr 0x40700000 intr 20	# Standard UART (for IrDA)
options FFUARTCONSOLE
#options BTUARTCONSOLE

#aupxa0	at pxaip?		# AC97 interface

# CF (pcmcia) support
pxapcic0	at pxaip?
pcmcia*		at pxapcic?
wi*		at pcmcia?
ne* 		at pcmcia?
wdc*		at pcmcia?

# IDE hard drives
wd0		at wdc? flags 0x0000
wd*		at wdc? flags 0x0000

# PHY
exphy*	at mii?			# 3Com internal PHYs
inphy*	at mii?			# Intel 82555 PHYs
iophy*	at mii?			# Intel 82553 PHYs
icsphy*	at mii?			# ICS 1890 PHYs
lxtphy*	at mii?			# Level1 LXT970 PHYs
nsphy*	at mii?			# NS and compatible PHYs
nsphyter* at mii?		# NS and compatible PHYs
qsphy*	at mii?			# Quality Semi QS6612 PHYs
sqphy*	at mii?			# Seeq 8x220 PHYs
rlphy* at mii?			# RealTek 8139 internal PHYs
mtdphy* at mii?			# Myson MTD972 PHYs
#dcphy*	at mii?			# Digital Clone PHYs
acphy*	at mii?			# Altima AC101 PHYs
amphy*	at mii?			# AMD 79C873 PHYs
tqphy*	at mii?			# TDK 78Q212x PHYs
bmtphy*	at mii?			# Broadcom 10/100 PHYs
#brgphy* at mii?		# Broadcom Gigabit PHYs
#eephy* at mii?			# Marvell 88E1000 series PHY
#xmphy*	at mii?			# XaQti XMAC-II PHYs
nsgphy*	at mii?			# NS gigabit PHYs
urlphy*	at mii?			# Realtek RTL8150L internal PHY
#rgephy* at mii?		# Realtek 8169S/8110S PHY
#ciphy* at mii?			# Cicada CS8201 10/100/1000 copper PHY
ukphy*	at mii?			# "unknown" PHYs

# LCD
lcd0		at pxaip?
wsdisplay*	at lcd? console ?

# Dedicated SSP unit for ADC, touch screen, and backlight
zssp0		at pxaip?

# APM emulation
apm0		at pxaip?

# Pseudo-Devices
pseudo-device	wsmux		2	# mouse & keyboard multiplexor
pseudo-device	crypto		1
pseudo-device	hotplug		1	# devices hot plugging