xref: /linux/Documentation/devicetree/bindings/phy/airoha,en7581-pcie-phy.yaml (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1e2d0317eSLorenzo Bianconi# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2e2d0317eSLorenzo Bianconi%YAML 1.2
3e2d0317eSLorenzo Bianconi---
4e2d0317eSLorenzo Bianconi$id: http://devicetree.org/schemas/phy/airoha,en7581-pcie-phy.yaml#
5e2d0317eSLorenzo Bianconi$schema: http://devicetree.org/meta-schemas/core.yaml#
6e2d0317eSLorenzo Bianconi
7e2d0317eSLorenzo Bianconititle: Airoha EN7581 PCI-Express PHY
8e2d0317eSLorenzo Bianconi
9e2d0317eSLorenzo Bianconimaintainers:
10e2d0317eSLorenzo Bianconi  - Lorenzo Bianconi <lorenzo@kernel.org>
11e2d0317eSLorenzo Bianconi
12e2d0317eSLorenzo Bianconidescription:
13e2d0317eSLorenzo Bianconi  The PCIe PHY supports physical layer functionality for PCIe Gen2/Gen3 port.
14e2d0317eSLorenzo Bianconi
15e2d0317eSLorenzo Bianconiproperties:
16e2d0317eSLorenzo Bianconi  compatible:
17e2d0317eSLorenzo Bianconi    const: airoha,en7581-pcie-phy
18e2d0317eSLorenzo Bianconi
19e2d0317eSLorenzo Bianconi  reg:
20e2d0317eSLorenzo Bianconi    items:
21e2d0317eSLorenzo Bianconi      - description: PCIE analog base address
22e2d0317eSLorenzo Bianconi      - description: PCIE lane0 base address
23e2d0317eSLorenzo Bianconi      - description: PCIE lane1 base address
24*5854d0aaSLorenzo Bianconi      - description: PCIE lane0 detection time base address
25*5854d0aaSLorenzo Bianconi      - description: PCIE lane1 detection time base address
26*5854d0aaSLorenzo Bianconi      - description: PCIE Rx AEQ base address
27e2d0317eSLorenzo Bianconi
28e2d0317eSLorenzo Bianconi  reg-names:
29e2d0317eSLorenzo Bianconi    items:
30e2d0317eSLorenzo Bianconi      - const: csr-2l
31e2d0317eSLorenzo Bianconi      - const: pma0
32e2d0317eSLorenzo Bianconi      - const: pma1
33*5854d0aaSLorenzo Bianconi      - const: p0-xr-dtime
34*5854d0aaSLorenzo Bianconi      - const: p1-xr-dtime
35*5854d0aaSLorenzo Bianconi      - const: rx-aeq
36e2d0317eSLorenzo Bianconi
37e2d0317eSLorenzo Bianconi  "#phy-cells":
38e2d0317eSLorenzo Bianconi    const: 0
39e2d0317eSLorenzo Bianconi
40e2d0317eSLorenzo Bianconirequired:
41e2d0317eSLorenzo Bianconi  - compatible
42e2d0317eSLorenzo Bianconi  - reg
43e2d0317eSLorenzo Bianconi  - reg-names
44e2d0317eSLorenzo Bianconi  - "#phy-cells"
45e2d0317eSLorenzo Bianconi
46e2d0317eSLorenzo BianconiadditionalProperties: false
47e2d0317eSLorenzo Bianconi
48e2d0317eSLorenzo Bianconiexamples:
49e2d0317eSLorenzo Bianconi  - |
50e2d0317eSLorenzo Bianconi    #include <dt-bindings/phy/phy.h>
51e2d0317eSLorenzo Bianconi
52e2d0317eSLorenzo Bianconi    soc {
53e2d0317eSLorenzo Bianconi        #address-cells = <2>;
54e2d0317eSLorenzo Bianconi        #size-cells = <2>;
55e2d0317eSLorenzo Bianconi
56e2d0317eSLorenzo Bianconi        phy@11e80000 {
57e2d0317eSLorenzo Bianconi            compatible = "airoha,en7581-pcie-phy";
58e2d0317eSLorenzo Bianconi            #phy-cells = <0>;
59e2d0317eSLorenzo Bianconi            reg = <0x0 0x1fa5a000 0x0 0xfff>,
60e2d0317eSLorenzo Bianconi                  <0x0 0x1fa5b000 0x0 0xfff>,
61*5854d0aaSLorenzo Bianconi                  <0x0 0x1fa5c000 0x0 0xfff>,
62*5854d0aaSLorenzo Bianconi                  <0x0 0x1fc10044 0x0 0x4>,
63*5854d0aaSLorenzo Bianconi                  <0x0 0x1fc30044 0x0 0x4>,
64*5854d0aaSLorenzo Bianconi                  <0x0 0x1fc15030 0x0 0x104>;
65*5854d0aaSLorenzo Bianconi            reg-names = "csr-2l", "pma0", "pma1",
66*5854d0aaSLorenzo Bianconi                        "p0-xr-dtime", "p1-xr-dtime",
67*5854d0aaSLorenzo Bianconi                        "rx-aeq";
68e2d0317eSLorenzo Bianconi        };
69e2d0317eSLorenzo Bianconi    };
70