]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/QCA955X_BASE.hints
MFV r353617: 9425 allow channel programs to be stopped via signals
[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 # ART calibration data mapping device
16 hint.ar71xx_caldata.0.at="nexus0"
17 hint.ar71xx_caldata.0.order=0
18
19 # uart0
20 hint.uart.0.at="apb0"
21 # NB: This isn't an ns8250 UART
22 hint.uart.0.maddr=0x18020003
23 hint.uart.0.msize=0x18
24 hint.uart.0.irq=3
25
26 # ehci - on IP3
27 hint.ehci.0.at="nexus0"
28 hint.ehci.0.maddr=0x1b000100
29 hint.ehci.0.msize=0x00001000
30 hint.ehci.0.irq=1
31
32 hint.ehci.1.at="nexus0"
33 hint.ehci.1.maddr=0x1b400100
34 hint.ehci.1.msize=0x00001000
35 hint.ehci.1.irq=1
36
37 # PCIe 1: qca955x_int0 (IP2)
38
39 # pci - XXX no maddr/msize, grr!
40 hint.pcib.0.at="nexus0"
41 hint.pcib.0.irq=0
42
43 # PCIe 1: qca955x_int1 (IP3)
44 hint.pcib.1.at="nexus0"
45 hint.pcib.1.irq=1
46
47 # IP4
48 hint.arge.0.at="nexus0"
49 hint.arge.0.maddr=0x19000000
50 hint.arge.0.msize=0x1000
51 hint.arge.0.irq=2
52
53 # IP5
54 hint.arge.1.at="nexus0"
55 hint.arge.1.maddr=0x1a000000
56 hint.arge.1.msize=0x1000
57 hint.arge.1.irq=3
58
59 # ath0 - connected via IP2 mux
60 hint.ath.0.at="nexus0"
61 hint.ath.0.maddr=0x18100000
62 hint.ath.0.msize=0x20000
63 hint.ath.0.irq=0
64 hint.ath.0.vendor_id=0x168c
65 hint.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
75 hint.spi.0.at="nexus0"
76 hint.spi.0.maddr=0x1f000000
77 hint.spi.0.msize=0x10
78
79 hint.mx25l.0.at="spibus0"
80 hint.mx25l.0.cs=0
81
82 # Watchdog
83 hint.ar71xx_wdog.0.at="nexus0"
84
85 # The GPIO function and pin mask is configured per-board
86 hint.gpio.0.at="apb0"
87 hint.gpio.0.maddr=0x18040000
88 hint.gpio.0.msize=0x1000
89 hint.gpio.0.irq=2