diff options
author | Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> | 2012-09-13 11:41:44 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2012-09-22 10:50:16 -0400 |
commit | c9f95cedfea088ec9bbcef3b8064d5275297b159 (patch) | |
tree | 063b7738af452a344955f0d8aed928ed95c4bf2c /Documentation/devicetree/bindings/pinctrl | |
parent | 7e8d941567c99a03390154a7bb116d1b03db82b3 (diff) |
pinctrl: mvebu: dove pinctrl driver
This patch adds a SoC specific pinctrl driver for Marvell Dove SoCs
plus DT binding documentation. This driver will use the mvebu pinctrl
driver core.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt new file mode 100644 index 000000000000..a648aaad6110 --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/marvell,dove-pinctrl.txt | |||
@@ -0,0 +1,72 @@ | |||
1 | * Marvell Dove SoC pinctrl driver for mpp | ||
2 | |||
3 | Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding | ||
4 | part and usage. | ||
5 | |||
6 | Required properties: | ||
7 | - compatible: "marvell,dove-pinctrl" | ||
8 | - clocks: (optional) phandle of pdma clock | ||
9 | |||
10 | Available mpp pins/groups and functions: | ||
11 | Note: brackets (x) are not part of the mpp name for marvell,function and given | ||
12 | only for more detailed description in this document. | ||
13 | |||
14 | name pins functions | ||
15 | ================================================================================ | ||
16 | mpp0 0 gpio, pmu, uart2(rts), sdio0(cd), lcd0(pwm) | ||
17 | mpp1 1 gpio, pmu, uart2(cts), sdio0(wp), lcd1(pwm) | ||
18 | mpp2 2 gpio, pmu, uart2(txd), sdio0(buspwr), sata(prsnt), | ||
19 | uart1(rts) | ||
20 | mpp3 3 gpio, pmu, uart2(rxd), sdio0(ledctrl), sata(act), | ||
21 | uart1(cts), lcd-spi(cs1) | ||
22 | mpp4 4 gpio, pmu, uart3(rts), sdio1(cd), spi1(miso) | ||
23 | mpp5 5 gpio, pmu, uart3(cts), sdio1(wp), spi1(cs) | ||
24 | mpp6 6 gpio, pmu, uart3(txd), sdio1(buspwr), spi1(mosi) | ||
25 | mpp7 7 gpio, pmu, uart3(rxd), sdio1(ledctrl), spi1(sck) | ||
26 | mpp8 8 gpio, pmu, watchdog(rstout) | ||
27 | mpp9 9 gpio, pmu, pex1(clkreq) | ||
28 | mpp10 10 gpio, pmu, ssp(sclk) | ||
29 | mpp11 11 gpio, pmu, sata(prsnt), sata-1(act), sdio0(ledctrl), | ||
30 | sdio1(ledctrl), pex0(clkreq) | ||
31 | mpp12 12 gpio, pmu, uart2(rts), audio0(extclk), sdio1(cd), sata(act) | ||
32 | mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp), | ||
33 | ssp(extclk) | ||
34 | mpp14 14 gpio, pmu, uart2(txd), sdio1(buspwr), ssp(rxd) | ||
35 | mpp15 15 gpio, pmu, uart2(rxd), sdio1(ledctrl), ssp(sfrm) | ||
36 | mpp16 16 gpio, uart3(rts), sdio0(cd), ac97(sdi1), lcd-spi(cs1) | ||
37 | mpp17 17 gpio, uart3(cts), sdio0(wp), ac97(sdi2), twsi(sda), | ||
38 | ac97-1(sysclko) | ||
39 | mpp18 18 gpio, uart3(txd), sdio0(buspwr), ac97(sdi3), lcd0(pwm) | ||
40 | mpp19 19 gpio, uart3(rxd), sdio0(ledctrl), twsi(sck) | ||
41 | mpp20 20 gpio, sdio0(cd), sdio1(cd), spi1(miso), lcd-spi(miso), | ||
42 | ac97(sysclko) | ||
43 | mpp21 21 gpio, sdio0(wp), sdio1(wp), spi1(cs), lcd-spi(cs0), | ||
44 | uart1(cts), ssp(sfrm) | ||
45 | mpp22 22 gpio, sdio0(buspwr), sdio1(buspwr), spi1(mosi), | ||
46 | lcd-spi(mosi), uart1(cts), ssp(txd) | ||
47 | mpp23 23 gpio, sdio0(ledctrl), sdio1(ledctrl), spi1(sck), | ||
48 | lcd-spi(sck), ssp(sclk) | ||
49 | mpp_camera 24-39 gpio, camera | ||
50 | mpp_sdio0 40-45 gpio, sdio0 | ||
51 | mpp_sdio1 46-51 gpio, sdio1 | ||
52 | mpp_audio1 52-57 gpio, i2s1/spdifo, i2s1, spdifo, twsi, ssp/spdifo, ssp, | ||
53 | ssp/twsi | ||
54 | mpp_spi0 58-61 gpio, spi0 | ||
55 | mpp_uart1 62-63 gpio, uart1 | ||
56 | mpp_nand 64-71 gpo, nand | ||
57 | audio0 - i2s, ac97 | ||
58 | twsi - none, opt1, opt2, opt3 | ||
59 | |||
60 | Notes: | ||
61 | * group "mpp_audio1" allows the following functions and gpio pins: | ||
62 | - gpio : gpio on pins 52-57 | ||
63 | - i2s1/spdifo : audio1 i2s on pins 52-55 and spdifo on 57, no gpios | ||
64 | - i2s1 : audio1 i2s on pins 52-55, gpio on pins 56,57 | ||
65 | - spdifo : spdifo on pin 57, gpio on pins 52-55 | ||
66 | - twsi : twsi on pins 56,57, gpio on pins 52-55 | ||
67 | - ssp/spdifo : ssp on pins 52-55, spdifo on pin 57, no gpios | ||
68 | - ssp : ssp on pins 52-55, gpio on pins 56,57 | ||
69 | - ssp/twsi : ssp on pins 52-55, twsi on pins 56,57, no gpios | ||
70 | * group "audio0" internally muxes i2s0 or ac97 controller to the dedicated | ||
71 | audio0 pins. | ||
72 | * group "twsi" internally muxes twsi controller to the dedicated or option pins. | ||