xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/marvell,armada-xp-pinctrl.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Marvell Armada XP 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,mv78230-pinctrl", "marvell,mv78260-pinctrl",
8*c66ec88fSEmmanuel Vadot              "marvell,mv78460-pinctrl"
9*c66ec88fSEmmanuel Vadot- reg: register specifier of MPP registers
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel VadotThis driver supports all Armada XP variants, i.e. mv78230, mv78260, and mv78460.
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotAvailable mpp pins/groups and functions:
14*c66ec88fSEmmanuel VadotNote: brackets (x) are not part of the mpp name for marvell,function and given
15*c66ec88fSEmmanuel Vadotonly for more detailed description in this document.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot* Marvell Armada XP (all variants)
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadotname          pins     functions
20*c66ec88fSEmmanuel Vadot================================================================================
21*c66ec88fSEmmanuel Vadotmpp0          0        gpio, ge0(txclkout), lcd(d0)
22*c66ec88fSEmmanuel Vadotmpp1          1        gpio, ge0(txd0), lcd(d1)
23*c66ec88fSEmmanuel Vadotmpp2          2        gpio, ge0(txd1), lcd(d2)
24*c66ec88fSEmmanuel Vadotmpp3          3        gpio, ge0(txd2), lcd(d3)
25*c66ec88fSEmmanuel Vadotmpp4          4        gpio, ge0(txd3), lcd(d4)
26*c66ec88fSEmmanuel Vadotmpp5          5        gpio, ge0(txctl), lcd(d5)
27*c66ec88fSEmmanuel Vadotmpp6          6        gpio, ge0(rxd0), lcd(d6)
28*c66ec88fSEmmanuel Vadotmpp7          7        gpio, ge0(rxd1), lcd(d7)
29*c66ec88fSEmmanuel Vadotmpp8          8        gpio, ge0(rxd2), lcd(d8)
30*c66ec88fSEmmanuel Vadotmpp9          9        gpio, ge0(rxd3), lcd(d9)
31*c66ec88fSEmmanuel Vadotmpp10         10       gpio, ge0(rxctl), lcd(d10)
32*c66ec88fSEmmanuel Vadotmpp11         11       gpio, ge0(rxclk), lcd(d11)
33*c66ec88fSEmmanuel Vadotmpp12         12       gpio, ge0(txd4), ge1(txclkout), lcd(d12)
34*c66ec88fSEmmanuel Vadotmpp13         13       gpio, ge0(txd5), ge1(txd0), spi1(mosi), lcd(d13)
35*c66ec88fSEmmanuel Vadotmpp14         14       gpio, ge0(txd6), ge1(txd1), spi1(sck), lcd(d15)
36*c66ec88fSEmmanuel Vadotmpp15         15       gpio, ge0(txd7), ge1(txd2), lcd(d16)
37*c66ec88fSEmmanuel Vadotmpp16         16       gpio, ge0(txd7), ge1(txd3), spi1(cs0), lcd(d16)
38*c66ec88fSEmmanuel Vadotmpp17         17       gpio, ge0(col), ge1(txctl), spi1(miso), lcd(d17)
39*c66ec88fSEmmanuel Vadotmpp18         18       gpio, ge0(rxerr), ge1(rxd0), lcd(d18), ptp(trig)
40*c66ec88fSEmmanuel Vadotmpp19         19       gpio, ge0(crs), ge1(rxd1), lcd(d19), ptp(evreq)
41*c66ec88fSEmmanuel Vadotmpp20         20       gpio, ge0(rxd4), ge1(rxd2), lcd(d20), ptp(clk)
42*c66ec88fSEmmanuel Vadotmpp21         21       gpio, ge0(rxd5), ge1(rxd3), lcd(d21), dram(bat)
43*c66ec88fSEmmanuel Vadotmpp22         22       gpio, ge0(rxd6), ge1(rxctl), lcd(d22), sata0(prsnt)
44*c66ec88fSEmmanuel Vadotmpp23         23       gpio, ge0(rxd7), ge1(rxclk), lcd(d23), sata1(prsnt)
45*c66ec88fSEmmanuel Vadotmpp24         24       gpio, lcd(hsync), sata1(prsnt), tdm(rst)
46*c66ec88fSEmmanuel Vadotmpp25         25       gpio, lcd(vsync), sata0(prsnt), tdm(pclk)
47*c66ec88fSEmmanuel Vadotmpp26         26       gpio, lcd(clk), tdm(fsync)
48*c66ec88fSEmmanuel Vadotmpp27         27       gpio, lcd(e), tdm(dtx), ptp(trig)
49*c66ec88fSEmmanuel Vadotmpp28         28       gpio, lcd(pwm), tdm(drx), ptp(evreq)
50*c66ec88fSEmmanuel Vadotmpp29         29       gpio, lcd(ref-clk), tdm(int0), ptp(clk)
51*c66ec88fSEmmanuel Vadotmpp30         30       gpio, tdm(int1), sd0(clk)
52*c66ec88fSEmmanuel Vadotmpp31         31       gpio, tdm(int2), sd0(cmd)
53*c66ec88fSEmmanuel Vadotmpp32         32       gpio, tdm(int3), sd0(d0)
54*c66ec88fSEmmanuel Vadotmpp33         33       gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
55*c66ec88fSEmmanuel Vadotmpp34         34       gpio, tdm(int5), sd0(d2), sata0(prsnt), dram(deccerr)
56*c66ec88fSEmmanuel Vadotmpp35         35       gpio, tdm(int6), sd0(d3), sata1(prsnt)
57*c66ec88fSEmmanuel Vadotmpp36         36       gpio, spi0(mosi)
58*c66ec88fSEmmanuel Vadotmpp37         37       gpio, spi0(miso)
59*c66ec88fSEmmanuel Vadotmpp38         38       gpio, spi0(sck)
60*c66ec88fSEmmanuel Vadotmpp39         39       gpio, spi0(cs0)
61*c66ec88fSEmmanuel Vadotmpp40         40       gpio, spi0(cs1), uart2(cts), lcd(vga-hsync), pcie(clkreq0),
62*c66ec88fSEmmanuel Vadot                       spi1(cs1)
63*c66ec88fSEmmanuel Vadotmpp41         41       gpio, spi0(cs2), uart2(rts), lcd(vga-vsync), sata1(prsnt),
64*c66ec88fSEmmanuel Vadot                       pcie(clkreq1), spi1(cs2)
65*c66ec88fSEmmanuel Vadotmpp42         42       gpio, uart2(rxd), uart0(cts), tdm(int7), tdm(timer)
66*c66ec88fSEmmanuel Vadotmpp43         43       gpio, uart2(txd), uart0(rts), spi0(cs3), pcie(rstout),
67*c66ec88fSEmmanuel Vadot                       spi1(cs3)
68*c66ec88fSEmmanuel Vadotmpp44         44       gpio, uart2(cts), uart3(rxd), spi0(cs4), pcie(clkreq2),
69*c66ec88fSEmmanuel Vadot                       dram(bat), spi1(cs4)
70*c66ec88fSEmmanuel Vadotmpp45         45       gpio, uart2(rts), uart3(txd), spi0(cs5), sata1(prsnt),
71*c66ec88fSEmmanuel Vadot                       spi1(cs5), dram(vttctrl)
72*c66ec88fSEmmanuel Vadotmpp46         46       gpio, uart3(rts), uart1(rts), spi0(cs6), sata0(prsnt),
73*c66ec88fSEmmanuel Vadot                       spi1(cs6)
74*c66ec88fSEmmanuel Vadotmpp47         47       gpio, uart3(cts), uart1(cts), spi0(cs7), pcie(clkreq3),
75*c66ec88fSEmmanuel Vadot                       ref(clkout), spi1(cs7)
76*c66ec88fSEmmanuel Vadotmpp48         48       gpio, dev(clkout), dev(burst/last), nand(rb)
77*c66ec88fSEmmanuel Vadot
78*c66ec88fSEmmanuel Vadot* Marvell Armada XP (mv78260 and mv78460 only)
79*c66ec88fSEmmanuel Vadot
80*c66ec88fSEmmanuel Vadotname          pins     functions
81*c66ec88fSEmmanuel Vadot================================================================================
82*c66ec88fSEmmanuel Vadotmpp49         49       gpio, dev(we3)
83*c66ec88fSEmmanuel Vadotmpp50         50       gpio, dev(we2)
84*c66ec88fSEmmanuel Vadotmpp51         51       gpio, dev(ad16)
85*c66ec88fSEmmanuel Vadotmpp52         52       gpio, dev(ad17)
86*c66ec88fSEmmanuel Vadotmpp53         53       gpio, dev(ad18)
87*c66ec88fSEmmanuel Vadotmpp54         54       gpio, dev(ad19)
88*c66ec88fSEmmanuel Vadotmpp55         55       gpio, dev(ad20)
89*c66ec88fSEmmanuel Vadotmpp56         56       gpio, dev(ad21)
90*c66ec88fSEmmanuel Vadotmpp57         57       gpio, dev(ad22)
91*c66ec88fSEmmanuel Vadotmpp58         58       gpio, dev(ad23)
92*c66ec88fSEmmanuel Vadotmpp59         59       gpio, dev(ad24)
93*c66ec88fSEmmanuel Vadotmpp60         60       gpio, dev(ad25)
94*c66ec88fSEmmanuel Vadotmpp61         61       gpio, dev(ad26)
95*c66ec88fSEmmanuel Vadotmpp62         62       gpio, dev(ad27)
96*c66ec88fSEmmanuel Vadotmpp63         63       gpio, dev(ad28)
97*c66ec88fSEmmanuel Vadotmpp64         64       gpio, dev(ad29)
98*c66ec88fSEmmanuel Vadotmpp65         65       gpio, dev(ad30)
99*c66ec88fSEmmanuel Vadotmpp66         66       gpio, dev(ad31)
100