Ralink RT3883 Pin Controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/ralink,rt3883-pinctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Arınç ÜNAL <arinc.unal@arinc9.com>", "Sergio Paracuellos <sergio.paracuellos@gmail.com>"

Ralink RT3883 pin controller for RT3883 SoC. The pin controller can only set the muxing of pin groups. Muxing individual pins is not supported. There is no pinconf support.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "ralink,rt3883-pinctrl"

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

^(.*-)?pinmux$ — name matches this regular expression

Value type (type): "object"

node for pinctrl.

Shared schema rule ($ref): pinmux-node.yaml#

Properties not matched by properties or patternProperties in this schema (additionalProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

function — required here

A string containing the name of the function to mux to the group.

Allowed values (enum): "ge1", "ge2", "gpio", "gpio i2s", "gpio uartf", "i2c", "i2s uartf", "jtag", "lna a", "lna g", "mdio", "pci-dev", "pci-fnc", "pci-host1", "pci-host2", "pcm gpio", "pcm i2s", "pcm uartf", "spi", "uartf", "uartlite"

groups — required here

An array of strings. Each string contains the name of a group.

Maximum number of items (maxItems): 1

Required in this object (required): "groups", "function"

All of these rules must match (allOf)

Rule 1

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "ge1"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "ge1"

Rule 2

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "ge2"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "ge2"

Rule 3

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "gpio"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "ge1", "ge2", "i2c", "jtag", "lna a", "lna g", "mdio", "pci", "spi", "uartf", "uartlite"

Rule 4

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "gpio i2s"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 5

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "gpio uartf"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 6

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "i2c"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "i2c"

Rule 7

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "i2s uartf"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 8

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "jtag"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "jtag"

Rule 9

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "lna a"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "lna a"

Rule 10

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "lna g"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "lna g"

Rule 11

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "mdio"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "mdio"

Rule 12

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pci-dev"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "pci"

Rule 13

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pci-fnc"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "pci"

Rule 14

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pci-host1"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "pci"

Rule 15

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pci-host2"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "pci"

Rule 16

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pcm gpio"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 17

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pcm i2s"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 18

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "pcm uartf"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 19

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "spi"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "spi"

Rule 20

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "uartf"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartf"

Rule 21

Condition (if)

Properties and child nodes (properties)

function — not listed as required here

Exact value (const): "uartlite"

When the condition matches (then)

Properties and child nodes (properties)

groups — not listed as required here

Allowed values (enum): "uartlite"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pinctrl.yaml#

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

pinctrl {
  compatible = "ralink,rt3883-pinctrl";

  i2c_pins: i2c0-pins {
    pinmux {
      groups = "i2c";
      function = "i2c";
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page