i.MX SCU Client Device Node - Pinctrl Based on SCU Message Protocol

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

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

Maintainers (maintainers): "Dong Aisheng <aisheng.dong@nxp.com>"

i.MX SCU Client Device Node Client nodes are maintained as children of the relevant IMX-SCU device node. This binding uses the i.MX common pinctrl binding. (Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt)

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx8qm-iomuxc", "fsl,imx8qxp-iomuxc", "fsl,imx8dxl-iomuxc"

Properties matching a name pattern (patternProperties) #

grp$ — 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.

Properties and child nodes (properties) #

fsl,pins — required here

each entry consists of 3 integers and represents the pin ID, the mux value and pad setting for the pin. The first 2 integers - pin_id and mux_val - are specified using a PIN_FUNC_ID macro, which can be found in <include/dt-bindings/pinctrl/pads-imx8qxp.h>. The last integer is the pad setting value like pull-up on this pin. Please refer to the appropriate i.MX8 Reference Manual for detailed pad CONFIG settings.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix

Array item rules (items)

Array item rules (items)

Item 1

"pin_id" indicates the pin ID

Item 2

"mux_val" indicates the mux value to be applied.

Item 3

"pad_setting" indicates the pad configuration value to be applied.

Required in this object (required): "fsl,pins"

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

false

Not allowed by this rule.

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 = "fsl,imx8qxp-iomuxc";

    pinctrl_lpuart0: lpuart0grp {
        fsl,pins = <
            111 0 0x06000020
            112 0 0x06000020
        >;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page