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=0x18020003
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=0x00001000
27hint.ehci.0.irq=1
28
29# pci
30hint.pcib.0.at="nexus0"
31hint.pcib.0.irq=0
32
33hint.arge.0.at="nexus0"
34hint.arge.0.maddr=0x19000000
35hint.arge.0.msize=0x1000
36hint.arge.0.irq=2
37
38hint.arge.1.at="nexus0"
39hint.arge.1.maddr=0x1a000000
40hint.arge.1.msize=0x1000
41hint.arge.1.irq=3
42
43# XXX The ath device hangs off of the AHB, rather than the Nexus.
44hint.ath.0.at="nexus0"
45hint.ath.0.maddr=0x18100000
46hint.ath.0.msize=0x20000
47hint.ath.0.irq=0
48hint.ath.0.vendor_id=0x168c
49hint.ath.0.device_id=0x0031
50# Set this to define where the ath calibration data
51# should be fetched from in physical memory.
52# hint.ath.0.eepromaddr=0x1fff1000
53
54# Where the ART is - last 64k in the first 8MB of flash
55#hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000
56#hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384
57
58# And now tell the ath(4) driver where to look!
59#hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware"
60
61# SPI flash
62hint.spi.0.at="nexus0"
63hint.spi.0.maddr=0x1f000000
64hint.spi.0.msize=0x10
65
66hint.mx25l.0.at="spibus0"
67hint.mx25l.0.cs=0
68
69# Watchdog
70hint.ar71xx_wdog.0.at="nexus0"
71
72# The GPIO function and pin mask is configured per-board
73hint.gpio.0.at="apb0"
74hint.gpio.0.maddr=0x18040000
75hint.gpio.0.msize=0x1000
76hint.gpio.0.irq=2
77