254 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-or-later2%YAML 1.23---4$id: http://devicetree.org/schemas/pinctrl/aspeed,ast2500-pinctrl.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ASPEED AST2500 Pin Controller8 9maintainers:10 - Andrew Jeffery <andrew@aj.id.au>11 12description: |+13 The pin controller node should be the child of a syscon node with the14 required property:15 16 - compatible: Should be one of the following:17 "aspeed,ast2500-scu", "syscon", "simple-mfd"18 "aspeed,g5-scu", "syscon", "simple-mfd"19 20 Refer to the bindings described in21 Documentation/devicetree/bindings/mfd/syscon.yaml22 23properties:24 compatible:25 const: aspeed,ast2500-pinctrl26 reg:27 maxItems: 228 29 aspeed,external-nodes:30 minItems: 231 maxItems: 232 items:33 maxItems: 134 $ref: /schemas/types.yaml#/definitions/phandle-array35 description: |36 A cell of phandles to external controller nodes:37 0: compatible with "aspeed,ast2500-gfx", "syscon"38 1: compatible with "aspeed,ast2500-lpc", "syscon"39 40additionalProperties:41 $ref: pinmux-node.yaml#42 additionalProperties: false43 44 properties:45 pins: true46 bias-disable: true47 48 patternProperties:49 "^function|groups$":50 enum:51 - ACPI52 - ADC053 - ADC154 - ADC1055 - ADC1156 - ADC1257 - ADC1358 - ADC1459 - ADC1560 - ADC261 - ADC362 - ADC463 - ADC564 - ADC665 - ADC766 - ADC867 - ADC968 - BMCINT69 - DDCCLK70 - DDCDAT71 - ESPI72 - FWSPICS173 - FWSPICS274 - GPID075 - GPID276 - GPID477 - GPID678 - GPIE079 - GPIE280 - GPIE481 - GPIE682 - I2C1083 - I2C1184 - I2C1285 - I2C1386 - I2C1487 - I2C388 - I2C489 - I2C590 - I2C691 - I2C792 - I2C893 - I2C994 - LAD095 - LAD196 - LAD297 - LAD398 - LCLK99 - LFRAME100 - LPCHC101 - LPCPD102 - LPCPLUS103 - LPCPME104 - LPCRST105 - LPCSMI106 - LSIRQ107 - MAC1LINK108 - MAC2LINK109 - MDIO1110 - MDIO2111 - NCTS1112 - NCTS2113 - NCTS3114 - NCTS4115 - NDCD1116 - NDCD2117 - NDCD3118 - NDCD4119 - NDSR1120 - NDSR2121 - NDSR3122 - NDSR4123 - NDTR1124 - NDTR2125 - NDTR3126 - NDTR4127 - NRI1128 - NRI2129 - NRI3130 - NRI4131 - NRTS1132 - NRTS2133 - NRTS3134 - NRTS4135 - OSCCLK136 - PEWAKE137 - PNOR138 - PWM0139 - PWM1140 - PWM2141 - PWM3142 - PWM4143 - PWM5144 - PWM6145 - PWM7146 - RGMII1147 - RGMII2148 - RMII1149 - RMII2150 - RXD1151 - RXD2152 - RXD3153 - RXD4154 - SALT1155 - SALT10156 - SALT11157 - SALT12158 - SALT13159 - SALT14160 - SALT2161 - SALT3162 - SALT4163 - SALT5164 - SALT6165 - SALT7166 - SALT8167 - SALT9168 - SCL1169 - SCL2170 - SD1171 - SD2172 - SDA1173 - SDA2174 - SGPM175 - SGPS1176 - SGPS2177 - SIOONCTRL178 - SIOPBI179 - SIOPBO180 - SIOPWREQ181 - SIOPWRGD182 - SIOS3183 - SIOS5184 - SIOSCI185 - SPI1186 - SPI1CS1187 - SPI1DEBUG188 - SPI1PASSTHRU189 - SPI2CK190 - SPI2CS0191 - SPI2CS1192 - SPI2MISO193 - SPI2MOSI194 - TIMER3195 - TIMER4196 - TIMER5197 - TIMER6198 - TIMER7199 - TIMER8200 - TXD1201 - TXD2202 - TXD3203 - TXD4204 - UART6205 - USB11BHID206 - USB2AD207 - USB2AH208 - USB2BD209 - USB2BH210 - USBCKI211 - VGABIOSROM212 - VGAHS213 - VGAVS214 - VPI24215 - VPO216 - WDTRST1217 - WDTRST2218 219allOf:220 - $ref: pinctrl.yaml#221 222required:223 - compatible224 - aspeed,external-nodes225 226examples:227 - |228 #include <dt-bindings/clock/aspeed-clock.h>229 scu@1e6e2000 {230 compatible = "aspeed,ast2500-scu", "syscon", "simple-mfd";231 reg = <0x1e6e2000 0x1a8>;232 #clock-cells = <1>;233 #reset-cells = <1>;234 235 #address-cells = <1>;236 #size-cells = <1>;237 ranges = <0x0 0x1e6e2000 0x1000>;238 239 pinctrl: pinctrl {240 compatible = "aspeed,ast2500-pinctrl";241 aspeed,external-nodes = <&gfx>, <&lhc>;242 243 pinctrl_i2c3_default: i2c3_default {244 function = "I2C3";245 groups = "I2C3";246 };247 248 pinctrl_gpioh0_unbiased_default: gpioh0 {249 pins = "A18";250 bias-disable;251 };252 };253 };254