1# SPDX-License-Identifier: GPL-2.0+ 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/pinctrl/aspeed,ast2600-pinctrl.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ASPEED AST2600 Pin Controller 8 9maintainers: 10 - Andrew Jeffery <andrew@aj.id.au> 11 12description: |+ 13 The pin controller node should be the child of a syscon node with the 14 required property: 15 16 - compatible: Should be one of the following: 17 "aspeed,ast2600-scu", "syscon", "simple-mfd" 18 19 Refer to the bindings described in 20 Documentation/devicetree/bindings/mfd/syscon.yaml 21 22 Note: According to the NCSI specification, the reference clock output pin 23 (RMIIXRCLKO) is not required on the management controller side. To optimize 24 pin usage, add "NCSI" pin groups that are equivalent to the RMII pin groups, 25 but without the RMIIXRCLKO pin. 26 27properties: 28 compatible: 29 const: aspeed,ast2600-pinctrl 30 31additionalProperties: 32 $ref: pinmux-node.yaml# 33 additionalProperties: false 34 35 properties: 36 function: 37 enum: 38 - ADC0 39 - ADC1 40 - ADC10 41 - ADC11 42 - ADC12 43 - ADC13 44 - ADC14 45 - ADC15 46 - ADC2 47 - ADC3 48 - ADC4 49 - ADC5 50 - ADC6 51 - ADC7 52 - ADC8 53 - ADC9 54 - BMCINT 55 - EMMC 56 - ESPI 57 - ESPIALT 58 - FSI1 59 - FSI2 60 - FWQSPI 61 - FWSPIABR 62 - FWSPID 63 - FWSPIWP 64 - GPIT0 65 - GPIT1 66 - GPIT2 67 - GPIT3 68 - GPIT4 69 - GPIT5 70 - GPIT6 71 - GPIT7 72 - GPIU0 73 - GPIU1 74 - GPIU2 75 - GPIU3 76 - GPIU4 77 - GPIU5 78 - GPIU6 79 - GPIU7 80 - I2C1 81 - I2C10 82 - I2C11 83 - I2C12 84 - I2C13 85 - I2C14 86 - I2C15 87 - I2C16 88 - I2C2 89 - I2C3 90 - I2C4 91 - I2C5 92 - I2C6 93 - I2C7 94 - I2C8 95 - I2C9 96 - I3C1 97 - I3C2 98 - I3C3 99 - I3C4 100 - I3C5 101 - I3C6 102 - JTAGM 103 - LHPD 104 - LHSIRQ 105 - LPC 106 - LPCHC 107 - LPCPD 108 - LPCPME 109 - LPCSMI 110 - LSIRQ 111 - MACLINK1 112 - MACLINK2 113 - MACLINK3 114 - MACLINK4 115 - MDIO1 116 - MDIO2 117 - MDIO3 118 - MDIO4 119 - NCTS1 120 - NCTS2 121 - NCTS3 122 - NCTS4 123 - NDCD1 124 - NDCD2 125 - NDCD3 126 - NDCD4 127 - NDSR1 128 - NDSR2 129 - NDSR3 130 - NDSR4 131 - NDTR1 132 - NDTR2 133 - NDTR3 134 - NDTR4 135 - NRI1 136 - NRI2 137 - NRI3 138 - NRI4 139 - NRTS1 140 - NRTS2 141 - NRTS3 142 - NRTS4 143 - OSCCLK 144 - PEWAKE 145 - PWM0 146 - PWM1 147 - PWM10 148 - PWM11 149 - PWM12 150 - PWM13 151 - PWM14 152 - PWM15 153 - PWM2 154 - PWM3 155 - PWM4 156 - PWM5 157 - PWM6 158 - PWM7 159 - PWM8 160 - PWM9 161 - RGMII1 162 - RGMII2 163 - RGMII3 164 - RGMII4 165 - RMII1 166 - RMII2 167 - RMII3 168 - RMII4 169 - RXD1 170 - RXD2 171 - RXD3 172 - RXD4 173 - SALT1 174 - SALT10 175 - SALT11 176 - SALT12 177 - SALT13 178 - SALT14 179 - SALT15 180 - SALT16 181 - SALT2 182 - SALT3 183 - SALT4 184 - SALT5 185 - SALT6 186 - SALT7 187 - SALT8 188 - SALT9 189 - SD1 190 - SD2 191 - SGPM1 192 - SGPM2 193 - SGPS1 194 - SGPS2 195 - SIOONCTRL 196 - SIOPBI 197 - SIOPBO 198 - SIOPWREQ 199 - SIOPWRGD 200 - SIOS3 201 - SIOS5 202 - SIOSCI 203 - SPI1 204 - SPI1ABR 205 - SPI1CS1 206 - SPI1WP 207 - SPI2 208 - SPI2CS1 209 - SPI2CS2 210 - TACH0 211 - TACH1 212 - TACH10 213 - TACH11 214 - TACH12 215 - TACH13 216 - TACH14 217 - TACH15 218 - TACH2 219 - TACH3 220 - TACH4 221 - TACH5 222 - TACH6 223 - TACH7 224 - TACH8 225 - TACH9 226 - THRU0 227 - THRU1 228 - THRU2 229 - THRU3 230 - TXD1 231 - TXD2 232 - TXD3 233 - TXD4 234 - UART10 235 - UART11 236 - UART12 237 - UART13 238 - UART6 239 - UART7 240 - UART8 241 - UART9 242 - USB11BHID 243 - USB2AD 244 - USB2AH 245 - USB2AHP 246 - USB2BD 247 - USB2BH 248 - USBAD 249 - USBADP 250 - VB 251 - VGAHS 252 - VGAVS 253 - WDTRST1 254 - WDTRST2 255 - WDTRST3 256 - WDTRST4 257 258 groups: 259 enum: 260 - ADC0 261 - ADC1 262 - ADC10 263 - ADC11 264 - ADC12 265 - ADC13 266 - ADC14 267 - ADC15 268 - ADC2 269 - ADC3 270 - ADC4 271 - ADC5 272 - ADC6 273 - ADC7 274 - ADC8 275 - ADC9 276 - BMCINT 277 - EMMCG1 278 - EMMCG4 279 - EMMCG8 280 - ESPI 281 - ESPIALT 282 - FSI1 283 - FSI2 284 - FWQSPI 285 - FWSPIABR 286 - FWSPID 287 - FWSPIWP 288 - GPIT0 289 - GPIT1 290 - GPIT2 291 - GPIT3 292 - GPIT4 293 - GPIT5 294 - GPIT6 295 - GPIT7 296 - GPIU0 297 - GPIU1 298 - GPIU2 299 - GPIU3 300 - GPIU4 301 - GPIU5 302 - GPIU6 303 - GPIU7 304 - HVI3C3 305 - HVI3C4 306 - I2C1 307 - I2C10 308 - I2C11 309 - I2C12 310 - I2C13 311 - I2C14 312 - I2C15 313 - I2C16 314 - I2C2 315 - I2C3 316 - I2C4 317 - I2C5 318 - I2C6 319 - I2C7 320 - I2C8 321 - I2C9 322 - I3C1 323 - I3C2 324 - I3C3 325 - I3C4 326 - I3C5 327 - I3C6 328 - JTAGM 329 - LHPD 330 - LHSIRQ 331 - LPC 332 - LPCHC 333 - LPCPD 334 - LPCPME 335 - LPCSMI 336 - LSIRQ 337 - MACLINK1 338 - MACLINK2 339 - MACLINK3 340 - MACLINK4 341 - MDIO1 342 - MDIO2 343 - MDIO3 344 - MDIO4 345 - NCSI3 346 - NCSI4 347 - NCTS1 348 - NCTS2 349 - NCTS3 350 - NCTS4 351 - NDCD1 352 - NDCD2 353 - NDCD3 354 - NDCD4 355 - NDSR1 356 - NDSR2 357 - NDSR3 358 - NDSR4 359 - NDTR1 360 - NDTR2 361 - NDTR3 362 - NDTR4 363 - NRI1 364 - NRI2 365 - NRI3 366 - NRI4 367 - NRTS1 368 - NRTS2 369 - NRTS3 370 - NRTS4 371 - OSCCLK 372 - PEWAKE 373 - PWM0 374 - PWM1 375 - PWM10G0 376 - PWM10G1 377 - PWM11G0 378 - PWM11G1 379 - PWM12G0 380 - PWM12G1 381 - PWM13G0 382 - PWM13G1 383 - PWM14G0 384 - PWM14G1 385 - PWM15G0 386 - PWM15G1 387 - PWM2 388 - PWM3 389 - PWM4 390 - PWM5 391 - PWM6 392 - PWM7 393 - PWM8G0 394 - PWM8G1 395 - PWM9G0 396 - PWM9G1 397 - QSPI1 398 - QSPI2 399 - RGMII1 400 - RGMII2 401 - RGMII3 402 - RGMII4 403 - RMII1 404 - RMII2 405 - RMII3 406 - RMII4 407 - RXD1 408 - RXD2 409 - RXD3 410 - RXD4 411 - SALT1 412 - SALT10G0 413 - SALT10G1 414 - SALT11G0 415 - SALT11G1 416 - SALT12G0 417 - SALT12G1 418 - SALT13G0 419 - SALT13G1 420 - SALT14G0 421 - SALT14G1 422 - SALT15G0 423 - SALT15G1 424 - SALT16G0 425 - SALT16G1 426 - SALT2 427 - SALT3 428 - SALT4 429 - SALT5 430 - SALT6 431 - SALT7 432 - SALT8 433 - SALT9G0 434 - SALT9G1 435 - SD1 436 - SD2 437 - SD3 438 - SGPM1 439 - SGPM2 440 - SGPS1 441 - SGPS2 442 - SIOONCTRL 443 - SIOPBI 444 - SIOPBO 445 - SIOPWREQ 446 - SIOPWRGD 447 - SIOS3 448 - SIOS5 449 - SIOSCI 450 - SPI1 451 - SPI1ABR 452 - SPI1CS1 453 - SPI1WP 454 - SPI2 455 - SPI2CS1 456 - SPI2CS2 457 - TACH0 458 - TACH1 459 - TACH10 460 - TACH11 461 - TACH12 462 - TACH13 463 - TACH14 464 - TACH15 465 - TACH2 466 - TACH3 467 - TACH4 468 - TACH5 469 - TACH6 470 - TACH7 471 - TACH8 472 - TACH9 473 - THRU0 474 - THRU1 475 - THRU2 476 - THRU3 477 - TXD1 478 - TXD2 479 - TXD3 480 - TXD4 481 - UART10 482 - UART11 483 - UART12G0 484 - UART12G1 485 - UART13G0 486 - UART13G1 487 - UART6 488 - UART7 489 - UART8 490 - UART9 491 - USBA 492 - USBB 493 - VB 494 - VGAHS 495 - VGAVS 496 - WDTRST1 497 - WDTRST2 498 - WDTRST3 499 - WDTRST4 500 501 pins: true 502 bias-disable: true 503 504allOf: 505 - $ref: pinctrl.yaml# 506 507required: 508 - compatible 509 510examples: 511 - | 512 syscon: scu@1e6e2000 { 513 compatible = "aspeed,ast2600-scu", "syscon", "simple-mfd"; 514 reg = <0x1e6e2000 0xf6c>; 515 #clock-cells = <1>; 516 #reset-cells = <1>; 517 518 #address-cells = <1>; 519 #size-cells = <1>; 520 ranges = <0x0 0x1e6e2000 0x1000>; 521 522 pinctrl: pinctrl { 523 compatible = "aspeed,ast2600-pinctrl"; 524 525 pinctrl_pwm10g1_default: pwm10g1_default { 526 function = "PWM10"; 527 groups = "PWM10G1"; 528 }; 529 530 pinctrl_gpioh0_unbiased_default: gpioh0 { 531 pins = "A18"; 532 bias-disable; 533 }; 534 }; 535 }; 536