1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-or-later 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/aspeed,ast2400-pinctrl.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: ASPEED AST2400 Pin Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Andrew Jeffery <andrew@aj.id.au> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: |+ 13c66ec88fSEmmanuel Vadot The pin controller node should be the child of a syscon node with the 14c66ec88fSEmmanuel Vadot required property: 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot - compatible: Should be one of the following: 17c66ec88fSEmmanuel Vadot "aspeed,ast2400-scu", "syscon", "simple-mfd" 18c66ec88fSEmmanuel Vadot 19b97ee269SEmmanuel Vadot Refer to the bindings described in 20c66ec88fSEmmanuel Vadot Documentation/devicetree/bindings/mfd/syscon.yaml 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadotproperties: 23c66ec88fSEmmanuel Vadot compatible: 24c66ec88fSEmmanuel Vadot const: aspeed,ast2400-pinctrl 25c66ec88fSEmmanuel Vadot reg: 265def4c47SEmmanuel Vadot maxItems: 2 27c66ec88fSEmmanuel Vadot 28aa1a8ff2SEmmanuel VadotadditionalProperties: 29aa1a8ff2SEmmanuel Vadot $ref: pinmux-node.yaml# 30aa1a8ff2SEmmanuel Vadot additionalProperties: false 31aa1a8ff2SEmmanuel Vadot 32aa1a8ff2SEmmanuel Vadot properties: 33aa1a8ff2SEmmanuel Vadot pins: true 34aa1a8ff2SEmmanuel Vadot bias-disable: true 35aa1a8ff2SEmmanuel Vadot 36c66ec88fSEmmanuel Vadot patternProperties: 37c66ec88fSEmmanuel Vadot "^function|groups$": 38*0e8011faSEmmanuel Vadot enum: 39*0e8011faSEmmanuel Vadot - ACPI 40*0e8011faSEmmanuel Vadot - ADC0 41*0e8011faSEmmanuel Vadot - ADC1 42*0e8011faSEmmanuel Vadot - ADC10 43*0e8011faSEmmanuel Vadot - ADC11 44*0e8011faSEmmanuel Vadot - ADC12 45*0e8011faSEmmanuel Vadot - ADC13 46*0e8011faSEmmanuel Vadot - ADC14 47*0e8011faSEmmanuel Vadot - ADC15 48*0e8011faSEmmanuel Vadot - ADC2 49*0e8011faSEmmanuel Vadot - ADC3 50*0e8011faSEmmanuel Vadot - ADC4 51*0e8011faSEmmanuel Vadot - ADC5 52*0e8011faSEmmanuel Vadot - ADC6 53*0e8011faSEmmanuel Vadot - ADC7 54*0e8011faSEmmanuel Vadot - ADC8 55*0e8011faSEmmanuel Vadot - ADC9 56*0e8011faSEmmanuel Vadot - BMCINT 57*0e8011faSEmmanuel Vadot - DDCCLK 58*0e8011faSEmmanuel Vadot - DDCDAT 59*0e8011faSEmmanuel Vadot - EXTRST 60*0e8011faSEmmanuel Vadot - FLACK 61*0e8011faSEmmanuel Vadot - FLBUSY 62*0e8011faSEmmanuel Vadot - FLWP 63*0e8011faSEmmanuel Vadot - GPID 64*0e8011faSEmmanuel Vadot - GPID0 65*0e8011faSEmmanuel Vadot - GPID2 66*0e8011faSEmmanuel Vadot - GPID4 67*0e8011faSEmmanuel Vadot - GPID6 68*0e8011faSEmmanuel Vadot - GPIE0 69*0e8011faSEmmanuel Vadot - GPIE2 70*0e8011faSEmmanuel Vadot - GPIE4 71*0e8011faSEmmanuel Vadot - GPIE6 72*0e8011faSEmmanuel Vadot - I2C10 73*0e8011faSEmmanuel Vadot - I2C11 74*0e8011faSEmmanuel Vadot - I2C12 75*0e8011faSEmmanuel Vadot - I2C13 76*0e8011faSEmmanuel Vadot - I2C14 77*0e8011faSEmmanuel Vadot - I2C3 78*0e8011faSEmmanuel Vadot - I2C4 79*0e8011faSEmmanuel Vadot - I2C5 80*0e8011faSEmmanuel Vadot - I2C6 81*0e8011faSEmmanuel Vadot - I2C7 82*0e8011faSEmmanuel Vadot - I2C8 83*0e8011faSEmmanuel Vadot - I2C9 84*0e8011faSEmmanuel Vadot - LPCPD 85*0e8011faSEmmanuel Vadot - LPCPME 86*0e8011faSEmmanuel Vadot - LPCRST 87*0e8011faSEmmanuel Vadot - LPCSMI 88*0e8011faSEmmanuel Vadot - MAC1LINK 89*0e8011faSEmmanuel Vadot - MAC2LINK 90*0e8011faSEmmanuel Vadot - MDIO1 91*0e8011faSEmmanuel Vadot - MDIO2 92*0e8011faSEmmanuel Vadot - NCTS1 93*0e8011faSEmmanuel Vadot - NCTS2 94*0e8011faSEmmanuel Vadot - NCTS3 95*0e8011faSEmmanuel Vadot - NCTS4 96*0e8011faSEmmanuel Vadot - NDCD1 97*0e8011faSEmmanuel Vadot - NDCD2 98*0e8011faSEmmanuel Vadot - NDCD3 99*0e8011faSEmmanuel Vadot - NDCD4 100*0e8011faSEmmanuel Vadot - NDSR1 101*0e8011faSEmmanuel Vadot - NDSR2 102*0e8011faSEmmanuel Vadot - NDSR3 103*0e8011faSEmmanuel Vadot - NDSR4 104*0e8011faSEmmanuel Vadot - NDTR1 105*0e8011faSEmmanuel Vadot - NDTR2 106*0e8011faSEmmanuel Vadot - NDTR3 107*0e8011faSEmmanuel Vadot - NDTR4 108*0e8011faSEmmanuel Vadot - NDTS4 109*0e8011faSEmmanuel Vadot - NRI1 110*0e8011faSEmmanuel Vadot - NRI2 111*0e8011faSEmmanuel Vadot - NRI3 112*0e8011faSEmmanuel Vadot - NRI4 113*0e8011faSEmmanuel Vadot - NRTS1 114*0e8011faSEmmanuel Vadot - NRTS2 115*0e8011faSEmmanuel Vadot - NRTS3 116*0e8011faSEmmanuel Vadot - OSCCLK 117*0e8011faSEmmanuel Vadot - PWM0 118*0e8011faSEmmanuel Vadot - PWM1 119*0e8011faSEmmanuel Vadot - PWM2 120*0e8011faSEmmanuel Vadot - PWM3 121*0e8011faSEmmanuel Vadot - PWM4 122*0e8011faSEmmanuel Vadot - PWM5 123*0e8011faSEmmanuel Vadot - PWM6 124*0e8011faSEmmanuel Vadot - PWM7 125*0e8011faSEmmanuel Vadot - RGMII1 126*0e8011faSEmmanuel Vadot - RGMII2 127*0e8011faSEmmanuel Vadot - RMII1 128*0e8011faSEmmanuel Vadot - RMII2 129*0e8011faSEmmanuel Vadot - ROM16 130*0e8011faSEmmanuel Vadot - ROM8 131*0e8011faSEmmanuel Vadot - ROMCS1 132*0e8011faSEmmanuel Vadot - ROMCS2 133*0e8011faSEmmanuel Vadot - ROMCS3 134*0e8011faSEmmanuel Vadot - ROMCS4 135*0e8011faSEmmanuel Vadot - RXD1 136*0e8011faSEmmanuel Vadot - RXD2 137*0e8011faSEmmanuel Vadot - RXD3 138*0e8011faSEmmanuel Vadot - RXD4 139*0e8011faSEmmanuel Vadot - SALT1 140*0e8011faSEmmanuel Vadot - SALT2 141*0e8011faSEmmanuel Vadot - SALT3 142*0e8011faSEmmanuel Vadot - SALT4 143*0e8011faSEmmanuel Vadot - SD1 144*0e8011faSEmmanuel Vadot - SD2 145*0e8011faSEmmanuel Vadot - SGPMCK 146*0e8011faSEmmanuel Vadot - SGPMI 147*0e8011faSEmmanuel Vadot - SGPMLD 148*0e8011faSEmmanuel Vadot - SGPMO 149*0e8011faSEmmanuel Vadot - SGPSCK 150*0e8011faSEmmanuel Vadot - SGPSI0 151*0e8011faSEmmanuel Vadot - SGPSI1 152*0e8011faSEmmanuel Vadot - SGPSLD 153*0e8011faSEmmanuel Vadot - SIOONCTRL 154*0e8011faSEmmanuel Vadot - SIOPBI 155*0e8011faSEmmanuel Vadot - SIOPBO 156*0e8011faSEmmanuel Vadot - SIOPWREQ 157*0e8011faSEmmanuel Vadot - SIOPWRGD 158*0e8011faSEmmanuel Vadot - SIOS3 159*0e8011faSEmmanuel Vadot - SIOS5 160*0e8011faSEmmanuel Vadot - SIOSCI 161*0e8011faSEmmanuel Vadot - SPI1 162*0e8011faSEmmanuel Vadot - SPI1DEBUG 163*0e8011faSEmmanuel Vadot - SPI1PASSTHRU 164*0e8011faSEmmanuel Vadot - SPICS1 165*0e8011faSEmmanuel Vadot - TIMER3 166*0e8011faSEmmanuel Vadot - TIMER4 167*0e8011faSEmmanuel Vadot - TIMER5 168*0e8011faSEmmanuel Vadot - TIMER6 169*0e8011faSEmmanuel Vadot - TIMER7 170*0e8011faSEmmanuel Vadot - TIMER8 171*0e8011faSEmmanuel Vadot - TXD1 172*0e8011faSEmmanuel Vadot - TXD2 173*0e8011faSEmmanuel Vadot - TXD3 174*0e8011faSEmmanuel Vadot - TXD4 175*0e8011faSEmmanuel Vadot - UART6 176*0e8011faSEmmanuel Vadot - USB11D1 177*0e8011faSEmmanuel Vadot - USB11H2 178*0e8011faSEmmanuel Vadot - USB2D1 179*0e8011faSEmmanuel Vadot - USB2H1 180*0e8011faSEmmanuel Vadot - USBCKI 181*0e8011faSEmmanuel Vadot - VGABIOS_ROM 182*0e8011faSEmmanuel Vadot - VGAHS 183*0e8011faSEmmanuel Vadot - VGAVS 184*0e8011faSEmmanuel Vadot - VPI18 185*0e8011faSEmmanuel Vadot - VPI24 186*0e8011faSEmmanuel Vadot - VPI30 187*0e8011faSEmmanuel Vadot - VPO12 188*0e8011faSEmmanuel Vadot - VPO24 189*0e8011faSEmmanuel Vadot - WDTRST1 190*0e8011faSEmmanuel Vadot - WDTRST2 191c66ec88fSEmmanuel Vadot 192e67e8565SEmmanuel VadotallOf: 193fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 194e67e8565SEmmanuel Vadot 195c66ec88fSEmmanuel Vadotrequired: 196c66ec88fSEmmanuel Vadot - compatible 197c66ec88fSEmmanuel Vadot 198c66ec88fSEmmanuel Vadotexamples: 199c66ec88fSEmmanuel Vadot - | 200c66ec88fSEmmanuel Vadot syscon: scu@1e6e2000 { 201c66ec88fSEmmanuel Vadot compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; 202c66ec88fSEmmanuel Vadot reg = <0x1e6e2000 0x1a8>; 2037ef62cebSEmmanuel Vadot #clock-cells = <1>; 2047ef62cebSEmmanuel Vadot #reset-cells = <1>; 2057ef62cebSEmmanuel Vadot 2067ef62cebSEmmanuel Vadot #address-cells = <1>; 2077ef62cebSEmmanuel Vadot #size-cells = <1>; 2087ef62cebSEmmanuel Vadot ranges = <0x0 0x1e6e2000 0x1000>; 209c66ec88fSEmmanuel Vadot 210c66ec88fSEmmanuel Vadot pinctrl: pinctrl { 2115def4c47SEmmanuel Vadot compatible = "aspeed,ast2400-pinctrl"; 212c66ec88fSEmmanuel Vadot 213c66ec88fSEmmanuel Vadot pinctrl_i2c3_default: i2c3_default { 214c66ec88fSEmmanuel Vadot function = "I2C3"; 215c66ec88fSEmmanuel Vadot groups = "I2C3"; 216c66ec88fSEmmanuel Vadot }; 217c66ec88fSEmmanuel Vadot 218c66ec88fSEmmanuel Vadot pinctrl_gpioh0_unbiased_default: gpioh0 { 219c66ec88fSEmmanuel Vadot pins = "A8"; 220c66ec88fSEmmanuel Vadot bias-disable; 221c66ec88fSEmmanuel Vadot }; 222c66ec88fSEmmanuel Vadot }; 223c66ec88fSEmmanuel Vadot }; 224