]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/QCA953X_BASE.hints
Import DTS from Linux 4.20
[FreeBSD/FreeBSD.git] / sys / mips / conf / QCA953X_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 hint.apb.0.irq=4
11
12 # ART calibration data mapping device
13 hint.ar71xx_caldata.0.at="nexus0"
14 hint.ar71xx_caldata.0.order=0
15
16 # mdiobus on arge0 - required to bring up arge0
17 hint.argemdio.0.at="nexus0"
18 hint.argemdio.0.maddr=0x19000000
19 hint.argemdio.0.msize=0x1000
20 hint.argemdio.0.order=0
21
22 # mdiobus on arge1 - this is what the internal switch is hooked into.
23 hint.argemdio.1.at="nexus0"
24 hint.argemdio.1.maddr=0x1a000000
25 hint.argemdio.1.msize=0x1000
26 hint.argemdio.1.order=0
27
28 # uart0
29 hint.uart.0.at="apb0"
30 # see atheros/uart_cpu_ar71xx.c why +3
31 hint.uart.0.maddr=0x18020003
32 hint.uart.0.msize=0x18
33 hint.uart.0.irq=3
34
35 # ehci - on IP3
36 hint.ehci.0.at="nexus0"
37 hint.ehci.0.maddr=0x1b000100
38 hint.ehci.0.msize=0x00ffff00
39 hint.ehci.0.irq=1
40
41 hint.arge.0.at="nexus0"
42 hint.arge.0.maddr=0x19000000
43 hint.arge.0.msize=0x1000
44 hint.arge.0.irq=2
45
46 hint.arge.1.at="nexus0"
47 hint.arge.1.maddr=0x1a000000
48 hint.arge.1.msize=0x1000
49 hint.arge.1.irq=3
50
51 # XXX The ath device hangs off of the AHB, rather than the Nexus.
52 hint.ath.0.at="nexus0"
53 hint.ath.0.maddr=0x18100000
54 hint.ath.0.msize=0x20000
55 hint.ath.0.irq=0
56 hint.ath.0.vendor_id=0x168c
57 hint.ath.0.device_id=0x003d
58 # Where the ART is - last 64k in the first 8MB of flash
59 #hint.ar71xx_caldata.0.map.0.ath_fixup_addr=0x1fff0000
60 #hint.ar71xx_caldata.0.map.0.ath_fixup_size=16384
61
62 # And now tell the ath(4) driver where to look!
63 #hint.ath.0.eeprom_firmware="ar71xx_caldata.0.map.0.eeprom_firmware"
64
65 # SPI flash
66 hint.spi.0.at="nexus0"
67 hint.spi.0.maddr=0x1f000000
68 hint.spi.0.msize=0x10
69
70 hint.mx25l.0.at="spibus0"
71 hint.mx25l.0.cs=0
72
73 # Watchdog
74 hint.ar71xx_wdog.0.at="nexus0"
75
76 # The GPIO function and pin mask is configured per-board
77 hint.gpio.0.at="apb0"
78 hint.gpio.0.maddr=0x18040000
79 hint.gpio.0.msize=0x1000
80 hint.gpio.0.irq=2