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# ART calibration data mapping device
13hint.ar71xx_caldata.0.at="nexus0"
14hint.ar71xx_caldata.0.order=0
15
16# uart0
17hint.uart.0.at="apb0"
18# NB: This isn't an ns8250 UART
19hint.uart.0.maddr=0x18020000
20hint.uart.0.msize=0x18
21hint.uart.0.irq=3
22
23#ehci - note the 0x100 offset for the AR913x/AR724x
24hint.ehci.0.at="nexus0"
25hint.ehci.0.maddr=0x1b000100
26hint.ehci.0.msize=0x00ffff00
27hint.ehci.0.irq=1
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=0x0035
46
47# Where the ART is - last 64k in the first 8MB of flash
48#hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000
49#hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384
50
51# And now tell the ath(4) driver where to look!
52#hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware"
53
54# SPI flash
55hint.spi.0.at="nexus0"
56hint.spi.0.maddr=0x1f000000
57hint.spi.0.msize=0x10
58
59hint.mx25l.0.at="spibus0"
60hint.mx25l.0.cs=0
61
62# Watchdog
63hint.ar71xx_wdog.0.at="nexus0"
64
65# The GPIO function and pin mask is configured per-board
66hint.gpio.0.at="apb0"
67hint.gpio.0.maddr=0x18040000
68hint.gpio.0.msize=0x1000
69hint.gpio.0.irq=2
70