Documentation/devicetree/bindings/pinctrl/aspeed,ast2700-soc1-pinctrl.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pinctrl/aspeed,ast2700-soc1-pinctrl.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pinctrl/aspeed,ast2700-soc1-pinctrl.yaml
Extension
.yaml
Size
14023 bytes
Lines
761
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/aspeed,ast2700-soc1-pinctrl.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ASPEED AST2700 SoC1 Pin Controller

maintainers:
  - Billy Tsai <billy_tsai@aspeedtech.com>

description:
  The AST2700 features a dual-SoC architecture with two interconnected SoCs,
  each having its own System Control Unit (SCU) for independent pin control.
  This pin controller manages the pin multiplexing for SoC1.

  The SoC1 pin controller manages pin functions including eSPI, LPC and I2C,
  among others.

properties:
  compatible:
    const: aspeed,ast2700-soc1-pinctrl
  reg:
    maxItems: 1

patternProperties:
  '-state$':
    description: |
      Pin control state.

      If `function` is present, the node describes a pinmux state and must
      specify `groups`.

      For pin configuration, exactly one of `groups` or `pins` must be
      specified in each state node. Group-level configuration applies to all
      pins in the group. Pin-level configuration may be supplied in a
      separate state node for individual pins; when both group-level and
      pin-level configuration apply to the same pin, the pin-level
      configuration takes precedence.

    type: object
    allOf:
      - $ref: pinmux-node.yaml#
      - $ref: pincfg-node.yaml#
      - if:
          required:
            - function
        then:
          required:
            - groups
      - oneOf:
          - required:
              - groups
          - required:
              - pins
    additionalProperties: false

    properties:
      function:
        enum:
          - ADC0
          - ADC1
          - ADC10
          - ADC11
          - ADC12
          - ADC13
          - ADC14
          - ADC15
          - ADC2
          - ADC3

Annotation

Implementation Notes