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
25hint.arge.0.at="nexus0"
26hint.arge.0.maddr=0x19000000
27hint.arge.0.msize=0x1000
28hint.arge.0.irq=2
29
30hint.arge.1.at="nexus0"
31hint.arge.1.maddr=0x1a000000
32hint.arge.1.msize=0x1000
33hint.arge.1.irq=3
34
35# XXX The ath device hangs off of the AHB, rather than the Nexus.
36hint.ath.0.at="nexus0"
37hint.ath.0.maddr=0x18100000
38hint.ath.0.msize=0x20000
39hint.ath.0.irq=0
40hint.ath.0.vendor_id=0x168c
41hint.ath.0.device_id=0x0031
42# Set this to define where the ath calibration data
43# should be fetched from in physical memory.
44# hint.ath.0.eepromaddr=0x1fff1000
45
46# SPI flash
47hint.spi.0.at="nexus0"
48hint.spi.0.maddr=0x1f000000
49hint.spi.0.msize=0x10
50
51hint.mx25l.0.at="spibus0"
52hint.mx25l.0.cs=0
53
54# Watchdog
55hint.ar71xx_wdog.0.at="nexus0"
56
57# The GPIO function and pin mask is configured per-board
58hint.gpio.0.at="apb0"
59hint.gpio.0.maddr=0x18040000
60hint.gpio.0.msize=0x1000
61hint.gpio.0.irq=2
62