xref: /freebsd-13-stable/sys/mips/conf/AR91XX_BASE.hints (revision 5510f79042fbd543de55807d0da7f8a2b8be2f89)
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
7hint.apb.0.at="nexus0"
8hint.apb.0.irq=4
9
10# uart0
11hint.uart.0.at="apb0"
12# see atheros/uart_cpu_ar71xx.c why +3
13hint.uart.0.maddr=0x18020003
14hint.uart.0.msize=0x18
15hint.uart.0.irq=3
16
17#ehci - note the 0x100 offset for the AR913x/AR724x
18hint.ehci.0.at="nexus0"
19hint.ehci.0.maddr=0x1b000100
20hint.ehci.0.msize=0x00ffff00
21hint.ehci.0.irq=1
22
23hint.arge.0.at="nexus0"
24hint.arge.0.maddr=0x19000000
25hint.arge.0.msize=0x1000
26hint.arge.0.irq=2
27
28hint.arge.1.at="nexus0"
29hint.arge.1.maddr=0x1a000000
30hint.arge.1.msize=0x1000
31hint.arge.1.irq=3
32
33# XXX The ath device hangs off of the AHB, rather than the Nexus.
34hint.ath.0.at="nexus0"
35hint.ath.0.maddr=0x180c0000
36hint.ath.0.msize=0x30000
37hint.ath.0.irq=0
38# Set this to define where the ath calibration data
39# should be fetched from in physical memory.
40# hint.ath.0.eepromaddr=0x1fff1000
41
42# SPI flash
43hint.spi.0.at="nexus0"
44hint.spi.0.maddr=0x1f000000
45hint.spi.0.msize=0x10
46
47hint.mx25l.0.at="spibus0"
48hint.mx25l.0.cs=0
49
50# Watchdog
51hint.ar71xx_wdog.0.at="nexus0"
52
53# The GPIO function and pin mask is configured per-board
54hint.gpio.0.at="apb0"
55hint.gpio.0.maddr=0x18040000
56hint.gpio.0.msize=0x1000
57hint.gpio.0.irq=2
58