Documentation/devicetree/bindings/pci/mediatek-pcie.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml
Extension
.yaml
Size
11715 bytes
Lines
439
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 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pci/mediatek-pcie.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: PCIe controller on MediaTek SoCs

maintainers:
  - Christian Marangi <ansuelsmth@gmail.com>

properties:
  compatible:
    oneOf:
      - enum:
          - airoha,an7583-pcie
          - mediatek,mt2712-pcie
          - mediatek,mt7622-pcie
          - mediatek,mt7629-pcie
      - items:
          - const: airoha,en7523-pcie
          - const: mediatek,mt7622-pcie

  reg:
    maxItems: 1

  reg-names:
    enum: [ port0, port1 ]

  clocks:
    minItems: 1
    maxItems: 6

  clock-names:
    minItems: 1
    items:
      - enum: [ sys_ck0, sys_ck1 ]
      - enum: [ ahb_ck0, ahb_ck1 ]
      - enum: [ aux_ck0, aux_ck1 ]
      - enum: [ axi_ck0, axi_ck1 ]
      - enum: [ obff_ck0, obff_ck1 ]
      - enum: [ pipe_ck0, pipe_ck1 ]

  resets:
    maxItems: 1

  reset-names:
    const: pcie-rst1

  interrupts:
    maxItems: 1

  interrupt-names:
    const: pcie_irq

  phys:
    maxItems: 1

  phy-names:
    enum: [ pcie-phy0, pcie-phy1 ]

  power-domains:
    maxItems: 1

  mediatek,pbus-csr:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description: phandle to pbus-csr syscon
          - description: offset of pbus-csr base address register

Annotation

Implementation Notes