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