Documentation / devicetree / bindings / phy / airoha,en7581-pcie-phy.yaml


Based on kernel version 6.11. Page generated on 2024-09-24 08:21 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Airoha EN7581 PCI-Express PHY

maintainers:
  - Lorenzo Bianconi <lorenzo@kernel.org>

description:
  The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port.

properties:
  compatible:
    const: airoha,en7581-pcie-phy

  reg:
    items:
      - description: PCIE analog base address
      - description: PCIE lane0 base address
      - description: PCIE lane1 base address
      - description: PCIE lane0 detection time base address
      - description: PCIE lane1 detection time base address
      - description: PCIE Rx AEQ base address

  reg-names:
    items:
      - const: csr-2l
      - const: pma0
      - const: pma1
      - const: p0-xr-dtime
      - const: p1-xr-dtime
      - const: rx-aeq
 
  "#phy-cells":
    const: 0

required:
  - compatible
  - reg
  - reg-names
  - "#phy-cells"

additionalProperties: false

examples:
  - |
    #include <dt-bindings/phy/phy.h>
 
    soc {
        #address-cells = <2>;
        #size-cells = <2>;
 
        phy@11e80000 {
            compatible = "airoha,en7581-pcie-phy";
            #phy-cells = <0>;
            reg = <0x0 0x1fa5a000 0x0 0xfff>,
                  <0x0 0x1fa5b000 0x0 0xfff>,
                  <0x0 0x1fa5c000 0x0 0xfff>,
                  <0x0 0x1fc10044 0x0 0x4>,
                  <0x0 0x1fc30044 0x0 0x4>,
                  <0x0 0x1fc15030 0x0 0x104>;
            reg-names = "csr-2l", "pma0", "pma1",
                        "p0-xr-dtime", "p1-xr-dtime",
                        "rx-aeq";
        };
    };