#	$OpenBSD: GENERIC,v 1.31 2016/07/12 19:17:49 kettenis Exp $
#
# 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		armv7 arm
include		"../../../conf/GENERIC"

makeoptions	KERNEL_BASE_VIRT="0xc0300000"

maxusers	32			# estimated number of users
option		CPU_ARMv7		# Support the ARMv7

#option WSDISPLAY_COMPAT_USL		# VT handling
option WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
option WSDISPLAY_DEFAULTSCREENS=1

option		CONF_HAVE_GPIO
option		USBVERBOSE

config		bsd	swap generic

# The main bus device
mainbus0	at root
simplebus*	at fdt?
cpu0		at mainbus?

# Cortex-A9
cortex0		at mainbus?
ampintc*	at cortex?
amptimer*	at cortex?
agtimer*	at cortex?
armliicc*	at cortex?

# iMX
imx0		at mainbus?		# iMX SoC
imxccm*		at imx?			# clock control module
imxiomuxc*	at imx?			# iomux controller
imxdog*		at fdt?			# watchdog timer
imxocotp*	at imx?			# on-chip otp controller
imxgpio*	at fdt?			# user-visible GPIO pins?
fec*		at fdt?			# Ethernet
imxuart*	at fdt?			# onboard uarts
imxiic*		at fdt?			# i2c
iic*		at imxiic?
imxesdhc*	at fdt?			# SDHC controller
sdmmc*		at imxesdhc?		# SD/MMC bus
imxahci*	at fdt?			# AHCI/SATA
imxehci*	at fdt?			# EHCI
usb*		at imxehci?

# OMAP3xxx/OMAP4xxx SoC
omap0		at mainbus?
omapid*		at omap?

# OMAP on-chip devices
intc*		at omap?		# OMAP3 interrupt controller
edma*		at omap?		# OMAP3 dma controller
prcm*		at omap?		# power/clock controller
sitaracm*	at omap?		# sitara control module
omdog*		at fdt?			# watchdog timer
omgpio*		at omap?		# user-visible GPIO pins?
gpio*		at omgpio?
tiiic*		at fdt?
iic*		at tiiic?
gptimer*	at omap?		# general purpose timers
dmtimer*	at omap?		# am335x dual mode timers
omusbtll*	at omap?
cpsw*		at fdt?
com*		at fdt?			# onboard uarts
ommmc*		at fdt?			# SD/MMC card controller
sdmmc*		at ommmc?		# SD/MMC bus

ehci*		at omap?		# EHCI (shim)
usb*		at ehci?

# Sunxi A1x/A20 SoC
sunxi0		at mainbus?

# Sunxi on-chip devices
a1xintc*	at sunxi?		# A1x interrupt controller
sxipio*		at sunxi?		# GPIO pins for leds & PHYs
gpio*		at sxipio?
sxiccmu*	at sunxi?		# Clock Control Module/Unit
sxitimer*	at sunxi?
sxidog*		at sunxi?		# watchdog timer
sxirtc*		at sunxi?		# Real Time Clock
sxiuart*	at fdt?			# onboard UARTs
sxie*		at fdt?
ahci*		at sunxi?		# AHCI/SATA (shim)
ehci*		at sunxi?		# EHCI (shim)
usb*		at ehci?	#flags 0x1
#ohci*		at sunxi?
#usb*		at ohci?

# ARM Versatile Express
vexpress0	at mainbus?
sysreg*		at vexpress?
pluart*		at vexpress?
plrtc*		at vexpress?
virtio*		at vexpress?

# Exynos
exynos0		at mainbus?
exdisplay*	at exynos?
wsdisplay*	at exdisplay? console ?
exclock*	at exynos?
expower*	at exynos?
exsysreg*	at exynos?
exmct*		at exynos?
exdog*		at exynos?
exgpio*		at exynos?
exiic*		at exynos?
iic*		at exiic?
exehci*		at exynos?
ehci*		at exehci?
exesdhc*	at exynos?
sdmmc*		at exesdhc?
exuart*		at exynos?

crosec*		at iic?
wskbd*		at crosec? mux 1
pcfrtc*		at iic?
tpspmic*	at iic?

# virtio devices
vioblk*		at virtio?
vio*		at virtio?
viomb*		at virtio?
viornd*		at virtio?
vioscsi*	at virtio?

# USB bus support
usb*		at ehci?	flags 0x1

# USB devices
uhub*	at usb?			# USB Hubs
uhub*	at uhub?		# USB Hubs
ualea*	at uhub?		# Araneus Alea II TRNG
uonerng* at uhub?		# Moonbase Otago OneRNG
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?
uslcom*	at uhub?		# Silicon Laboratories CP210x serial
ucom*	at uslcom?
uark*	at uhub?		# Arkmicro ARK3116 serial
ucom*	at uark?
moscom*	at uhub?		# MosChip MCS7703 serial
ucom*	at moscom?		
umcs*	at uhub?		# MosChip MCS78x0 serial
ucom*	at umcs?
uipaq*	at uhub?		# iPAQ serial adapter
ucom*	at uipaq?
umsm*	at uhub?		# Qualcomm MSM EVDO
ucom*	at umsm?
uchcom*	at uhub?		# WinChipHead CH341/340 serial
ucom*	at uchcom?
uticom*	at uhub?		# TI serial
ucom*	at uticom?
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
uhidev*	at uhub?		# Human Interface Devices
ums*	at uhidev?		# USB mouse
wsmouse* at ums? mux 0
uts*	at uhub?		# USB touchscreen
wsmouse* at uts? mux 0
ukbd*	at uhidev?		# USB keyboard
wskbd*	at ukbd? mux 1
ucycom*	at uhidev?		# Cypress serial
ucom*	at ucycom?
uslhcom* at uhidev?		# Silicon Labs CP2110 USB HID UART
ucom*	at uslhcom?
uhid*	at uhidev?		# USB generic HID support
upd*	at uhidev?		# USB Power Devices sensors
aue*	at uhub?		# ADMtek AN986 Pegasus Ethernet
atu*	at uhub?		# Atmel AT76c50x based 802.11b
axe*	at uhub?		# ASIX Electronics AX88172 USB Ethernet
axen*	at uhub?		# ASIX Electronics AX88179 USB Ethernet
cue*	at uhub?		# CATC USB-EL1201A based Ethernet
kue*	at uhub?		# Kawasaki KL5KUSB101B based Ethernet
smsc*	at uhub?		# SMSC LAN95xx Ethernet
cdce*	at uhub?		# CDC Ethernet
urndis*	at uhub?		# Remote NDIS Ethernet
upl*	at uhub?		# Prolific PL2301/PL2302 host-to-host `network'
ugl*	at uhub?		# Genesys Logic GL620USB-A host-to-host `network'
udav*	at uhub?		# Davicom DM9601 based Ethernet
mos*	at uhub?		# MOSCHIP MCS7730/7830 10/100 Ethernet
url*	at uhub?		# Realtek RTL8150L based adapters
ure*	at uhub?		# Realtek RTL8152 based adapters
wi*	at uhub?		# WaveLAN IEEE 802.11DS
udsbr*	at uhub?		# D-Link DSB-R100 radio
radio*	at udsbr?		# USB radio
uberry*	at uhub?		# Research In Motion BlackBerry
ugen*	at uhub?		# USB Generic driver
uath*	at uhub?		# Atheros AR5005UG/AR5005UX
ural*	at uhub?		# Ralink RT2500USB
rum*	at uhub?		# Ralink RT2501USB/RT2601USB
run*	at uhub?		# Ralink RT2700U/RT2800U/RT3000U
otus*	at uhub?		# Atheros AR9001U
athn*	at uhub?		# Atheros AR9002U
zyd*	at uhub?		# Zydas ZD1211
upgt*	at uhub?		# Conexant/Intersil PrismGT SoftMAC USB
urtw*	at uhub?		# Realtek 8187
rsu*	at uhub?		# Realtek RTL8188SU/RTL8191SU/RTL8192SU
urtwn*	at uhub?		# Realtek RTL8188CU/RTL8192CU
udcf*	at uhub?		# Gude Expert mouseCLOCK
uthum*	at uhidev?		# TEMPerHUM sensor
ugold*	at uhidev?		# gold TEMPer sensor
utrh*	at uhidev?		# USBRH sensor
utwitch* at uhidev?		# YUREX BBU sensor
uow*	at uhub?		# Maxim/Dallas DS2490 1-Wire adapter
uoakrh*	at uhidev?		# Toradex OAK temp and rel humidity
uoaklux* at uhidev?		# Toradex OAK LUX
uoakv*	at uhidev?		# Toradex OAK 10V sensor
onewire* at uow?
uvideo*	at uhub?		# USB Video
video*	at uvideo?
utvfu*	at uhub?		# Fushicai Audio-Video Grabber
video*	at utvfu?
audio*	at utvfu?
udl*	at uhub?		# DisplayLink USB displays
wsdisplay* at udl?

atphy*		at mii?			# Attansic F1 PHYs
rgephy*		at mii?			# Realtek 8169S/8110S PHY
rlphy*		at mii?			# Realtek 8139 internal PHYs
ukphy*		at mii?			# "unknown" PHYs

scsibus*	at scsi?
sd*		at scsibus?
cd*		at scsibus?
st*		at scsibus?
ch*		at scsibus?
uk*		at scsibus?

# GPIO "pin bus" drivers
gpioiic*	at gpio?		# I2C bus bit-banging
iic*		at gpioiic?
gpioow*		at gpio?		# 1-Wire bus bit-banging
onewire*	at gpioow?

# 1-Wire devices
option	ONEWIREVERBOSE
owid*		at onewire?		# ID
owsbm*		at onewire?		# Smart Battery Monitor
owtemp*		at onewire?		# Temperature
owctr*		at onewire?		# Counter device

# Pseudo-Devices
pseudo-device	openprom
pseudo-device	hotplug         1       # devices hot plugging

# mouse & keyboard multiplexor pseudo-devices
pseudo-device   wsmux           2
