Documentation/devicetree/bindings/net/spacemit,k3-dwmac.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/spacemit,k3-dwmac.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/spacemit,k3-dwmac.yaml
Extension
.yaml
Size
2243 bytes
Lines
103
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/net/spacemit,k3-dwmac.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Spacemit K3 DWMAC glue layer

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

select:
  properties:
    compatible:
      contains:
        const: spacemit,k3-dwmac
  required:
    - compatible

properties:
  compatible:
    items:
      - const: spacemit,k3-dwmac
      - const: snps,dwmac-5.40a

  reg:
    maxItems: 1

  clocks:
    items:
      - description: GMAC application clock
      - description: PTP clock
      - description: TX clock

  clock-names:
    items:
      - const: stmmaceth
      - const: ptp_ref
      - const: tx

  interrupts:
    minItems: 1
    items:
      - description: MAC interrupt
      - description: MAC wake interrupt

  interrupt-names:
    minItems: 1
    items:
      - const: macirq
      - const: eth_wake_irq

  resets:
    maxItems: 1

  reset-names:
    const: stmmaceth

  spacemit,apmu:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description: phandle to the syscon node which control the glue register
          - description: offset of the control register
          - description: offset of the dline register
    description:
      A phandle to syscon with offset to control registers for this MAC

required:
  - compatible

Annotation

Implementation Notes