15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 25def4c47SEmmanuel Vadot%YAML 1.2 35def4c47SEmmanuel Vadot--- 45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/pinctrl/ralink,rt2880-pinmux.yaml# 55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65def4c47SEmmanuel Vadot 75def4c47SEmmanuel Vadottitle: Ralink rt2880 pinmux controller 85def4c47SEmmanuel Vadot 95def4c47SEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Sergio Paracuellos <sergio.paracuellos@gmail.com> 115def4c47SEmmanuel Vadot 125def4c47SEmmanuel Vadotdescription: 135def4c47SEmmanuel Vadot The rt2880 pinmux can only set the muxing of pin groups. muxing indiviual pins 145def4c47SEmmanuel Vadot is not supported. There is no pinconf support. 155def4c47SEmmanuel Vadot 165def4c47SEmmanuel Vadotproperties: 175def4c47SEmmanuel Vadot compatible: 185def4c47SEmmanuel Vadot const: ralink,rt2880-pinmux 195def4c47SEmmanuel Vadot 205def4c47SEmmanuel VadotpatternProperties: 215def4c47SEmmanuel Vadot '-pins$': 225def4c47SEmmanuel Vadot type: object 235def4c47SEmmanuel Vadot patternProperties: 245def4c47SEmmanuel Vadot '^(.*-)?pinmux$': 255def4c47SEmmanuel Vadot type: object 265def4c47SEmmanuel Vadot description: node for pinctrl. 275def4c47SEmmanuel Vadot $ref: pinmux-node.yaml# 285def4c47SEmmanuel Vadot 295def4c47SEmmanuel Vadot properties: 305def4c47SEmmanuel Vadot groups: 315def4c47SEmmanuel Vadot description: Name of the pin group to use for the functions. 325def4c47SEmmanuel Vadot enum: [i2c, spi, uart1, uart2, uart3, rgmii1, rgmii2, mdio, 335def4c47SEmmanuel Vadot pcie, sdhci] 345def4c47SEmmanuel Vadot function: 355def4c47SEmmanuel Vadot description: The mux function to select 365def4c47SEmmanuel Vadot enum: [gpio, i2c, spi, uart1, uart2, uart3, rgmii1, rgmii2, 375def4c47SEmmanuel Vadot mdio, nand1, nand2, sdhci] 385def4c47SEmmanuel Vadot 395def4c47SEmmanuel Vadot required: 405def4c47SEmmanuel Vadot - groups 415def4c47SEmmanuel Vadot - function 425def4c47SEmmanuel Vadot 435def4c47SEmmanuel Vadot additionalProperties: false 445def4c47SEmmanuel Vadot 455def4c47SEmmanuel Vadot additionalProperties: false 465def4c47SEmmanuel Vadot 47*e67e8565SEmmanuel VadotallOf: 48*e67e8565SEmmanuel Vadot - $ref: "pinctrl.yaml#" 49*e67e8565SEmmanuel Vadot 505def4c47SEmmanuel Vadotrequired: 515def4c47SEmmanuel Vadot - compatible 525def4c47SEmmanuel Vadot 535def4c47SEmmanuel VadotadditionalProperties: false 545def4c47SEmmanuel Vadot 555def4c47SEmmanuel Vadotexamples: 565def4c47SEmmanuel Vadot # Pinmux controller node 575def4c47SEmmanuel Vadot - | 585def4c47SEmmanuel Vadot pinctrl { 595def4c47SEmmanuel Vadot compatible = "ralink,rt2880-pinmux"; 605def4c47SEmmanuel Vadot 615def4c47SEmmanuel Vadot i2c_pins: i2c0-pins { 625def4c47SEmmanuel Vadot pinmux { 635def4c47SEmmanuel Vadot groups = "i2c"; 645def4c47SEmmanuel Vadot function = "i2c"; 655def4c47SEmmanuel Vadot }; 665def4c47SEmmanuel Vadot }; 675def4c47SEmmanuel Vadot }; 68