#	$OpenBSD: RAMDISK-OMAP,v 1.11 2014/11/04 12:26:09 jsg Exp $

machine		armv7 arm
maxusers	4

option		TIMEZONE=0
option		DST=0
option		SMALL_KERNEL
option		NO_PROPOLICE
option		BOOT_CONFIG

option		MINIROOTSIZE=10240
option		RAMDISK_HOOKS

option		USBVERBOSE

option		FFS
option		MSDOSFS
option		INET
option		INET6

makeoptions	KERNEL_BASE_PHYS="0x80300000"
makeoptions	KERNEL_BASE_VIRT="0xc0300000"
option		BUILD_STARTUP_PAGETABLE
option		STARTUP_PAGETABLE_ADDR=0x80200000
option		SDRAM_START="0x80000000"
option		CPU_ARMv7	# Support the ARMv7

config		bsd root on rd0a swap on rd0b

mainbus0	at root
cpu0		at mainbus?

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

cortex0		at mainbus?	# Cortex-A9 (OMAP4)
ampintc*	at cortex?
amptimer*	at cortex?
#armliicc*	at cortex?	# L2 cache controller

intc*		at omap?	# OMAP3 interrupt controller

prcm*		at omap?	# power/clock controller
sitaracm*	at omap?	# sitara control module
omdog*		at omap?	# watchdog timer
omgpio*		at omap?	# user-visible GPIO pins?
gptimer*	at omap?	# general purpose timers
dmtimer*	at omap?	# am335x dual mode timers
ommmc*		at omap?	# SD/MMC card controller
sdmmc*		at ommmc?
omusbtll*	at omap?
cpsw*		at omap?

#omkbd0		at omap?
#wskbd*		at omkbd? mux 1

ehci*		at omap?
usb*		at ehci?

#mcspi0		at omap? addr 0x48098000 intr 65
#mcspi1		at omap? addr 0x4809A000 intr 66

#atlas0		at omap? intr 85	# really a spi device, not omap
#wskbd*		at atlas? mux 1

#usbotg0	at omap?
#usb*		at ohci?

usb*		at ehci?	flags 0x1
uhub*		at usb?

uhub*		at uhub?
uhub*		at usb?
umass*		at uhub?
scsibus*	at umass?
uhidev*		at uhub?		# Human Interface Devices
ukbd*		at uhidev?		# USB keyboard
wskbd*		at ukbd? mux 1
uhid*		at uhidev?		# USB generic HID support
smsc*		at uhub?		# SMSC LAN95xx Ethernet
rum*		at uhub?		# Ralink RT2501USB/RT2601USB

ukphy*		at mii?			# "unknown" PHYs
atphy*		at mii?			# Attansic F1 PHYs

scsibus*	at scsi?
sd*		at scsibus?
cd*		at scsibus?

com*		at omap?

#omdisplay0	at omap?
#wsdisplay*	at omdisplay? console ?

pseudo-device	loop 1
pseudo-device	bpfilter 1
pseudo-device	rd 1
