Intel Lightning Mountain SoC pinmux & GPIO controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/intel,lgm-io.yaml#"

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

Maintainers (maintainers): "Rahul Tanwar <rahul.tanwar@linux.intel.com>"

Pinmux & GPIO controller controls pin multiplexing & configuration including GPIO function selection & GPIO attributes configuration.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "intel,lgm-io"

reg — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties.

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

Properties and child nodes (properties) #

function — required here

true — No constraints added by this property rule.

groups — required here

true — No constraints added by this property rule.

pins — not listed as required here

true — No constraints added by this property rule.

pinmux — not listed as required here

true — No constraints added by this property rule.

bias-pull-up — not listed as required here

true — No constraints added by this property rule.

bias-pull-down — not listed as required here

true — No constraints added by this property rule.

drive-strength — not listed as required here

true — No constraints added by this property rule.

slew-rate — not listed as required here

true — No constraints added by this property rule.

drive-open-drain — not listed as required here

true — No constraints added by this property rule.

output-enable — not listed as required here

true — No constraints added by this property rule.

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

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

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

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

Required in this object (required): "compatible", "reg"

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

false

Not allowed by this rule.

Examples (examples) #

pinctrl: pinctrl@e2880000 {
    compatible = "intel,lgm-io";
    reg = <0xe2880000 0x100000>;

    uart0-pins {
         pins = <64>, /* UART_RX0 */
                <65>; /* UART_TX0 */
         function = "CONSOLE_UART0";
         pinmux = <1>,
                  <1>;
         groups = "CONSOLE_UART0";
      };
};

Source notes #

Annotations retained from the schema source

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

Line 23: Client device subnode's properties

Line 60: Pinmux controller node

Edit this page