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 28*aa1a8ff2SEmmanuel VadotadditionalProperties: 29*aa1a8ff2SEmmanuel Vadot $ref: pinmux-node.yaml# 30*aa1a8ff2SEmmanuel Vadot additionalProperties: false 31*aa1a8ff2SEmmanuel Vadot 32*aa1a8ff2SEmmanuel Vadot properties: 33*aa1a8ff2SEmmanuel Vadot pins: true 34*aa1a8ff2SEmmanuel Vadot bias-disable: true 35*aa1a8ff2SEmmanuel Vadot 36c66ec88fSEmmanuel Vadot patternProperties: 37c66ec88fSEmmanuel Vadot "^function|groups$": 38c66ec88fSEmmanuel Vadot enum: [ ACPI, ADC0, ADC1, ADC10, ADC11, ADC12, ADC13, ADC14, ADC15, 39c66ec88fSEmmanuel Vadot ADC2, ADC3, ADC4, ADC5, ADC6, ADC7, ADC8, ADC9, BMCINT, DDCCLK, DDCDAT, 40c66ec88fSEmmanuel Vadot EXTRST, FLACK, FLBUSY, FLWP, GPID, GPID0, GPID2, GPID4, GPID6, GPIE0, 41c66ec88fSEmmanuel Vadot GPIE2, GPIE4, GPIE6, I2C10, I2C11, I2C12, I2C13, I2C14, I2C3, I2C4, 42c66ec88fSEmmanuel Vadot I2C5, I2C6, I2C7, I2C8, I2C9, LPCPD, LPCPME, LPCRST, LPCSMI, MAC1LINK, 43c66ec88fSEmmanuel Vadot MAC2LINK, MDIO1, MDIO2, NCTS1, NCTS2, NCTS3, NCTS4, NDCD1, NDCD2, 44c66ec88fSEmmanuel Vadot NDCD3, NDCD4, NDSR1, NDSR2, NDSR3, NDSR4, NDTR1, NDTR2, NDTR3, NDTR4, 45c66ec88fSEmmanuel Vadot NDTS4, NRI1, NRI2, NRI3, NRI4, NRTS1, NRTS2, NRTS3, OSCCLK, PWM0, 46c66ec88fSEmmanuel Vadot PWM1, PWM2, PWM3, PWM4, PWM5, PWM6, PWM7, RGMII1, RGMII2, RMII1, 47c66ec88fSEmmanuel Vadot RMII2, ROM16, ROM8, ROMCS1, ROMCS2, ROMCS3, ROMCS4, RXD1, RXD2, RXD3, 48c66ec88fSEmmanuel Vadot RXD4, SALT1, SALT2, SALT3, SALT4, SD1, SD2, SGPMCK, SGPMI, SGPMLD, 49c66ec88fSEmmanuel Vadot SGPMO, SGPSCK, SGPSI0, SGPSI1, SGPSLD, SIOONCTRL, SIOPBI, SIOPBO, 50c66ec88fSEmmanuel Vadot SIOPWREQ, SIOPWRGD, SIOS3, SIOS5, SIOSCI, SPI1, SPI1DEBUG, SPI1PASSTHRU, 51c66ec88fSEmmanuel Vadot SPICS1, TIMER3, TIMER4, TIMER5, TIMER6, TIMER7, TIMER8, TXD1, TXD2, 52c66ec88fSEmmanuel Vadot TXD3, TXD4, UART6, USB11D1, USB11H2, USB2D1, USB2H1, USBCKI, VGABIOS_ROM, 53c66ec88fSEmmanuel Vadot VGAHS, VGAVS, VPI18, VPI24, VPI30, VPO12, VPO24, WDTRST1, WDTRST2] 54c66ec88fSEmmanuel Vadot 55e67e8565SEmmanuel VadotallOf: 56fac71e4eSEmmanuel Vadot - $ref: pinctrl.yaml# 57e67e8565SEmmanuel Vadot 58c66ec88fSEmmanuel Vadotrequired: 59c66ec88fSEmmanuel Vadot - compatible 60c66ec88fSEmmanuel Vadot 61c66ec88fSEmmanuel Vadotexamples: 62c66ec88fSEmmanuel Vadot - | 63c66ec88fSEmmanuel Vadot syscon: scu@1e6e2000 { 64c66ec88fSEmmanuel Vadot compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd"; 65c66ec88fSEmmanuel Vadot reg = <0x1e6e2000 0x1a8>; 667ef62cebSEmmanuel Vadot #clock-cells = <1>; 677ef62cebSEmmanuel Vadot #reset-cells = <1>; 687ef62cebSEmmanuel Vadot 697ef62cebSEmmanuel Vadot #address-cells = <1>; 707ef62cebSEmmanuel Vadot #size-cells = <1>; 717ef62cebSEmmanuel Vadot ranges = <0x0 0x1e6e2000 0x1000>; 72c66ec88fSEmmanuel Vadot 73c66ec88fSEmmanuel Vadot pinctrl: pinctrl { 745def4c47SEmmanuel Vadot compatible = "aspeed,ast2400-pinctrl"; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot pinctrl_i2c3_default: i2c3_default { 77c66ec88fSEmmanuel Vadot function = "I2C3"; 78c66ec88fSEmmanuel Vadot groups = "I2C3"; 79c66ec88fSEmmanuel Vadot }; 80c66ec88fSEmmanuel Vadot 81c66ec88fSEmmanuel Vadot pinctrl_gpioh0_unbiased_default: gpioh0 { 82c66ec88fSEmmanuel Vadot pins = "A8"; 83c66ec88fSEmmanuel Vadot bias-disable; 84c66ec88fSEmmanuel Vadot }; 85c66ec88fSEmmanuel Vadot }; 86c66ec88fSEmmanuel Vadot }; 87