1 * Marvell Kirkwood SoC pinctrl driver for mpp
3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding
7 - compatible: "marvell,88f6180-pinctrl",
8 "marvell,88f6190-pinctrl", "marvell,88f6192-pinctrl",
9 "marvell,88f6281-pinctrl", "marvell,88f6282-pinctrl",
10 "marvell,98dx4122-pinctrl", "marvell,98dx1135-pinctrl"
11 - reg: register specifier of MPP registers
13 This driver supports all kirkwood variants, i.e. 88f6180, 88f619x, and 88f628x.
14 It also support the 88f6281-based variant in the 98dx412x Bobcat SoCs.
16 Available mpp pins/groups and functions:
17 Note: brackets (x) are not part of the mpp name for marvell,function and given
18 only for more detailed description in this document.
20 * Marvell Kirkwood 88f6180
23 ================================================================================
24 mpp0 0 gpio, nand(io2), spi(cs)
25 mpp1 1 gpo, nand(io3), spi(mosi)
26 mpp2 2 gpo, nand(io4), spi(sck)
27 mpp3 3 gpo, nand(io5), spi(miso)
28 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk)
29 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig)
30 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
31 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig)
32 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk),
34 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq),
36 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig)
37 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq),
39 mpp12 12 gpo, sdio(clk)
40 mpp13 13 gpio, sdio(cmd), uart1(txd)
41 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
42 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd)
43 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
44 mpp17 17 gpio, sdio(d3)
45 mpp18 18 gpo, nand(io0)
46 mpp19 19 gpo, nand(io1)
47 mpp35 35 gpio, mii(rxerr)
48 mpp36 36 gpio, audio(spdifi)
49 mpp37 37 gpio, audio(spdifo)
50 mpp38 38 gpio, audio(rmclk)
51 mpp39 39 gpio, audio(bclk)
52 mpp40 40 gpio, audio(sdo)
53 mpp41 41 gpio, audio(lrclk)
54 mpp42 42 gpio, audio(mclk)
55 mpp43 43 gpio, audio(sdi)
56 mpp44 44 gpio, audio(extclk)
58 * Marvell Kirkwood 88f6190
61 ================================================================================
62 mpp0 0 gpio, nand(io2), spi(cs)
63 mpp1 1 gpo, nand(io3), spi(mosi)
64 mpp2 2 gpo, nand(io4), spi(sck)
65 mpp3 3 gpo, nand(io5), spi(miso)
66 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk)
67 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
68 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
69 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig)
70 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk),
71 mii(col), mii-1(rxerr)
72 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq),
73 mii(crs), sata0(prsnt)
74 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig)
75 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq),
76 ptp-2(trig), sata0(act)
77 mpp12 12 gpo, sdio(clk)
78 mpp13 13 gpio, sdio(cmd), uart1(txd)
79 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col)
80 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
81 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs)
82 mpp17 17 gpio, sdio(d3), sata0(prsnt)
83 mpp18 18 gpo, nand(io0)
84 mpp19 19 gpo, nand(io1)
85 mpp20 20 gpio, ge1(txd0)
86 mpp21 21 gpio, ge1(txd1), sata0(act)
87 mpp22 22 gpio, ge1(txd2)
88 mpp23 23 gpio, ge1(txd3), sata0(prsnt)
89 mpp24 24 gpio, ge1(rxd0)
90 mpp25 25 gpio, ge1(rxd1)
91 mpp26 26 gpio, ge1(rxd2)
92 mpp27 27 gpio, ge1(rxd3)
93 mpp28 28 gpio, ge1(col)
94 mpp29 29 gpio, ge1(txclk)
95 mpp30 30 gpio, ge1(rxclk)
96 mpp31 31 gpio, ge1(rxclk)
97 mpp32 32 gpio, ge1(txclko)
98 mpp33 33 gpo, ge1(txclk)
99 mpp34 34 gpio, ge1(txen)
100 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr)
102 * Marvell Kirkwood 88f6192
105 ================================================================================
106 mpp0 0 gpio, nand(io2), spi(cs)
107 mpp1 1 gpo, nand(io3), spi(mosi)
108 mpp2 2 gpo, nand(io4), spi(sck)
109 mpp3 3 gpo, nand(io5), spi(miso)
110 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk), sata1(act)
111 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
112 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
113 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig)
114 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk),
115 mii(col), mii-1(rxerr), sata1(prsnt)
116 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq),
117 mii(crs), sata0(prsnt)
118 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig), sata1(act)
119 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq),
120 ptp-2(trig), sata0(act)
121 mpp12 12 gpo, sdio(clk)
122 mpp13 13 gpio, sdio(cmd), uart1(txd)
123 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col), sata1(prsnt)
124 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
125 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
127 mpp17 17 gpio, sdio(d3), sata0(prsnt)
128 mpp18 18 gpo, nand(io0)
129 mpp19 19 gpo, nand(io1)
130 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
132 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
134 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
136 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
138 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
140 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk)
141 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
144 mpp30 30 gpio, ge1(rxclk), ts(mp10), tdm(pclk)
145 mpp31 31 gpio, ge1(rxclk), ts(mp11), tdm(fs)
146 mpp32 32 gpio, ge1(txclko), ts(mp12), tdm(drx)
147 mpp33 33 gpo, ge1(txclk), tdm(drx)
148 mpp34 34 gpio, ge1(txen), tdm(spi-cs1)
149 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql)
151 * Marvell Kirkwood 88f6281
154 ================================================================================
155 mpp0 0 gpio, nand(io2), spi(cs)
156 mpp1 1 gpo, nand(io3), spi(mosi)
157 mpp2 2 gpo, nand(io4), spi(sck)
158 mpp3 3 gpo, nand(io5), spi(miso)
159 mpp4 4 gpio, nand(io6), uart0(rxd), ptp(clk), sata1(act)
160 mpp5 5 gpo, nand(io7), uart0(txd), ptp(trig), sata0(act)
161 mpp6 6 sysrst(out), spi(mosi), ptp(trig)
162 mpp7 7 gpo, pex(rsto), spi(cs), ptp(trig)
163 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk),
164 mii(col), mii-1(rxerr), sata1(prsnt)
165 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), ptp(evreq),
166 mii(crs), sata0(prsnt)
167 mpp10 10 gpo, spi(sck), uart0(txd), ptp(trig), sata1(act)
168 mpp11 11 gpio, spi(miso), uart0(rxd), ptp(clk), ptp-1(evreq),
169 ptp-2(trig), sata0(act)
170 mpp12 12 gpio, sdio(clk)
171 mpp13 13 gpio, sdio(cmd), uart1(txd)
172 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col), sata1(prsnt)
173 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act)
174 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
176 mpp17 17 gpio, sdio(d3), sata0(prsnt)
177 mpp18 18 gpo, nand(io0)
178 mpp19 19 gpo, nand(io1)
179 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
181 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
183 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
185 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
187 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo)
188 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
189 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk)
190 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi)
191 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
192 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
193 mpp30 30 gpio, ge1(rxclk), ts(mp10), tdm(pclk)
194 mpp31 31 gpio, ge1(rxclk), ts(mp11), tdm(fs)
195 mpp32 32 gpio, ge1(txclko), ts(mp12), tdm(drx)
196 mpp33 33 gpo, ge1(txclk), tdm(drx)
197 mpp34 34 gpio, ge1(txen), tdm(spi-cs1), sata1(act)
198 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql)
199 mpp36 36 gpio, ts(mp0), tdm(spi-cs1), audio(spdifi)
200 mpp37 37 gpio, ts(mp1), tdm(tx2ql), audio(spdifo)
201 mpp38 38 gpio, ts(mp2), tdm(rx2ql), audio(rmclk)
202 mpp39 39 gpio, ts(mp3), tdm(spi-cs0), audio(bclk)
203 mpp40 40 gpio, ts(mp4), tdm(spi-sck), audio(sdo)
204 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk)
205 mpp42 42 gpio, ts(mp6), tdm(spi-mosi), audio(mclk)
206 mpp43 43 gpio, ts(mp7), tdm(int), audio(sdi)
207 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk)
208 mpp45 45 gpio, ts(mp9), tdm(pclk)
209 mpp46 46 gpio, ts(mp10), tdm(fs)
210 mpp47 47 gpio, ts(mp11), tdm(drx)
211 mpp48 48 gpio, ts(mp12), tdm(dtx)
212 mpp49 49 gpio, ts(mp9), tdm(rx0ql), ptp(clk)
214 * Marvell Kirkwood 88f6282
217 ================================================================================
218 mpp0 0 gpio, nand(io2), spi(cs)
219 mpp1 1 gpo, nand(io3), spi(mosi)
220 mpp2 2 gpo, nand(io4), spi(sck)
221 mpp3 3 gpo, nand(io5), spi(miso)
222 mpp4 4 gpio, nand(io6), uart0(rxd), sata1(act), lcd(hsync)
223 mpp5 5 gpo, nand(io7), uart0(txd), sata0(act), lcd(vsync)
224 mpp6 6 sysrst(out), spi(mosi)
225 mpp7 7 gpo, spi(cs), lcd(pwm)
226 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), mii(col),
227 mii-1(rxerr), sata1(prsnt)
228 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts), mii(crs),
230 mpp10 10 gpo, spi(sck), uart0(txd), sata1(act)
231 mpp11 11 gpio, spi(miso), uart0(rxd), sata0(act)
232 mpp12 12 gpo, sdio(clk), audio(spdifo), spi(mosi), twsi(sda)
233 mpp13 13 gpio, sdio(cmd), uart1(txd), audio(rmclk), lcd(pwm)
234 mpp14 14 gpio, sdio(d0), uart1(rxd), mii(col), sata1(prsnt),
235 audio(spdifi), audio-1(sdi)
236 mpp15 15 gpio, sdio(d1), uart0(rts), uart1(txd), sata0(act),
238 mpp16 16 gpio, sdio(d2), uart0(cts), uart1(rxd), mii(crs),
239 sata1(act), lcd(extclk)
240 mpp17 17 gpio, sdio(d3), sata0(prsnt), sata1(act), twsi1(sck)
241 mpp18 18 gpo, nand(io0), pex(clkreq)
242 mpp19 19 gpo, nand(io1)
243 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
245 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
246 audio(spdifo), lcd(d1)
247 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
248 sata1(prsnt), lcd(d2)
249 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
251 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo),
253 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk),
255 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk),
257 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi),
259 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk),
261 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst), lcd(d9)
262 mpp30 30 gpio, ge1(rxclk), ts(mp10), tdm(pclk), lcd(d10)
263 mpp31 31 gpio, ge1(rxclk), ts(mp11), tdm(fs), lcd(d11)
264 mpp32 32 gpio, ge1(txclko), ts(mp12), tdm(drx), lcd(d12)
265 mpp33 33 gpo, ge1(txclk), tdm(drx), lcd(d13)
266 mpp34 34 gpio, ge1(txen), tdm(spi-cs1), sata1(act), lcd(d14)
267 mpp35 35 gpio, ge1(rxerr), sata0(act), mii(rxerr), tdm(tx0ql),
269 mpp36 36 gpio, ts(mp0), tdm(spi-cs1), audio(spdifi), twsi1(sda)
270 mpp37 37 gpio, ts(mp1), tdm(tx2ql), audio(spdifo), twsi1(sck)
271 mpp38 38 gpio, ts(mp2), tdm(rx2ql), audio(rmclk), lcd(d18)
272 mpp39 39 gpio, ts(mp3), tdm(spi-cs0), audio(bclk), lcd(d19)
273 mpp40 40 gpio, ts(mp4), tdm(spi-sck), audio(sdo), lcd(d20)
274 mpp41 41 gpio, ts(mp5), tdm(spi-miso), audio(lrclk), lcd(d21)
275 mpp42 42 gpio, ts(mp6), tdm(spi-mosi), audio(mclk), lcd(d22)
276 mpp43 43 gpio, ts(mp7), tdm(int), audio(sdi), lcd(d23)
277 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk), lcd(clk)
278 mpp45 45 gpio, ts(mp9), tdm(pclk), lcd(e)
279 mpp46 46 gpio, ts(mp10), tdm(fs), lcd(hsync)
280 mpp47 47 gpio, ts(mp11), tdm(drx), lcd(vsync)
281 mpp48 48 gpio, ts(mp12), tdm(dtx), lcd(d16)
282 mpp49 49 gpo, tdm(rx0ql), pex(clkreq), lcd(d17)
284 * Marvell Bobcat 98dx4122
287 ================================================================================
288 mpp0 0 gpio, nand(io2), spi(cs)
289 mpp1 1 gpo, nand(io3), spi(mosi)
290 mpp2 2 gpo, nand(io4), spi(sck)
291 mpp3 3 gpo, nand(io5), spi(miso)
292 mpp4 4 gpio, nand(io6), uart0(rxd)
293 mpp5 5 gpo, nand(io7), uart0(txd)
294 mpp6 6 sysrst(out), spi(mosi)
295 mpp7 7 gpo, pex(rsto), spi(cs)
296 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts)
297 mpp9 9 gpio, twsi(sck), uart0(cts), uart1(cts)
298 mpp10 10 gpo, spi(sck), uart0(txd)
299 mpp11 11 gpio, spi(miso), uart0(rxd)
300 mpp13 13 gpio, uart1(txd)
301 mpp14 14 gpio, uart1(rxd)
302 mpp15 15 gpio, uart0(rts)
303 mpp16 16 gpio, uart0(cts)
304 mpp18 18 gpo, nand(io0)
305 mpp19 19 gpo, nand(io1)
320 * Marvell Poncat2 98dx1135
323 ================================================================================
325 mpp0 0 gpio, nand(io2), spi(cs)
326 mpp1 1 gpo, nand(io3), spi(mosi)
327 mpp2 2 gpo, nand(io4), spi(sck)
328 mpp3 3 gpo, nand(io5), spi(miso)
329 mpp4 4 gpio, nand(io6), uart0(rxd)
330 mpp5 5 gpo, nand(io7), uart0(txd)
333 mpp8 8 gpio, twsi0(sda), uart1(rts)
334 mpp9 9 gpio, twsi(sck), uart1(cts)
335 mpp10 10 gpo, uart0(txd)
336 mpp11 11 gpio, uart0(rxd)
337 mpp13 13 gpio, uart1(txd)
338 mpp14 14 gpio, uart1(rxd)
339 mpp15 15 gpio, uart0(rts)
340 mpp16 16 gpio, uart0(cts)
341 mpp17 17 gpio, nand(cle)
342 mpp18 18 gpo, nand(io0)
343 mpp19 19 gpo, nand(io1)
352 mpp28 28 gpio, nand(ren)
353 mpp29 29 gpio, nand(wen)
358 mpp34 34 gpio, nand(ale)
359 mpp35 35 gpio, nand(cen)