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"
10# The default APB is on IP6 (irq4); we need to add
11# the two new ones (IP2, IP3) to this and extend
12# the irq ranges appropriately.
13hint.apb.0.irq=4
14
15# ART calibration data mapping device
16hint.ar71xx_caldata.0.at="nexus0"
17hint.ar71xx_caldata.0.order=0
18
19# uart0
20hint.uart.0.at="apb0"
21# NB: This isn't an ns8250 UART
22hint.uart.0.maddr=0x18020003
23hint.uart.0.msize=0x18
24hint.uart.0.irq=3
25
26# ehci - on IP3
27hint.ehci.0.at="nexus0"
28hint.ehci.0.maddr=0x1b000100
29hint.ehci.0.msize=0x00001000
30hint.ehci.0.irq=1
31
32hint.ehci.1.at="nexus0"
33hint.ehci.1.maddr=0x1b400100
34hint.ehci.1.msize=0x00001000
35hint.ehci.1.irq=1
36
37# PCIe 1: qca955x_int0 (IP2)
38
39# pci - XXX no maddr/msize, grr!
40hint.pcib.0.at="nexus0"
41hint.pcib.0.irq=0
42
43# PCIe 1: qca955x_int1 (IP3)
44hint.pcib.1.at="nexus0"
45hint.pcib.1.irq=1
46
47# IP4
48hint.arge.0.at="nexus0"
49hint.arge.0.maddr=0x19000000
50hint.arge.0.msize=0x1000
51hint.arge.0.irq=2
52
53# IP5
54hint.arge.1.at="nexus0"
55hint.arge.1.maddr=0x1a000000
56hint.arge.1.msize=0x1000
57hint.arge.1.irq=3
58
59# ath0 - connected via IP2 mux
60hint.ath.0.at="nexus0"
61hint.ath.0.maddr=0x18100000
62hint.ath.0.msize=0x20000
63hint.ath.0.irq=0
64hint.ath.0.vendor_id=0x168c
65hint.ath.0.device_id=0x0039
66
67# Where the ART is - last 64k in the first 8MB of flash
68#hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000
69#hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384
70
71# And now tell the ath(4) driver where to look!
72#hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware"
73
74# SPI flash
75hint.spi.0.at="nexus0"
76hint.spi.0.maddr=0x1f000000
77hint.spi.0.msize=0x10
78
79hint.mx25l.0.at="spibus0"
80hint.mx25l.0.cs=0
81
82# Watchdog
83hint.ar71xx_wdog.0.at="nexus0"
84
85# The GPIO function and pin mask is configured per-board
86hint.gpio.0.at="apb0"
87hint.gpio.0.maddr=0x18040000
88hint.gpio.0.msize=0x1000
89hint.gpio.0.irq=2
90