1220295Sadrian# This file (and the kernel config file accompanying it) are not designed 
2220295Sadrian# to be used by themselves. Instead, users of this file should create a
3220295Sadrian# kernel # config file which includes this file (which gets the basic hints),
4220295Sadrian# then override the default options (adding devices as needed) and adding
5220295Sadrian# hints as needed (for example, the GPIO and LAN PHY.)
6220295Sadrian
7220295Sadrian# $FreeBSD$
8220295Sadrian
9220295Sadrianhint.apb.0.at="nexus0"
10220295Sadrianhint.apb.0.irq=4
11220295Sadrian
12220295Sadrian# uart0
13220295Sadrianhint.uart.0.at="apb0"
14220295Sadrian# see atheros/uart_cpu_ar71xx.c why +3
15220295Sadrianhint.uart.0.maddr=0x18020003
16220295Sadrianhint.uart.0.msize=0x18
17220295Sadrianhint.uart.0.irq=3
18220295Sadrian
19220295Sadrian#ehci - note the 0x100 offset for the AR913x/AR724x
20220295Sadrianhint.ehci.0.at="nexus0"
21220295Sadrianhint.ehci.0.maddr=0x1b000100
22220295Sadrianhint.ehci.0.msize=0x00ffff00
23220295Sadrianhint.ehci.0.irq=1
24220295Sadrian
25220295Sadrianhint.arge.0.at="nexus0"
26220295Sadrianhint.arge.0.maddr=0x19000000
27220295Sadrianhint.arge.0.msize=0x1000
28220295Sadrianhint.arge.0.irq=2
29220295Sadrian
30220295Sadrianhint.arge.1.at="nexus0"
31220295Sadrianhint.arge.1.maddr=0x1a000000
32220295Sadrianhint.arge.1.msize=0x1000
33220295Sadrianhint.arge.1.irq=3
34220295Sadrian
35227919Sadrian# XXX The ath device hangs off of the AHB, rather than the Nexus.
36220295Sadrianhint.ath.0.at="nexus0"
37220295Sadrianhint.ath.0.maddr=0x180c0000
38220295Sadrianhint.ath.0.msize=0x30000
39220295Sadrianhint.ath.0.irq=0
40220295Sadrian# Set this to define where the ath calibration data
41220295Sadrian# should be fetched from in physical memory.
42220295Sadrian# hint.ath.0.eepromaddr=0x1fff1000
43220295Sadrian
44220295Sadrian# SPI flash
45220295Sadrianhint.spi.0.at="nexus0"
46220295Sadrianhint.spi.0.maddr=0x1f000000
47220295Sadrianhint.spi.0.msize=0x10
48220295Sadrian
49220295Sadrianhint.mx25l.0.at="spibus0"
50220295Sadrianhint.mx25l.0.cs=0
51220295Sadrian
52220295Sadrian# Watchdog
53220295Sadrianhint.ar71xx_wdog.0.at="nexus0"
54228519Sadrian
55228519Sadrian# The GPIO function and pin mask is configured per-board
56228519Sadrianhint.gpio.0.at="apb0"
57228519Sadrianhint.gpio.0.maddr=0x18040000
58228519Sadrianhint.gpio.0.msize=0x1000
59228519Sadrianhint.gpio.0.irq=2
60