xref: /freebsd/sys/contrib/device-tree/Bindings/pinctrl/marvell,orion-pinctrl.txt (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1* Marvell Orion 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:
7- compatible: "marvell,88f5181-pinctrl",
8              "marvell,88f5181l-pinctrl",
9              "marvell,88f5182-pinctrl",
10              "marvell,88f5281-pinctrl"
11
12- reg: two register areas, the first one describing the first two
13  contiguous MPP registers, and the second one describing the single
14  final MPP register, separated from the previous one.
15
16Available mpp pins/groups and functions:
17Note: brackets (x) are not part of the mpp name for marvell,function and given
18only for more detailed description in this document.
19
20* Marvell Orion 88f5181l
21
22name          pins     functions
23================================================================================
24mpp0          0        pcie(rstout), pci(req2), gpio
25mpp1          1        gpio, pci(gnt2)
26mpp2          2        gpio, pci(req3), pci-1(pme)
27mpp3          3        gpio, pci(gnt3)
28mpp4          4        gpio, pci(req4)
29mpp5          5        gpio, pci(gnt4)
30mpp6          6        gpio, pci(req5), pci-1(clk)
31mpp7          7        gpio, pci(gnt5), pci-1(clk)
32mpp8          8        gpio, ge(col)
33mpp9          9        gpio, ge(rxerr)
34mpp10         10       gpio, ge(crs)
35mpp11         11       gpio, ge(txerr)
36mpp12         12       gpio, ge(txd4)
37mpp13         13       gpio, ge(txd5)
38mpp14         14       gpio, ge(txd6)
39mpp15         15       gpio, ge(txd7)
40mpp16         16       ge(rxd4)
41mpp17         17       ge(rxd5)
42mpp18         18       ge(rxd6)
43mpp19         19       ge(rxd7)
44
45* Marvell Orion 88f5182
46
47name          pins     functions
48================================================================================
49mpp0          0        pcie(rstout), pci(req2), gpio
50mpp1          1        gpio, pci(gnt2)
51mpp2          2        gpio, pci(req3), pci-1(pme)
52mpp3          3        gpio, pci(gnt3)
53mpp4          4        gpio, pci(req4), bootnand(re), sata0(prsnt)
54mpp5          5        gpio, pci(gnt4), bootnand(we), sata1(prsnt)
55mpp6          6        gpio, pci(req5), nand(re0), sata0(act)
56mpp7          7        gpio, pci(gnt5), nand(we0), sata1(act)
57mpp8          8        gpio, ge(col)
58mpp9          9        gpio, ge(rxerr)
59mpp10         10       gpio, ge(crs)
60mpp11         11       gpio, ge(txerr)
61mpp12         12       gpio, ge(txd4), nand(re1), sata0(ledprsnt)
62mpp13         13       gpio, ge(txd5), nand(we1), sata1(ledprsnt)
63mpp14         14       gpio, ge(txd6), nand(re2), sata0(ledact)
64mpp15         15       gpio, ge(txd7), nand(we2), sata1(ledact)
65mpp16         16       uart1(rxd), ge(rxd4), gpio
66mpp17         17       uart1(txd), ge(rxd5), gpio
67mpp18         18       uart1(cts), ge(rxd6), gpio
68mpp19         19       uart1(rts), ge(rxd7), gpio
69
70* Marvell Orion 88f5281
71
72name          pins     functions
73================================================================================
74mpp0          0        pcie(rstout), pci(req2), gpio
75mpp1          1        gpio, pci(gnt2)
76mpp2          2        gpio, pci(req3), pci(pme)
77mpp3          3        gpio, pci(gnt3)
78mpp4          4        gpio, pci(req4), bootnand(re)
79mpp5          5        gpio, pci(gnt4), bootnand(we)
80mpp6          6        gpio, pci(req5), nand(re0)
81mpp7          7        gpio, pci(gnt5), nand(we0)
82mpp8          8        gpio, ge(col)
83mpp9          9        gpio, ge(rxerr)
84mpp10         10       gpio, ge(crs)
85mpp11         11       gpio, ge(txerr)
86mpp12         12       gpio, ge(txd4), nand(re1)
87mpp13         13       gpio, ge(txd5), nand(we1)
88mpp14         14       gpio, ge(txd6), nand(re2)
89mpp15         15       gpio, ge(txd7), nand(we2)
90mpp16         16       uart1(rxd), ge(rxd4)
91mpp17         17       uart1(txd), ge(rxd5)
92mpp18         18       uart1(cts), ge(rxd6)
93mpp19         19       uart1(rts), ge(rxd7)
94