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# uart0
16hint.uart.0.at="apb0"
17# NB: This isn't an ns8250 UART
18hint.uart.0.maddr=0x18020003
19hint.uart.0.msize=0x18
20hint.uart.0.irq=3
21
22# ehci - on IP3
23hint.ehci.0.at="nexus0"
24hint.ehci.0.maddr=0x1b000100
25hint.ehci.0.msize=0x00001000
26hint.ehci.0.irq=1
27
28hint.ehci.1.at="nexus0"
29hint.ehci.1.maddr=0x1b400100
30hint.ehci.1.msize=0x00001000
31hint.ehci.1.irq=1
32
33# PCIe 1: qca955x_int0 (IP2)
34
35# pci - XXX no maddr/msize, grr!
36hint.pcib.0.at="nexus0"
37hint.pcib.0.irq=0
38
39# PCIe 1: qca955x_int1 (IP3)
40hint.pcib.1.at="nexus0"
41hint.pcib.1.irq=1
42
43# IP4
44hint.arge.0.at="nexus0"
45hint.arge.0.maddr=0x19000000
46hint.arge.0.msize=0x1000
47hint.arge.0.irq=2
48
49# IP5
50hint.arge.1.at="nexus0"
51hint.arge.1.maddr=0x1a000000
52hint.arge.1.msize=0x1000
53hint.arge.1.irq=3
54
55# ath0 - connected via IP2 mux
56hint.ath.0.at="nexus0"
57hint.ath.0.maddr=0x18100000
58hint.ath.0.msize=0x20000
59hint.ath.0.irq=0
60hint.ath.0.vendor_id=0x168c
61hint.ath.0.device_id=0x0039
62# Set this to define where the ath calibration data
63# should be fetched from in physical memory.
64# hint.ath.0.eepromaddr=0x1fff1000
65
66# SPI flash
67hint.spi.0.at="nexus0"
68hint.spi.0.maddr=0x1f000000
69hint.spi.0.msize=0x10
70
71hint.mx25l.0.at="spibus0"
72hint.mx25l.0.cs=0
73
74# Watchdog
75hint.ar71xx_wdog.0.at="nexus0"
76
77# The GPIO function and pin mask is configured per-board
78hint.gpio.0.at="apb0"
79hint.gpio.0.maddr=0x18040000
80hint.gpio.0.msize=0x1000
81hint.gpio.0.irq=2
82