Documentation/devicetree/bindings/pci/sophgo,sg2044-pcie.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/pci/sophgo,sg2044-pcie.yaml
Extension
.yaml
Size
3000 bytes
Lines
123
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/pci/sophgo,sg2044-pcie.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: DesignWare based PCIe Root Complex controller on Sophgo SoCs

maintainers:
  - Inochi Amaoto <inochiama@gmail.com>

description:
  SG2044 SoC PCIe Root Complex controller is based on the Synopsys DesignWare
  PCIe IP and thus inherits all the common properties defined in
  snps,dw-pcie.yaml.

allOf:
  - $ref: /schemas/pci/pci-host-bridge.yaml#
  - $ref: /schemas/pci/snps,dw-pcie.yaml#

properties:
  compatible:
    const: sophgo,sg2044-pcie

  reg:
    items:
      - description: Data Bus Interface (DBI) registers
      - description: iATU registers
      - description: Config registers
      - description: Sophgo designed configuration registers

  reg-names:
    items:
      - const: dbi
      - const: atu
      - const: config
      - const: app

  clocks:
    items:
      - description: core clk

  clock-names:
    items:
      - const: core

  interrupt-controller:
    description: Interrupt controller node for handling legacy PCI interrupts.
    type: object

    properties:
      "#address-cells":
        const: 0

      "#interrupt-cells":
        const: 1

      interrupt-controller: true

      interrupts:
        items:
          - description: combined legacy interrupt

    required:
      - "#address-cells"
      - "#interrupt-cells"
      - interrupt-controller
      - interrupts

    additionalProperties: false

Annotation

Implementation Notes