]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - Documentation/devicetree/bindings/pinctrl/pinctrl-aspeed.txt
pinctrl: aspeed: dt: Fix compatibles for the System Control Unit
[mirror_ubuntu-artful-kernel.git] / Documentation / devicetree / bindings / pinctrl / pinctrl-aspeed.txt
CommitLineData
5f714700
AJ
1Aspeed Pin Controllers
2----------------------
3
4The Aspeed SoCs vary in functionality inside a generation but have a common mux
5device register layout.
6
7Required properties:
8- compatible : Should be any one of the following:
9 "aspeed,ast2400-pinctrl"
10 "aspeed,g4-pinctrl"
11 "aspeed,ast2500-pinctrl"
12 "aspeed,g5-pinctrl"
13
c95b0fec 14The pin controller node should be the child of a syscon node with the required
5f714700 15property:
c95b0fec
AJ
16
17- compatible : Should be one of the following:
18 "aspeed,ast2400-scu", "syscon", "simple-mfd"
19 "aspeed,g4-scu", "syscon", "simple-mfd"
20 "aspeed,ast2500-scu", "syscon", "simple-mfd"
21 "aspeed,g5-scu", "syscon", "simple-mfd"
5f714700
AJ
22
23Refer to the the bindings described in
24Documentation/devicetree/bindings/mfd/syscon.txt
25
26Subnode Format
27--------------
28
29The required properties of child nodes are (as defined in pinctrl-bindings):
30- function
31- groups
32
33Each function has only one associated pin group. Each group is named by its
34function. The following values for the function and groups properties are
35supported:
36
37aspeed,ast2400-pinctrl, aspeed,g4-pinctrl:
38
39ACPI BMCINT DDCCLK DDCDAT FLACK FLBUSY FLWP GPID0 GPIE0 GPIE2 GPIE4 GPIE6 I2C10
40I2C11 I2C12 I2C13 I2C3 I2C4 I2C5 I2C6 I2C7 I2C8 I2C9 LPCPD LPCPME LPCSMI MDIO1
41MDIO2 NCTS1 NCTS3 NCTS4 NDCD1 NDCD3 NDCD4 NDSR1 NDSR3 NDTR1 NDTR3 NRI1 NRI3
42NRI4 NRTS1 NRTS3 PWM0 PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 PWM7 RGMII1 RMII1 ROM16
43ROM8 ROMCS1 ROMCS2 ROMCS3 ROMCS4 RXD1 RXD3 RXD4 SD1 SGPMI SIOPBI SIOPBO TIMER3
44TIMER5 TIMER6 TIMER7 TIMER8 TXD1 TXD3 TXD4 UART6 VGAHS VGAVS VPI18 VPI24 VPI30
45VPO12 VPO24
46
47aspeed,ast2500-pinctrl, aspeed,g5-pinctrl:
48
49GPID0 GPID2 GPIE0 I2C10 I2C11 I2C12 I2C13 I2C14 I2C3 I2C4 I2C5 I2C6 I2C7 I2C8
50I2C9 MAC1LINK MDIO1 MDIO2 OSCCLK PEWAKE PWM0 PWM1 PWM2 PWM3 PWM4 PWM5 PWM6 PWM7
8eb37aff
AJ
51RGMII1 RGMII2 RMII1 RMII2 SD1 SPI1 SPI1DEBUG SPI1PASSTHRU TIMER4 TIMER5 TIMER6
52TIMER7 TIMER8 VGABIOSROM
53
5f714700
AJ
54
55Examples:
56
57syscon: scu@1e6e2000 {
c95b0fec 58 compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
5f714700
AJ
59 reg = <0x1e6e2000 0x1a8>;
60
61 pinctrl: pinctrl {
62 compatible = "aspeed,g4-pinctrl";
63
64 pinctrl_i2c3_default: i2c3_default {
65 function = "I2C3";
66 groups = "I2C3";
67 };
68 };
69};
70
71Please refer to pinctrl-bindings.txt in this directory for details of the
72common pinctrl bindings used by client devices.