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