162306a36Sopenharmony_ci* Marvell Armada XP SoC pinctrl driver for mpp
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciPlease refer to marvell,mvebu-pinctrl.txt in this directory for common binding
462306a36Sopenharmony_cipart and usage.
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciRequired properties:
762306a36Sopenharmony_ci- compatible: "marvell,mv78230-pinctrl", "marvell,mv78260-pinctrl",
862306a36Sopenharmony_ci              "marvell,mv78460-pinctrl"
962306a36Sopenharmony_ci- reg: register specifier of MPP registers
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciThis driver supports all Armada XP variants, i.e. mv78230, mv78260, and mv78460.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciAvailable mpp pins/groups and functions:
1462306a36Sopenharmony_ciNote: brackets (x) are not part of the mpp name for marvell,function and given
1562306a36Sopenharmony_cionly for more detailed description in this document.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci* Marvell Armada XP (all variants)
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciname          pins     functions
2062306a36Sopenharmony_ci================================================================================
2162306a36Sopenharmony_cimpp0          0        gpio, ge0(txclkout), lcd(d0)
2262306a36Sopenharmony_cimpp1          1        gpio, ge0(txd0), lcd(d1)
2362306a36Sopenharmony_cimpp2          2        gpio, ge0(txd1), lcd(d2)
2462306a36Sopenharmony_cimpp3          3        gpio, ge0(txd2), lcd(d3)
2562306a36Sopenharmony_cimpp4          4        gpio, ge0(txd3), lcd(d4)
2662306a36Sopenharmony_cimpp5          5        gpio, ge0(txctl), lcd(d5)
2762306a36Sopenharmony_cimpp6          6        gpio, ge0(rxd0), lcd(d6)
2862306a36Sopenharmony_cimpp7          7        gpio, ge0(rxd1), lcd(d7)
2962306a36Sopenharmony_cimpp8          8        gpio, ge0(rxd2), lcd(d8)
3062306a36Sopenharmony_cimpp9          9        gpio, ge0(rxd3), lcd(d9)
3162306a36Sopenharmony_cimpp10         10       gpio, ge0(rxctl), lcd(d10)
3262306a36Sopenharmony_cimpp11         11       gpio, ge0(rxclk), lcd(d11)
3362306a36Sopenharmony_cimpp12         12       gpio, ge0(txd4), ge1(txclkout), lcd(d12)
3462306a36Sopenharmony_cimpp13         13       gpio, ge0(txd5), ge1(txd0), spi1(mosi), lcd(d13)
3562306a36Sopenharmony_cimpp14         14       gpio, ge0(txd6), ge1(txd1), spi1(sck), lcd(d15)
3662306a36Sopenharmony_cimpp15         15       gpio, ge0(txd7), ge1(txd2), lcd(d16)
3762306a36Sopenharmony_cimpp16         16       gpio, ge0(txd7), ge1(txd3), spi1(cs0), lcd(d16)
3862306a36Sopenharmony_cimpp17         17       gpio, ge0(col), ge1(txctl), spi1(miso), lcd(d17)
3962306a36Sopenharmony_cimpp18         18       gpio, ge0(rxerr), ge1(rxd0), lcd(d18), ptp(trig)
4062306a36Sopenharmony_cimpp19         19       gpio, ge0(crs), ge1(rxd1), lcd(d19), ptp(evreq)
4162306a36Sopenharmony_cimpp20         20       gpio, ge0(rxd4), ge1(rxd2), lcd(d20), ptp(clk)
4262306a36Sopenharmony_cimpp21         21       gpio, ge0(rxd5), ge1(rxd3), lcd(d21), dram(bat)
4362306a36Sopenharmony_cimpp22         22       gpio, ge0(rxd6), ge1(rxctl), lcd(d22), sata0(prsnt)
4462306a36Sopenharmony_cimpp23         23       gpio, ge0(rxd7), ge1(rxclk), lcd(d23), sata1(prsnt)
4562306a36Sopenharmony_cimpp24         24       gpio, lcd(hsync), sata1(prsnt), tdm(rst)
4662306a36Sopenharmony_cimpp25         25       gpio, lcd(vsync), sata0(prsnt), tdm(pclk)
4762306a36Sopenharmony_cimpp26         26       gpio, lcd(clk), tdm(fsync)
4862306a36Sopenharmony_cimpp27         27       gpio, lcd(e), tdm(dtx), ptp(trig)
4962306a36Sopenharmony_cimpp28         28       gpio, lcd(pwm), tdm(drx), ptp(evreq)
5062306a36Sopenharmony_cimpp29         29       gpio, lcd(ref-clk), tdm(int0), ptp(clk)
5162306a36Sopenharmony_cimpp30         30       gpio, tdm(int1), sd0(clk)
5262306a36Sopenharmony_cimpp31         31       gpio, tdm(int2), sd0(cmd)
5362306a36Sopenharmony_cimpp32         32       gpio, tdm(int3), sd0(d0)
5462306a36Sopenharmony_cimpp33         33       gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
5562306a36Sopenharmony_cimpp34         34       gpio, tdm(int5), sd0(d2), sata0(prsnt), dram(deccerr)
5662306a36Sopenharmony_cimpp35         35       gpio, tdm(int6), sd0(d3), sata1(prsnt)
5762306a36Sopenharmony_cimpp36         36       gpio, spi0(mosi)
5862306a36Sopenharmony_cimpp37         37       gpio, spi0(miso)
5962306a36Sopenharmony_cimpp38         38       gpio, spi0(sck)
6062306a36Sopenharmony_cimpp39         39       gpio, spi0(cs0)
6162306a36Sopenharmony_cimpp40         40       gpio, spi0(cs1), uart2(cts), lcd(vga-hsync), pcie(clkreq0),
6262306a36Sopenharmony_ci                       spi1(cs1)
6362306a36Sopenharmony_cimpp41         41       gpio, spi0(cs2), uart2(rts), lcd(vga-vsync), sata1(prsnt),
6462306a36Sopenharmony_ci                       pcie(clkreq1), spi1(cs2)
6562306a36Sopenharmony_cimpp42         42       gpio, uart2(rxd), uart0(cts), tdm(int7), tdm(timer)
6662306a36Sopenharmony_cimpp43         43       gpio, uart2(txd), uart0(rts), spi0(cs3), pcie(rstout),
6762306a36Sopenharmony_ci                       spi1(cs3)
6862306a36Sopenharmony_cimpp44         44       gpio, uart2(cts), uart3(rxd), spi0(cs4), pcie(clkreq2),
6962306a36Sopenharmony_ci                       dram(bat), spi1(cs4)
7062306a36Sopenharmony_cimpp45         45       gpio, uart2(rts), uart3(txd), spi0(cs5), sata1(prsnt),
7162306a36Sopenharmony_ci                       spi1(cs5), dram(vttctrl)
7262306a36Sopenharmony_cimpp46         46       gpio, uart3(rts), uart1(rts), spi0(cs6), sata0(prsnt),
7362306a36Sopenharmony_ci                       spi1(cs6)
7462306a36Sopenharmony_cimpp47         47       gpio, uart3(cts), uart1(cts), spi0(cs7), pcie(clkreq3),
7562306a36Sopenharmony_ci                       ref(clkout), spi1(cs7)
7662306a36Sopenharmony_cimpp48         48       gpio, dev(clkout), dev(burst/last), nand(rb)
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ci* Marvell Armada XP (mv78260 and mv78460 only)
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ciname          pins     functions
8162306a36Sopenharmony_ci================================================================================
8262306a36Sopenharmony_cimpp49         49       gpio, dev(we3)
8362306a36Sopenharmony_cimpp50         50       gpio, dev(we2)
8462306a36Sopenharmony_cimpp51         51       gpio, dev(ad16)
8562306a36Sopenharmony_cimpp52         52       gpio, dev(ad17)
8662306a36Sopenharmony_cimpp53         53       gpio, dev(ad18)
8762306a36Sopenharmony_cimpp54         54       gpio, dev(ad19)
8862306a36Sopenharmony_cimpp55         55       gpio, dev(ad20)
8962306a36Sopenharmony_cimpp56         56       gpio, dev(ad21)
9062306a36Sopenharmony_cimpp57         57       gpio, dev(ad22)
9162306a36Sopenharmony_cimpp58         58       gpio, dev(ad23)
9262306a36Sopenharmony_cimpp59         59       gpio, dev(ad24)
9362306a36Sopenharmony_cimpp60         60       gpio, dev(ad25)
9462306a36Sopenharmony_cimpp61         61       gpio, dev(ad26)
9562306a36Sopenharmony_cimpp62         62       gpio, dev(ad27)
9662306a36Sopenharmony_cimpp63         63       gpio, dev(ad28)
9762306a36Sopenharmony_cimpp64         64       gpio, dev(ad29)
9862306a36Sopenharmony_cimpp65         65       gpio, dev(ad30)
9962306a36Sopenharmony_cimpp66         66       gpio, dev(ad31)
100