xref: /openbmc/linux/Documentation/devicetree/bindings/pinctrl/marvell,armada-370-pinctrl.txt (revision 8c57a5e7b2820f349c95b8c8393fec1e0f4070d2)
15f597bb2SThomas Petazzoni* Marvell Armada 370 SoC pinctrl driver for mpp
25f597bb2SThomas Petazzoni
35f597bb2SThomas PetazzoniPlease refer to marvell,mvebu-pinctrl.txt in this directory for common binding
45f597bb2SThomas Petazzonipart and usage.
55f597bb2SThomas Petazzoni
65f597bb2SThomas PetazzoniRequired properties:
75f597bb2SThomas Petazzoni- compatible: "marvell,88f6710-pinctrl"
8356ca6ceSSebastian Hesselbarth- reg: register specifier of MPP registers
95f597bb2SThomas Petazzoni
105f597bb2SThomas PetazzoniAvailable mpp pins/groups and functions:
115f597bb2SThomas PetazzoniNote: brackets (x) are not part of the mpp name for marvell,function and given
125f597bb2SThomas Petazzonionly for more detailed description in this document.
135f597bb2SThomas Petazzoni
145f597bb2SThomas Petazzoniname          pins     functions
155f597bb2SThomas Petazzoni================================================================================
165f597bb2SThomas Petazzonimpp0          0        gpio, uart0(rxd)
175f597bb2SThomas Petazzonimpp1          1        gpo, uart0(txd)
185f597bb2SThomas Petazzonimpp2          2        gpio, i2c0(sck), uart0(txd)
195f597bb2SThomas Petazzonimpp3          3        gpio, i2c0(sda), uart0(rxd)
20bfacb566SThomas Petazzonimpp4          4        gpio, vdd(cpu-pd)
219e05db29SThomas Petazzonimpp5          5        gpo, ge0(txclkout), uart1(txd), spi1(sck), audio(mclk)
225f597bb2SThomas Petazzonimpp6          6        gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo)
23dae5597fSThomas Petazzonimpp7          7        gpo, ge0(txd1), tdm(dtx), audio(lrclk)
245f597bb2SThomas Petazzonimpp8          8        gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk)
255f597bb2SThomas Petazzonimpp9          9        gpo, ge0(txd3), uart1(txd), sd0(clk), audio(spdifo)
265f597bb2SThomas Petazzonimpp10         10       gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi)
275f597bb2SThomas Petazzonimpp11         11       gpio, ge0(rxd0), uart1(rxd), sd0(cmd), spi0(cs1),
285f597bb2SThomas Petazzoni                       sata1(prsnt), spi1(cs1)
295f597bb2SThomas Petazzonimpp12         12       gpio, ge0(rxd1), i2c1(sda), sd0(d0), spi1(cs0),
305f597bb2SThomas Petazzoni                       audio(spdifi)
315f597bb2SThomas Petazzonimpp13         13       gpio, ge0(rxd2), i2c1(sck), sd0(d1), tdm(pclk),
325f597bb2SThomas Petazzoni                       audio(rmclk)
335f597bb2SThomas Petazzonimpp14         14       gpio, ge0(rxd3), pcie(clkreq0), sd0(d2), spi1(mosi),
345f597bb2SThomas Petazzoni                       spi0(cs2)
355f597bb2SThomas Petazzonimpp15         15       gpio, ge0(rxctl), pcie(clkreq1), sd0(d3), spi1(miso),
365f597bb2SThomas Petazzoni                       spi0(cs3)
375f597bb2SThomas Petazzonimpp16         16       gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
385f597bb2SThomas Petazzonimpp17         17       gpo, ge(mdc)
395f597bb2SThomas Petazzonimpp18         18       gpio, ge(mdio)
405f597bb2SThomas Petazzonimpp19         19       gpio, ge0(txclk), ge1(txclkout), tdm(pclk)
415f597bb2SThomas Petazzonimpp20         20       gpo, ge0(txd4), ge1(txd0)
425f597bb2SThomas Petazzonimpp21         21       gpo, ge0(txd5), ge1(txd1), uart1(txd)
435f597bb2SThomas Petazzonimpp22         22       gpo, ge0(txd6), ge1(txd2), uart0(rts)
445f597bb2SThomas Petazzonimpp23         23       gpo, ge0(txd7), ge1(txd3), spi1(mosi)
455f597bb2SThomas Petazzonimpp24         24       gpio, ge0(col), ge1(txctl), spi1(cs0)
465f597bb2SThomas Petazzonimpp25         25       gpio, ge0(rxerr), ge1(rxd0), uart1(rxd)
475f597bb2SThomas Petazzonimpp26         26       gpio, ge0(crs), ge1(rxd1), spi1(miso)
485f597bb2SThomas Petazzonimpp27         27       gpio, ge0(rxd4), ge1(rxd2), uart0(cts)
495f597bb2SThomas Petazzonimpp28         28       gpio, ge0(rxd5), ge1(rxd3)
505f597bb2SThomas Petazzonimpp29         29       gpio, ge0(rxd6), ge1(rxctl), i2c1(sda)
515f597bb2SThomas Petazzonimpp30         30       gpio, ge0(rxd7), ge1(rxclk), i2c1(sck)
525f597bb2SThomas Petazzonimpp31         31       gpio, tclk, ge0(txerr)
535f597bb2SThomas Petazzonimpp32         32       gpio, spi0(cs0)
545f597bb2SThomas Petazzonimpp33         33       gpio, dev(bootcs), spi0(cs0)
557bd6a26dSThomas Petazzonimpp34         34       gpo, dev(we0), spi0(mosi)
567bd6a26dSThomas Petazzonimpp35         35       gpo, dev(oe), spi0(sck)
575f597bb2SThomas Petazzonimpp36         36       gpo, dev(a1), spi0(miso)
585f597bb2SThomas Petazzonimpp37         37       gpo, dev(a0), sata0(prsnt)
595f597bb2SThomas Petazzonimpp38         38       gpio, dev(ready), uart1(cts), uart0(cts)
605f597bb2SThomas Petazzonimpp39         39       gpo, dev(ad0), audio(spdifo)
615f597bb2SThomas Petazzonimpp40         40       gpio, dev(ad1), uart1(rts), uart0(rts)
625f597bb2SThomas Petazzonimpp41         41       gpio, dev(ad2), uart1(rxd)
635f597bb2SThomas Petazzonimpp42         42       gpo, dev(ad3), uart1(txd)
645f597bb2SThomas Petazzonimpp43         43       gpo, dev(ad4), audio(bclk)
655f597bb2SThomas Petazzonimpp44         44       gpo, dev(ad5), audio(mclk)
665f597bb2SThomas Petazzonimpp45         45       gpo, dev(ad6), audio(lrclk)
675f597bb2SThomas Petazzonimpp46         46       gpo, dev(ad7), audio(sdo)
685f597bb2SThomas Petazzonimpp47         47       gpo, dev(ad8), sd0(clk), audio(spdifo)
695f597bb2SThomas Petazzonimpp48         48       gpio, dev(ad9), uart0(rts), sd0(cmd), sata1(prsnt),
705f597bb2SThomas Petazzoni                       spi0(cs1)
715f597bb2SThomas Petazzonimpp49         49       gpio, dev(ad10), pcie(clkreq1), sd0(d0), spi1(cs0),
725f597bb2SThomas Petazzoni                       audio(spdifi)
735f597bb2SThomas Petazzonimpp50         50       gpio, dev(ad11), uart0(cts), sd0(d1), spi1(miso),
745f597bb2SThomas Petazzoni                       audio(rmclk)
755f597bb2SThomas Petazzonimpp51         51       gpio, dev(ad12), i2c1(sda), sd0(d2), spi1(mosi)
765f597bb2SThomas Petazzonimpp52         52       gpio, dev(ad13), i2c1(sck), sd0(d3), spi1(sck)
775f597bb2SThomas Petazzonimpp53         53       gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2),
785f597bb2SThomas Petazzoni                       pcie(clkreq1)
795f597bb2SThomas Petazzonimpp54         54       gpo, dev(ad15), tdm(dtx)
805f597bb2SThomas Petazzonimpp55         55       gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
815f597bb2SThomas Petazzoni                       sata0(prsnt)
825f597bb2SThomas Petazzonimpp56         56       gpio, dev(cs2), uart1(cts), uart0(cts), spi0(cs3),
835f597bb2SThomas Petazzoni                       pcie(clkreq0), spi1(cs1)
845f597bb2SThomas Petazzonimpp57         57       gpio, dev(cs3), uart1(rxd), tdm(fsync), sata0(prsnt),
855f597bb2SThomas Petazzoni                       audio(sdo)
865f597bb2SThomas Petazzonimpp58         58       gpio, dev(cs0), uart1(rts), tdm(int), audio(extclk),
875f597bb2SThomas Petazzoni                       uart0(rts)
885f597bb2SThomas Petazzonimpp59         59       gpo, dev(ale0), uart1(rts), uart0(rts), audio(bclk)
89d4974c16SThomas Petazzonimpp60         60       gpio, dev(ale1), uart1(rxd), sata0(prsnt), pcie(rstout),
905f597bb2SThomas Petazzoni                       audio(sdi)
91f32f01e1SThomas Petazzonimpp61         61       gpo, dev(we1), uart1(txd), audio(lrclk)
925f597bb2SThomas Petazzonimpp62         62       gpio, dev(a2), uart1(cts), tdm(drx), pcie(clkreq0),
935f597bb2SThomas Petazzoni                       audio(mclk), uart0(cts)
94*ce5cad51SGregory CLEMENTmpp63         63       gpio, spi0(sck), tclk
95438881dfSThomas Petazzonimpp64         64       gpio, spi0(miso), spi0(cs1)
96438881dfSThomas Petazzonimpp65         65       gpio, spi0(mosi), spi0(cs2)
97*ce5cad51SGregory CLEMENT
98*ce5cad51SGregory CLEMENTNote: According to the datasheet mpp63 is a gpo but there is at least
99*ce5cad51SGregory CLEMENTone example of a gpio usage on the board D-Link DNS-327L
100