blob: a40b60f1ca4c42b2bef730065fcd4b405184ab0a [file] [log] [blame]
Thomas Petazzoniaf033612015-03-03 15:41:06 +01001* Marvell Armada 39x 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:
Thomas Petazzonie73ac022015-06-09 18:47:26 +02007- compatible: "marvell,88f6920-pinctrl", "marvell,88f6925-pinctrl" or
8 "marvell,88f6928-pinctrl" depending on the specific variant of the
9 SoC being used.
Thomas Petazzoniaf033612015-03-03 15:41:06 +010010- reg: register specifier of MPP registers
11
12Available mpp pins/groups and functions:
13Note: brackets (x) are not part of the mpp name for marvell,function and given
14only for more detailed description in this document.
15
16name pins functions
17================================================================================
18mpp0 0 gpio, ua0(rxd)
19mpp1 1 gpio, ua0(txd)
20mpp2 2 gpio, i2c0(sck)
21mpp3 3 gpio, i2c0(sda)
22mpp4 4 gpio, ua1(txd), ua0(rts), smi(mdc)
23mpp5 5 gpio, ua1(rxd), ua0(cts), smi(mdio)
24mpp6 6 gpio, dev(cs3), xsmi(mdio)
25mpp7 7 gpio, dev(ad9), xsmi(mdc)
26mpp8 8 gpio, dev(ad10), ptp(trig)
27mpp9 9 gpio, dev(ad11), ptp(clk)
Thomas Petazzoni9540cf52015-06-09 18:47:02 +020028mpp10 10 gpio, dev(ad12), ptp(evreq)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010029mpp11 11 gpio, dev(ad13), led(clk)
30mpp12 12 gpio, pcie0(rstout), dev(ad14), led(stb)
Thomas Petazzonic0adb872015-06-09 18:47:24 +020031mpp13 13 gpio, dev(ad15), pcie2(clkreq), led(data)
Thomas Petazzoni7bd6a262015-06-09 18:47:06 +020032mpp14 14 gpio, dram(vttctrl), dev(we1), ua1(txd)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010033mpp15 15 gpio, pcie0(rstout), spi0(mosi), i2c1(sck)
Thomas Petazzonic0adb872015-06-09 18:47:24 +020034mpp16 16 gpio, dram(deccerr), spi0(miso), pcie0(clkreq), i2c1(sda)
Thomas Petazzoni6afc0c02015-06-09 18:47:25 +020035mpp17 17 gpio, ua1(rxd), spi0(sck), sata1(prsnt) [1], sata0(prsnt) [1], smi(mdio)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010036mpp18 18 gpio, ua1(txd), spi0(cs0), i2c2(sck)
Thomas Petazzoni52f83172015-06-09 18:47:04 +020037mpp19 19 gpio, sata1(prsnt) [1], ua0(cts), ua1(rxd), i2c2(sda)
38mpp20 20 gpio, sata0(prsnt) [1], ua0(rts), ua1(txd), smi(mdc)
Thomas Petazzoni6afc0c02015-06-09 18:47:25 +020039mpp21 21 gpio, spi0(cs1), sata0(prsnt) [1], sd0(cmd), dev(bootcs),
40 sata1(prsnt) [1], ge(rxd0)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010041mpp22 22 gpio, spi0(mosi), dev(ad0)
42mpp23 23 gpio, spi0(sck), dev(ad2)
Thomas Petazzoni7bd6a262015-06-09 18:47:06 +020043mpp24 24 gpio, spi0(miso), ua0(cts), ua1(rxd), sd0(d4), dev(ready)
Thomas Petazzoniddf3f192015-06-09 18:47:05 +020044mpp25 25 gpio, spi0(cs0), ua0(rts), ua1(txd), sd0(d5), dev(cs0)
45mpp26 26 gpio, spi0(cs2), i2c1(sck), sd0(d6), dev(cs1)
46mpp27 27 gpio, spi0(cs3), i2c1(sda), sd0(d7), dev(cs2), ge(txclkout)
47mpp28 28 gpio, sd0(clk), dev(ad5), ge(txd0)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010048mpp29 29 gpio, dev(ale0), ge(txd1)
Thomas Petazzoni7bd6a262015-06-09 18:47:06 +020049mpp30 30 gpio, dev(oe), ge(txd2)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010050mpp31 31 gpio, dev(ale1), ge(txd3)
Thomas Petazzoni7bd6a262015-06-09 18:47:06 +020051mpp32 32 gpio, dev(we0), ge(txctl)
Thomas Petazzoni100dc5d2015-06-09 18:47:03 +020052mpp33 33 gpio, dram(deccerr), dev(ad3)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010053mpp34 34 gpio, dev(ad1)
54mpp35 35 gpio, ref(clk), dev(a1)
55mpp36 36 gpio, dev(a0)
Thomas Petazzoniddf3f192015-06-09 18:47:05 +020056mpp37 37 gpio, sd0(d3), dev(ad8), ge(rxclk)
57mpp38 38 gpio, ref(clk), sd0(d0), dev(ad4), ge(rxd1)
58mpp39 39 gpio, i2c1(sck), ua0(cts), sd0(d1), dev(a2), ge(rxd2)
59mpp40 40 gpio, i2c1(sda), ua0(rts), sd0(d2), dev(ad6), ge(rxd3)
Thomas Petazzoni5cc0de12015-06-09 18:47:07 +020060mpp41 41 gpio, ua1(rxd), ua0(cts), spi1(cs3), dev(burst/last), nand(rb0), ge(rxctl)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010061mpp42 42 gpio, ua1(txd), ua0(rts), dev(ad7)
Thomas Petazzoni5cc0de12015-06-09 18:47:07 +020062mpp43 43 gpio, pcie0(clkreq), dram(vttctrl), dram(deccerr), spi1(cs2), dev(clkout), nand(rb1)
Thomas Petazzonie73ac022015-06-09 18:47:26 +020063mpp44 44 gpio, sata0(prsnt) [1], sata1(prsnt) [1], sata2(prsnt) [2],
64 sata3(prsnt) [2], led(clk)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010065mpp45 45 gpio, ref(clk), pcie0(rstout), ua1(rxd)
66mpp46 46 gpio, ref(clk), pcie0(rstout), ua1(txd), led(stb)
Thomas Petazzonie73ac022015-06-09 18:47:26 +020067mpp47 47 gpio, sata0(prsnt) [1], sata1(prsnt) [1], sata2(prsnt) [2],
68 sata3(prsnt) [2], led(data)
69mpp48 48 gpio, sata0(prsnt) [1], dram(vttctrl), tdm(pclk) [2], audio(mclk) [2], sd0(d4), pcie0(clkreq), ua1(txd)
70mpp49 49 gpio, sata2(prsnt) [2], sata3(prsnt) [2], tdm(fsync) [2],
71 audio(lrclk) [2], sd0(d5), ua2(rxd)
72mpp50 50 gpio, pcie0(rstout), tdm(drx) [2], audio(extclk) [2], sd0(cmd), ua2(rxd)
73mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd)
74mpp52 52 gpio, pcie0(rstout), tdm(int) [2], audio(sdi) [2], sd0(d6), i2c3(sck)
75mpp53 53 gpio, sata1(prsnt) [1], sata0(prsnt) [1], tdm(rst) [2], audio(bclk) [2], sd0(d7), i2c3(sda)
Thomas Petazzoniddf3f192015-06-09 18:47:05 +020076mpp54 54 gpio, sata0(prsnt) [1], sata1(prsnt) [1], pcie0(rstout), sd0(d3), ua3(txd)
77mpp55 55 gpio, ua1(cts), spi1(cs1), sd0(d0), ua1(rxd), ua3(rxd)
Thomas Petazzoni100dc5d2015-06-09 18:47:03 +020078mpp56 56 gpio, ua1(rts), dram(deccerr), spi1(mosi), ua1(txd)
Thomas Petazzoniddf3f192015-06-09 18:47:05 +020079mpp57 57 gpio, spi1(sck), sd0(clk), ua1(txd)
80mpp58 58 gpio, i2c1(sck), pcie2(clkreq), spi1(miso), sd0(d1), ua1(rxd)
81mpp59 59 gpio, pcie0(rstout), i2c1(sda), spi1(cs0), sd0(d2)
Thomas Petazzoniaf033612015-03-03 15:41:06 +010082
Thomas Petazzonie73ac022015-06-09 18:47:26 +020083[1]: only available on 88F6925/88F6928
84[2]: only available on 88F6928