]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/mips/conf/MT7620.hints
MFHead @r350386
[FreeBSD/FreeBSD.git] / sys / mips / conf / MT7620.hints
1 # $FreeBSD$
2 # device.hints
3 hint.obio.0.at="nexus0"
4 hint.obio.0.maddr=0x10000000
5 hint.obio.0.msize=0x10000000
6
7 hint.pcib.0.at="nexus0"
8 hint.pcib.0.maddr=0x10140000
9 hint.pcib.0.msize=0x30000
10
11 hint.mx25l.0.at="spibus0"
12
13 #hint.nvram.0.sig=0xe5e60a74
14 #hint.nvram.0.base=0x1f030000
15 #hint.nvram.0.maxsize=0x2000
16 #hint.nvram.0.flags=3 # 1 = No check, 2 = Format Generic
17 #hint.nvram.1.sig=0x5a045e94
18 #hint.nvram.1.base=0x1f032000
19 #hint.nvram.1.maxsize=0x4000
20 #hint.nvram.1.flags=3 # 1 = No check, 2 = Format Generic
21
22 # on-board Ralink Frame Engine
23 hint.rt.0.at="nexus0"
24 hint.rt.0.maddr=0x10100000
25 hint.rt.0.msize=0x10000
26 hint.rt.0.irq=3
27 # macaddr can be statically set
28 #hint.rt.0.macaddr="xx:xx:xx:xx:xx:xx"
29
30 # on-board Ralink 2872 802.11n core
31 hint.rt2860.0.at="nexus0"
32 hint.rt2860.0.maddr=0x10180000
33 hint.rt2860.0.msize=0x40000
34 hint.rt2860.0.irq=4
35
36 # uart0
37 #hint.uart.0.at="obio0"
38 #hint.uart.0.maddr=0x10000C00
39 #hint.uart.0.msize=0x100
40 #hint.uart.0.irq=12
41 #hint.uart.0.flags="0x30"
42
43 # uart1
44 #hint.uart.1.at="obio0"
45 #hint.uart.1.maddr=0x10000500
46 #hint.uart.1.msize=0x100
47 #hint.uart.1.irq=5
48 #hint.uart.1.flags="0x30"
49
50
51 # gpio
52 # GPIO0  - WPS BTN      IN II IO
53 #hint.gpiobutton.0.at="gpiobus0"
54 #hint.gpiobutton.0.pins="0x01"
55 #hint.gpiobutton.0.name="wps"
56 #hint.gpiobutton.0.flags="0x0581"
57
58 # GPIO7  - MODE SW AP   IN II IO
59 #hint.gpiobutton.1.at="gpiobus0"
60 #hint.gpiobutton.1.pins="0x80"
61 #hint.gpiobutton.1.name="mode_ap"
62 #hint.gpiobutton.1.flags="0x0581"
63
64 # GPIO8  - ST LEDRED    OUT     /* 2pin BiDir RED/BLUE LED */
65 # GPIO9  - ST LEDBLUE   OUT
66 #hint.gpioled.0.at="gpiobus0"
67 #hint.gpioled.0.pins="0x100"
68 #hint.gpioled.0.name="status_red"
69 #hint.gpioled.0.flags="0x0002"
70 #hint.gpioled.1.at="gpiobus0"
71 #hint.gpioled.1.pins="0x200"
72 #hint.gpioled.1.name="status_blue"
73 #hint.gpioled.1.name="status"
74 #hint.gpioled.1.flags="0x0002"
75
76 # GPIO10 - RST BTN      IN II IO
77 #hint.gpiobutton.2.at="gpiobus0"
78 #hint.gpiobutton.2.pins="0x400"
79 ##hint.gpiobutton.2.name="reset"
80 #hint.gpiobutton.2.flags="0x0581"
81
82 # GPIO11 - MODE SW CL   IN II IO
83 #hint.gpiobutton.3.at="gpiobus0"
84 #hint.gpiobutton.3.pins="0x800"
85 #hint.gpiobutton.3.name="mode_wlan_client"
86 #hint.gpiobutton.3.flags="0x0581"
87
88 # GPIO14 - WPS LED      OUT II IO
89 #hint.gpioled.2.at="gpiobus0"
90 #hint.gpioled.2.pins="0x4000"
91 #hint.gpioled.2.name="wps"
92 #hint.gpioled.2.flags="0x0182"
93
94
95
96 #0x00000000-0x00030000 : "Bootloader"
97 #0x00030000-0x00040000 : "Factory"
98 #0x00040000-0x00070000 : "Config"
99 #0x00070000-0x000b0000 : "Language"
100 #0x000b0000-0x001a0000 : "Kernel"
101 #0x001a0000-0x01000000 : "RootFS"
102
103 #hint.map.0.at="cfid0"
104 #hint.map.0.start=0x00000000
105 #hint.map.0.end=0x00030000
106 #hint.map.0.name="bootloader"
107 #hint.map.0.readonly=1
108
109 #hint.map.1.at="cfid0"
110 #hint.map.1.start=0x00030000
111 #hint.map.1.end=0x00040000
112 #hint.map.1.name="factory"
113
114 #hint.map.2.at="cfid0"
115 #hint.map.2.start=0x00040000
116 #hint.map.2.end=0x00800000
117 #hint.map.2.name="upgrade"
118
119 #hint.map.3.at="cfid0"
120 #hint.map.3.start=0x00040000
121 #hint.map.3.end=0x00050000
122 #hint.map.3.name="config"
123
124 #hint.map.4.at="cfid0"
125 #hint.map.4.start=0x00000000
126 #hint.map.4.end=0x00000000
127 #hint.map.4.name="language"
128
129 #hint.map.5.at="cfid0"
130 #hint.map.5.start=0x00050000
131 #hint.map.5.end=0x00150000
132 #hint.map.5.name="kernel"
133
134 #hint.map.6.at="cfid0"
135 #hint.map.6.start=0x00150000
136 #hint.map.6.end=0x00800000
137 #hint.map.6.name="rootfs"
138
139
140 #hint.rt.0.phymask=0x1f
141 #hint.rt.0.media=100
142 #hint.rt.0.fduplex=1
143