update config, add cheats to amusbss, bind to intr in ammusb
[bbb-usb.git] / src / sys / arch / armv7 / conf / USB
1 # $OpenBSD: GENERIC,v 1.82 2017/03/24 20:31:58 patrick Exp $
2 #
3 # For further information on compiling OpenBSD kernels, see the config(8)
4 # man page.
5 #
6 # For further information on hardware support for this architecture, see
7 # the intro(4) man page. For further information about kernel options
8 # for this architecture, see the options(4) man page. For an explanation
9 # of each device driver in this file see the section 4 man page for the
10 # device.
11
12 machine armv7 arm
13 include "../../../conf/GENERIC"
14
15 makeoptions KERNEL_BASE_VIRT="0xc0300000"
16
17 maxusers 32 # estimated number of users
18 option CPU_ARMv7 # Support the ARMv7
19
20 #option WSDISPLAY_COMPAT_USL # VT handling
21 option WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
22 option WSDISPLAY_DEFAULTSCREENS=1
23
24 option CONF_HAVE_GPIO
25 option USBVERBOSE
26
27 option DDB_STRUCT
28 option DDB_SAFE_CONSOLE
29
30 config bsd swap generic
31
32 # The main bus device
33 mainbus0 at root
34 simplebus* at fdt?
35 cpu0 at mainbus?
36
37 # Cortex-A9
38 cortex0 at mainbus?
39 ampintc* at fdt?
40 amptimer* at cortex?
41 agtimer* at fdt?
42 armliicc* at cortex?
43
44 # iMX
45 imxccm* at fdt? early 1 # clock control module
46 imxiomuxc* at fdt? early 1 # iomux controller
47 imxocotp* at fdt? # on-chip otp controller
48 imxgpc* at fdt? # power controller
49 imxdog* at fdt? # watchdog timer
50 imxtemp* at fdt? # temperature monitor
51 imxgpio* at fdt? # user-visible GPIO pins?
52 fec* at fdt? # Ethernet
53 imxuart* at fdt? # onboard uarts
54 imxiic* at fdt? # i2c
55 iic* at imxiic?
56 imxesdhc* at fdt? # SDHC controller
57 sdmmc* at imxesdhc? # SD/MMC bus
58 imxahci* at fdt? # AHCI/SATA
59 imxehci* at fdt? # EHCI
60 usb* at imxehci?
61
62 # OMAP3xxx/OMAP4xxx SoC
63 omap0 at mainbus?
64 omapid* at omap?
65
66 # OMAP on-chip devices
67 intc* at fdt? # OMAP3 interrupt controller
68 omwugen* at fdt? # Wake-up generator
69 #edma* at fdt? # OMAP3 dma controller
70 prcm* at omap? # power/clock controller
71 ompinmux* at fdt? # pin muxing
72 omdog* at fdt? # watchdog timer
73 omgpio* at fdt? # user-visible GPIO pins?
74 gpio* at omgpio?
75 tiiic* at fdt?
76 iic* at tiiic?
77 gptimer* at omap? # general purpose timers
78 dmtimer* at omap? # am335x dual mode timers
79 omusbtll* at omap?
80 cpsw* at fdt?
81 com* at fdt? # onboard uarts
82 ommmc* at fdt? # SD/MMC card controller
83 sdmmc* at ommmc? # SD/MMC bus
84
85 amusbss* at fdt? # am335x usb subsystem
86 ammusb* at fdt? # am335x usb-otg controller
87 omehci* at fdt? # EHCI
88 usb* at omehci?
89
90 # Sunxi A1x/A20 SoC
91 sxiintc* at fdt? # A1x interrupt controller
92 sxipio* at fdt? early 1 # GPIO pins for leds & PHYs
93 gpio* at sxipio?
94 sxiccmu* at fdt? early 1 # Clock Control Module/Unit
95 sxitimer* at fdt? early 1
96 sxidog* at fdt? # watchdog timer
97 sxirtc* at fdt? # Real Time Clock
98 sxie* at fdt?
99 dwge* at fdt?
100 sxiahci* at fdt? # AHCI/SATA
101 sximmc* at fdt? # SD/MMC card controller
102 sdmmc* at sximmc? # SD/MMC bus
103 ehci* at fdt? # EHCI (shim)
104 usb* at ehci? #flags 0x1
105 #ohci* at sunxi?
106 #usb* at ohci?
107
108 # ARM Versatile Express
109 sysreg* at fdt?
110 pluart* at fdt?
111 plrtc* at fdt?
112 virtio* at fdt?
113
114 psci* at fdt?
115 syscon* at fdt?
116
117 simplefb* at fdt?
118 wsdisplay* at simplefb?
119
120 # Exynos
121 #exdisplay* at exynos?
122 #wsdisplay* at exdisplay? console ?
123 exclock* at fdt? early 1
124 expower* at fdt? early 1
125 exsysreg* at fdt? early 1
126 exmct* at fdt? early 1
127 exdog* at fdt?
128 exgpio* at fdt? early 1
129 exiic* at fdt?
130 iic* at exiic?
131 exehci* at fdt?
132 usb* at exehci?
133 exdwusb* at fdt?
134 xhci* at fdt?
135 usb* at xhci?
136 exesdhc* at fdt?
137 sdmmc* at exesdhc?
138 exrtc* at fdt?
139 exuart* at fdt?
140
141 # Raspberry Pi 2/3
142 bcmintc* at fdt?
143 bcmdog* at fdt?
144 dwctwo* at fdt?
145 usb* at dwctwo?
146
147 # Marvell SoC
148 mvacc* at fdt? early 1
149 mvagc* at fdt?
150 mvsysctrl* at fdt?
151 mvmbus* at fdt?
152 mvxhci* at fdt?
153 usb* at mvxhci?
154 mvahci* at fdt?
155
156 crosec* at iic?
157 wskbd* at crosec? mux 1
158 pcfrtc* at iic?
159 tpspmic* at iic?
160
161 # virtio devices
162 vioblk* at virtio?
163 vio* at virtio?
164 viomb* at virtio?
165 viornd* at virtio?
166 vioscsi* at virtio?
167
168 # USB bus support
169 usb* at ehci? flags 0x1
170
171 # USB devices
172 uhub* at usb? # USB Hubs
173 uhub* at uhub? # USB Hubs
174 ualea* at uhub? # Araneus Alea II TRNG
175 uonerng* at uhub? # Moonbase Otago OneRNG
176 umodem* at uhub? # USB Modems/Serial
177 ucom* at umodem?
178 uvisor* at uhub? # Handspring Visor
179 ucom* at uvisor?
180 uvscom* at uhub? # SUNTAC Slipper U VS-10U serial
181 ucom* at uvscom?
182 ubsa* at uhub? # Belkin serial adapter
183 ucom* at ubsa?
184 uftdi* at uhub? # FTDI FT8U100AX serial adapter
185 ucom* at uftdi?
186 uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter
187 ucom* at uplcom?
188 umct* at uhub? # MCT USB-RS232 serial adapter
189 ucom* at umct?
190 uslcom* at uhub? # Silicon Laboratories CP210x serial
191 ucom* at uslcom?
192 uark* at uhub? # Arkmicro ARK3116 serial
193 ucom* at uark?
194 moscom* at uhub? # MosChip MCS7703 serial
195 ucom* at moscom?
196 umcs* at uhub? # MosChip MCS78x0 serial
197 ucom* at umcs?
198 uipaq* at uhub? # iPAQ serial adapter
199 ucom* at uipaq?
200 umsm* at uhub? # Qualcomm MSM EVDO
201 ucom* at umsm?
202 uchcom* at uhub? # WinChipHead CH341/340 serial
203 ucom* at uchcom?
204 uticom* at uhub? # TI serial
205 ucom* at uticom?
206 uaudio* at uhub? # USB Audio
207 audio* at uaudio?
208 umidi* at uhub? # USB MIDI
209 midi* at umidi?
210 ulpt* at uhub? # USB Printers
211 umass* at uhub? # USB Mass Storage devices
212 uhidev* at uhub? # Human Interface Devices
213 ums* at uhidev? # USB mouse
214 wsmouse* at ums? mux 0
215 uts* at uhub? # USB touchscreen
216 wsmouse* at uts? mux 0
217 uwacom* at uhidev? # USB Wacom tablet
218 wsmouse* at uwacom? mux 0
219 ukbd* at uhidev? # USB keyboard
220 wskbd* at ukbd? mux 1
221 ucycom* at uhidev? # Cypress serial
222 ucom* at ucycom?
223 uslhcom* at uhidev? # Silicon Labs CP2110 USB HID UART
224 ucom* at uslhcom?
225 uhid* at uhidev? # USB generic HID support
226 upd* at uhidev? # USB Power Devices sensors
227 aue* at uhub? # ADMtek AN986 Pegasus Ethernet
228 atu* at uhub? # Atmel AT76c50x based 802.11b
229 axe* at uhub? # ASIX Electronics AX88172 USB Ethernet
230 axen* at uhub? # ASIX Electronics AX88179 USB Ethernet
231 cue* at uhub? # CATC USB-EL1201A based Ethernet
232 kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet
233 smsc* at uhub? # SMSC LAN95xx Ethernet
234 cdce* at uhub? # CDC Ethernet
235 urndis* at uhub? # Remote NDIS Ethernet
236 upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network'
237 ugl* at uhub? # Genesys Logic GL620USB-A host-to-host `network'
238 udav* at uhub? # Davicom DM9601 based Ethernet
239 mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet
240 url* at uhub? # Realtek RTL8150L based adapters
241 ure* at uhub? # Realtek RTL8152 based adapters
242 wi* at uhub? # WaveLAN IEEE 802.11DS
243 udsbr* at uhub? # D-Link DSB-R100 radio
244 radio* at udsbr? # USB radio
245 uberry* at uhub? # Research In Motion BlackBerry
246 ugen* at uhub? # USB Generic driver
247 uath* at uhub? # Atheros AR5005UG/AR5005UX
248 ural* at uhub? # Ralink RT2500USB
249 rum* at uhub? # Ralink RT2501USB/RT2601USB
250 run* at uhub? # Ralink RT2700U/RT2800U/RT3000U
251 otus* at uhub? # Atheros AR9001U
252 athn* at uhub? # Atheros AR9002U
253 zyd* at uhub? # Zydas ZD1211
254 upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB
255 urtw* at uhub? # Realtek 8187
256 rsu* at uhub? # Realtek RTL8188SU/RTL8191SU/RTL8192SU
257 urtwn* at uhub? # Realtek RTL8188CU/RTL8192CU
258 udcf* at uhub? # Gude Expert mouseCLOCK
259 uthum* at uhidev? # TEMPerHUM sensor
260 ugold* at uhidev? # gold TEMPer sensor
261 utrh* at uhidev? # USBRH sensor
262 utwitch* at uhidev? # YUREX BBU sensor
263 uow* at uhub? # Maxim/Dallas DS2490 1-Wire adapter
264 uoakrh* at uhidev? # Toradex OAK temp and rel humidity
265 uoaklux* at uhidev? # Toradex OAK LUX
266 uoakv* at uhidev? # Toradex OAK 10V sensor
267 onewire* at uow?
268 uvideo* at uhub? # USB Video
269 video* at uvideo?
270 utvfu* at uhub? # Fushicai Audio-Video Grabber
271 video* at utvfu?
272 audio* at utvfu?
273 udl* at uhub? # DisplayLink USB displays
274 wsdisplay* at udl?
275
276 atphy* at mii? # Attansic F1 PHYs
277 rgephy* at mii? # Realtek 8169S/8110S PHY
278 rlphy* at mii? # Realtek 8139 internal PHYs
279 ukphy* at mii? # "unknown" PHYs
280
281 scsibus* at scsi?
282 sd* at scsibus?
283 cd* at scsibus?
284 st* at scsibus?
285 ch* at scsibus?
286 uk* at scsibus?
287
288 # GPIO "pin bus" drivers
289 gpioiic* at gpio? # I2C bus bit-banging
290 iic* at gpioiic?
291 gpioow* at gpio? # 1-Wire bus bit-banging
292 onewire* at gpioow?
293
294 # 1-Wire devices
295 option ONEWIREVERBOSE
296 owid* at onewire? # ID
297 owsbm* at onewire? # Smart Battery Monitor
298 owtemp* at onewire? # Temperature
299 owctr* at onewire? # Counter device
300
301 # Pseudo-Devices
302 pseudo-device openprom
303 pseudo-device hotplug 1 # devices hot plugging
304
305 # mouse & keyboard multiplexor pseudo-devices
306 pseudo-device wsmux 2