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