o add hints for avila boards; brings back i2c devices lost when iicbus

started using hints instead of wired down device enumeration
o add usb commented out; will enable when support works

MFC after:	1 month
This commit is contained in:
Sam Leffler 2007-05-24 16:27:48 +00:00
parent 640edef54d
commit c1fd78f884
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169953
2 changed files with 46 additions and 1 deletions

View File

@ -30,7 +30,7 @@ options LOADERRAMADDR=0x00000000
options STARTUP_PAGETABLE_ADDR=0x10000000
include "../xscale/ixp425/std.avila"
#To statically compile in device wiring instead of /boot/device.hints
#hints "GENERIC.hints" #Default places to look for devices.
hints "AVILA.hints" #Default places to look for devices.
makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols
makeoptions CONF_CFLAGS=-mcpu=xscale
@ -137,3 +137,13 @@ options ATH_DEBUG
#device crypto
#device cryptodev
#device hifn # NB: Soekris minipci card known to work
#device usb
#options USB_DEBUG
#device uhci
#device ohci
#device ehci
#device ugen
#device umass
#device scbus # SCSI bus (required for SCSI)
#device da # Direct Access (disks)

35
sys/arm/conf/AVILA.hints Normal file
View File

@ -0,0 +1,35 @@
# $FreeBSD$
#
# Device wiring for the Gateworks Avila 2384.
#
# DBGU is unit 0
hint.uart.0.at="ixp0"
hint.uart.0.addr=0xc8000000
hint.uart.0.irq=15
#hint.uart.0.flags=0x10
# USART0 is unit 1
hint.uart.1.at="ixp0"
hint.uart.1.addr=0xc8001000
hint.uart.1.irq=13
# NPE Hardware Queue Manager
hint.ixpqmgr.0.at="ixp0"
# NPE wireless NIC's, requires ixpqmgr
hint.npe.0.at="ixp0"
hint.npe.1.at="ixp0"
# CF IDE controller
hint.ata_avila.0.at="ixp0"
# LED connected to gpio
hint.led_avila.0.at="ixp0"
# Analog Devices AD7418 temperature sensor
hint.ad7418.0.at="iicbus0"
hint.ad7418.0.addr=0x50
# Dallas Semiconductor DS1672 RTC
hint.ds1672.0.at="iicbus0"
hint.ds1672.0.addr=0xd0