Documentation/devicetree/bindings/phy/marvell,armada-380-comphy.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/phy/marvell,armada-380-comphy.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/phy/marvell,armada-380-comphy.yaml
Extension
.yaml
Size
1696 bytes
Lines
84
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/phy/marvell,armada-380-comphy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Armada 38x COMPHY controller

maintainers:
  - Andrew Lunn <andrew@lunn.ch>
  - Gregory Clement <gregory.clement@bootlin.com>

description:
  This comphy controller can be found on Marvell Armada 38x. It provides a
  number of shared PHYs used by various interfaces (network, sata, usb,
  PCIe...).

properties:
  compatible:
    items:
      - const: marvell,armada-380-comphy

  reg:
    items:
      - description: COMPHY register location and length
      - description: Configuration register location and length

  reg-names:
    items:
      - const: comphy
      - const: conf

  '#address-cells':
    const: 1

  '#size-cells':
    const: 0

patternProperties:
  '^phy@[0-5]$':
    description: A COMPHY lane
    type: object
    additionalProperties: false

    properties:
      reg:
        maximum: 1

      '#phy-cells':
        description: Input port index for the PHY lane
        const: 1

    required:
      - reg
      - '#phy-cells'

required:
  - compatible
  - reg
  - '#address-cells'
  - '#size-cells'

additionalProperties: false

examples:
  - |
    comphy: phy@18300 {
        compatible = "marvell,armada-380-comphy";
        reg = <0x18300 0x100>, <0x18460 4>;
        reg-names = "comphy", "conf";

Annotation

Implementation Notes