1# This file (and the kernel config file accompanying it) are not designed 
2# to be used by themselves. Instead, users of this file should create a
3# kernel # config file which includes this file (which gets the basic hints),
4# then override the default options (adding devices as needed) and adding
5# hints as needed (for example, the GPIO and LAN PHY.)
6
7# $FreeBSD$
8
9hint.apb.0.at="nexus0"
10hint.apb.0.irq=4
11
12# uart0
13hint.uart.0.at="apb0"
14# NB: This isn't an ns8250 UART
15hint.uart.0.maddr=0x18020003
16hint.uart.0.msize=0x18
17hint.uart.0.irq=3
18
19#ehci - note the 0x100 offset for the AR913x/AR724x
20hint.ehci.0.at="nexus0"
21hint.ehci.0.maddr=0x1b000100
22hint.ehci.0.msize=0x00001000
23hint.ehci.0.irq=1
24
25# pci
26hint.pcib.0.at="nexus0"
27hint.pcib.0.irq=0
28
29hint.arge.0.at="nexus0"
30hint.arge.0.maddr=0x19000000
31hint.arge.0.msize=0x1000
32hint.arge.0.irq=2
33
34hint.arge.1.at="nexus0"
35hint.arge.1.maddr=0x1a000000
36hint.arge.1.msize=0x1000
37hint.arge.1.irq=3
38
39# XXX The ath device hangs off of the AHB, rather than the Nexus.
40hint.ath.0.at="nexus0"
41hint.ath.0.maddr=0x18100000
42hint.ath.0.msize=0x20000
43hint.ath.0.irq=0
44hint.ath.0.vendor_id=0x168c
45hint.ath.0.device_id=0x0031
46# Set this to define where the ath calibration data
47# should be fetched from in physical memory.
48# hint.ath.0.eepromaddr=0x1fff1000
49
50# SPI flash
51hint.spi.0.at="nexus0"
52hint.spi.0.maddr=0x1f000000
53hint.spi.0.msize=0x10
54
55hint.mx25l.0.at="spibus0"
56hint.mx25l.0.cs=0
57
58# Watchdog
59hint.ar71xx_wdog.0.at="nexus0"
60
61# The GPIO function and pin mask is configured per-board
62hint.gpio.0.at="apb0"
63hint.gpio.0.maddr=0x18040000
64hint.gpio.0.msize=0x1000
65hint.gpio.0.irq=2
66