marvell,kirkwood-pinctrl.txt 16 KB

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