]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/QCA955X_BASE.hints
Fix reference count overflow in mqueuefs.
[FreeBSD/FreeBSD.git] / sys / mips / conf / QCA955X_BASE.hints
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
9 hint.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.
13 hint.apb.0.irq=4
14
15 # uart0
16 hint.uart.0.at="apb0"
17 # NB: This isn't an ns8250 UART
18 hint.uart.0.maddr=0x18020003
19 hint.uart.0.msize=0x18
20 hint.uart.0.irq=3
21
22 # ehci - on IP3
23 hint.ehci.0.at="nexus0"
24 hint.ehci.0.maddr=0x1b000100
25 hint.ehci.0.msize=0x00001000
26 hint.ehci.0.irq=1
27
28 hint.ehci.1.at="nexus0"
29 hint.ehci.1.maddr=0x1b400100
30 hint.ehci.1.msize=0x00001000
31 hint.ehci.1.irq=1
32
33 # PCIe 1: qca955x_int0 (IP2)
34
35 # pci - XXX no maddr/msize, grr!
36 hint.pcib.0.at="nexus0"
37 hint.pcib.0.irq=0
38
39 # PCIe 1: qca955x_int1 (IP3)
40 hint.pcib.1.at="nexus0"
41 hint.pcib.1.irq=1
42
43 # IP4
44 hint.arge.0.at="nexus0"
45 hint.arge.0.maddr=0x19000000
46 hint.arge.0.msize=0x1000
47 hint.arge.0.irq=2
48
49 # IP5
50 hint.arge.1.at="nexus0"
51 hint.arge.1.maddr=0x1a000000
52 hint.arge.1.msize=0x1000
53 hint.arge.1.irq=3
54
55 # ath0 - connected via IP2 mux
56 hint.ath.0.at="nexus0"
57 hint.ath.0.maddr=0x18100000
58 hint.ath.0.msize=0x20000
59 hint.ath.0.irq=0
60 hint.ath.0.vendor_id=0x168c
61 hint.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
67 hint.spi.0.at="nexus0"
68 hint.spi.0.maddr=0x1f000000
69 hint.spi.0.msize=0x10
70
71 hint.mx25l.0.at="spibus0"
72 hint.mx25l.0.cs=0
73
74 # Watchdog
75 hint.ar71xx_wdog.0.at="nexus0"
76
77 # The GPIO function and pin mask is configured per-board
78 hint.gpio.0.at="apb0"
79 hint.gpio.0.maddr=0x18040000
80 hint.gpio.0.msize=0x1000
81 hint.gpio.0.irq=2