xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/marvell,armada-370-pinctrl.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Marvell Armada 370 SoC pinctrl driver for mpp
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotPlease refer to marvell,mvebu-pinctrl.txt in this directory for common binding
4*c66ec88fSEmmanuel Vadotpart and usage.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired properties:
7*c66ec88fSEmmanuel Vadot- compatible: "marvell,88f6710-pinctrl"
8*c66ec88fSEmmanuel Vadot- reg: register specifier of MPP registers
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotAvailable mpp pins/groups and functions:
11*c66ec88fSEmmanuel VadotNote: brackets (x) are not part of the mpp name for marvell,function and given
12*c66ec88fSEmmanuel Vadotonly for more detailed description in this document.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadotname          pins     functions
15*c66ec88fSEmmanuel Vadot================================================================================
16*c66ec88fSEmmanuel Vadotmpp0          0        gpio, uart0(rxd)
17*c66ec88fSEmmanuel Vadotmpp1          1        gpo, uart0(txd)
18*c66ec88fSEmmanuel Vadotmpp2          2        gpio, i2c0(sck), uart0(txd)
19*c66ec88fSEmmanuel Vadotmpp3          3        gpio, i2c0(sda), uart0(rxd)
20*c66ec88fSEmmanuel Vadotmpp4          4        gpio, vdd(cpu-pd)
21*c66ec88fSEmmanuel Vadotmpp5          5        gpo, ge0(txclkout), uart1(txd), spi1(sck), audio(mclk)
22*c66ec88fSEmmanuel Vadotmpp6          6        gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo)
23*c66ec88fSEmmanuel Vadotmpp7          7        gpo, ge0(txd1), tdm(dtx), audio(lrclk)
24*c66ec88fSEmmanuel Vadotmpp8          8        gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk)
25*c66ec88fSEmmanuel Vadotmpp9          9        gpo, ge0(txd3), uart1(txd), sd0(clk), audio(spdifo)
26*c66ec88fSEmmanuel Vadotmpp10         10       gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi)
27*c66ec88fSEmmanuel Vadotmpp11         11       gpio, ge0(rxd0), uart1(rxd), sd0(cmd), spi0(cs1),
28*c66ec88fSEmmanuel Vadot                       sata1(prsnt), spi1(cs1)
29*c66ec88fSEmmanuel Vadotmpp12         12       gpio, ge0(rxd1), i2c1(sda), sd0(d0), spi1(cs0),
30*c66ec88fSEmmanuel Vadot                       audio(spdifi)
31*c66ec88fSEmmanuel Vadotmpp13         13       gpio, ge0(rxd2), i2c1(sck), sd0(d1), tdm(pclk),
32*c66ec88fSEmmanuel Vadot                       audio(rmclk)
33*c66ec88fSEmmanuel Vadotmpp14         14       gpio, ge0(rxd3), pcie(clkreq0), sd0(d2), spi1(mosi),
34*c66ec88fSEmmanuel Vadot                       spi0(cs2)
35*c66ec88fSEmmanuel Vadotmpp15         15       gpio, ge0(rxctl), pcie(clkreq1), sd0(d3), spi1(miso),
36*c66ec88fSEmmanuel Vadot                       spi0(cs3)
37*c66ec88fSEmmanuel Vadotmpp16         16       gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
38*c66ec88fSEmmanuel Vadotmpp17         17       gpo, ge(mdc)
39*c66ec88fSEmmanuel Vadotmpp18         18       gpio, ge(mdio)
40*c66ec88fSEmmanuel Vadotmpp19         19       gpio, ge0(txclk), ge1(txclkout), tdm(pclk)
41*c66ec88fSEmmanuel Vadotmpp20         20       gpo, ge0(txd4), ge1(txd0)
42*c66ec88fSEmmanuel Vadotmpp21         21       gpo, ge0(txd5), ge1(txd1), uart1(txd)
43*c66ec88fSEmmanuel Vadotmpp22         22       gpo, ge0(txd6), ge1(txd2), uart0(rts)
44*c66ec88fSEmmanuel Vadotmpp23         23       gpo, ge0(txd7), ge1(txd3), spi1(mosi)
45*c66ec88fSEmmanuel Vadotmpp24         24       gpio, ge0(col), ge1(txctl), spi1(cs0)
46*c66ec88fSEmmanuel Vadotmpp25         25       gpio, ge0(rxerr), ge1(rxd0), uart1(rxd)
47*c66ec88fSEmmanuel Vadotmpp26         26       gpio, ge0(crs), ge1(rxd1), spi1(miso)
48*c66ec88fSEmmanuel Vadotmpp27         27       gpio, ge0(rxd4), ge1(rxd2), uart0(cts)
49*c66ec88fSEmmanuel Vadotmpp28         28       gpio, ge0(rxd5), ge1(rxd3)
50*c66ec88fSEmmanuel Vadotmpp29         29       gpio, ge0(rxd6), ge1(rxctl), i2c1(sda)
51*c66ec88fSEmmanuel Vadotmpp30         30       gpio, ge0(rxd7), ge1(rxclk), i2c1(sck)
52*c66ec88fSEmmanuel Vadotmpp31         31       gpio, tclk, ge0(txerr)
53*c66ec88fSEmmanuel Vadotmpp32         32       gpio, spi0(cs0)
54*c66ec88fSEmmanuel Vadotmpp33         33       gpio, dev(bootcs), spi0(cs0)
55*c66ec88fSEmmanuel Vadotmpp34         34       gpo, dev(we0), spi0(mosi)
56*c66ec88fSEmmanuel Vadotmpp35         35       gpo, dev(oe), spi0(sck)
57*c66ec88fSEmmanuel Vadotmpp36         36       gpo, dev(a1), spi0(miso)
58*c66ec88fSEmmanuel Vadotmpp37         37       gpo, dev(a0), sata0(prsnt)
59*c66ec88fSEmmanuel Vadotmpp38         38       gpio, dev(ready), uart1(cts), uart0(cts)
60*c66ec88fSEmmanuel Vadotmpp39         39       gpo, dev(ad0), audio(spdifo)
61*c66ec88fSEmmanuel Vadotmpp40         40       gpio, dev(ad1), uart1(rts), uart0(rts)
62*c66ec88fSEmmanuel Vadotmpp41         41       gpio, dev(ad2), uart1(rxd)
63*c66ec88fSEmmanuel Vadotmpp42         42       gpo, dev(ad3), uart1(txd)
64*c66ec88fSEmmanuel Vadotmpp43         43       gpo, dev(ad4), audio(bclk)
65*c66ec88fSEmmanuel Vadotmpp44         44       gpo, dev(ad5), audio(mclk)
66*c66ec88fSEmmanuel Vadotmpp45         45       gpo, dev(ad6), audio(lrclk)
67*c66ec88fSEmmanuel Vadotmpp46         46       gpo, dev(ad7), audio(sdo)
68*c66ec88fSEmmanuel Vadotmpp47         47       gpo, dev(ad8), sd0(clk), audio(spdifo)
69*c66ec88fSEmmanuel Vadotmpp48         48       gpio, dev(ad9), uart0(rts), sd0(cmd), sata1(prsnt),
70*c66ec88fSEmmanuel Vadot                       spi0(cs1)
71*c66ec88fSEmmanuel Vadotmpp49         49       gpio, dev(ad10), pcie(clkreq1), sd0(d0), spi1(cs0),
72*c66ec88fSEmmanuel Vadot                       audio(spdifi)
73*c66ec88fSEmmanuel Vadotmpp50         50       gpio, dev(ad11), uart0(cts), sd0(d1), spi1(miso),
74*c66ec88fSEmmanuel Vadot                       audio(rmclk)
75*c66ec88fSEmmanuel Vadotmpp51         51       gpio, dev(ad12), i2c1(sda), sd0(d2), spi1(mosi)
76*c66ec88fSEmmanuel Vadotmpp52         52       gpio, dev(ad13), i2c1(sck), sd0(d3), spi1(sck)
77*c66ec88fSEmmanuel Vadotmpp53         53       gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2),
78*c66ec88fSEmmanuel Vadot                       pcie(clkreq1)
79*c66ec88fSEmmanuel Vadotmpp54         54       gpo, dev(ad15), tdm(dtx)
80*c66ec88fSEmmanuel Vadotmpp55         55       gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt),
81*c66ec88fSEmmanuel Vadot                       sata0(prsnt)
82*c66ec88fSEmmanuel Vadotmpp56         56       gpio, dev(cs2), uart1(cts), uart0(cts), spi0(cs3),
83*c66ec88fSEmmanuel Vadot                       pcie(clkreq0), spi1(cs1)
84*c66ec88fSEmmanuel Vadotmpp57         57       gpio, dev(cs3), uart1(rxd), tdm(fsync), sata0(prsnt),
85*c66ec88fSEmmanuel Vadot                       audio(sdo)
86*c66ec88fSEmmanuel Vadotmpp58         58       gpio, dev(cs0), uart1(rts), tdm(int), audio(extclk),
87*c66ec88fSEmmanuel Vadot                       uart0(rts)
88*c66ec88fSEmmanuel Vadotmpp59         59       gpo, dev(ale0), uart1(rts), uart0(rts), audio(bclk)
89*c66ec88fSEmmanuel Vadotmpp60         60       gpio, dev(ale1), uart1(rxd), sata0(prsnt), pcie(rstout),
90*c66ec88fSEmmanuel Vadot                       audio(sdi)
91*c66ec88fSEmmanuel Vadotmpp61         61       gpo, dev(we1), uart1(txd), audio(lrclk)
92*c66ec88fSEmmanuel Vadotmpp62         62       gpio, dev(a2), uart1(cts), tdm(drx), pcie(clkreq0),
93*c66ec88fSEmmanuel Vadot                       audio(mclk), uart0(cts)
94*c66ec88fSEmmanuel Vadotmpp63         63       gpio, spi0(sck), tclk
95*c66ec88fSEmmanuel Vadotmpp64         64       gpio, spi0(miso), spi0(cs1)
96*c66ec88fSEmmanuel Vadotmpp65         65       gpio, spi0(mosi), spi0(cs2)
97*c66ec88fSEmmanuel Vadot
98*c66ec88fSEmmanuel VadotNote: According to the datasheet mpp63 is a gpo but there is at least
99*c66ec88fSEmmanuel Vadotone example of a gpio usage on the board D-Link DNS-327L
100