Documentation/devicetree/bindings/pinctrl/fsl,imx27-iomuxc.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pinctrl/fsl,imx27-iomuxc.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pinctrl/fsl,imx27-iomuxc.yaml
Extension
.yaml
Size
3722 bytes
Lines
127
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/pinctrl/fsl,imx27-iomuxc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MX1/i.MX25/i.MX27 IOMUX Controller

maintainers:
  - Frank Li <Frank.Li@nxp.com>

description:
  Please refer to fsl,imx-pinctrl.txt and pinctrl-bindings.txt in this directory
  for common binding part and usage.

properties:
  compatible:
    enum:
      - fsl,imx1-iomuxc
      - fsl,imx27-iomuxc

  reg:
    maxItems: 1

  '#address-cells':
    const: 1

  '#size-cells':
    const: 1

  ranges: true

patternProperties:
  '^gpio@[0-9a-f]+$':
    type: object
    $ref: /schemas/gpio/fsl-imx-gpio.yaml
    unevaluatedProperties: false

  'grp$':
    type: object
    description:
      Pinctrl node's client devices use subnodes for desired pin configuration.
      Client device subnodes use below standard properties.

    properties:
      fsl,pins:
        description:
          three integers array, represents a group of pins mux and config
          setting. The format is fsl,pins = <PIN MUX_ID CONFIG>.
        $ref: /schemas/types.yaml#/definitions/uint32-matrix
        items:
          items:
            - description:
                PIN is an integer between 0 and 0xbf. imx27 has 6 ports with 32
                configurable pins each. PIN is PORT * 32 + PORT_PIN, PORT_PIN
                is the pin number on the specific port (between 0 and 31)
            - description: |
                MUX_ID is function + (direction << 2) + (gpio_oconf << 4)
                + (gpio_iconfa << 8) + (gpio_iconfb << 10)

                function value is used to select the pin function.
                Possible values:
                  0 - Primary function
                  1 - Alternate function
                  2 - GPIO
                Registers: GIUS (GPIO In Use), GPR (General Purpose Register)

                direction defines the data direction of the pin.
                Possible values:
                  0 - Input

Annotation

Implementation Notes