summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/phy/amlogic,meson-axg-pcie.yaml
blob: 45f3d72b1ccade27e3de6e43ae7eb4f349e3659f (plain)
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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Amlogic AXG PCIE PHY

maintainers:
  - Remi Pommarel <repk@triplefau.lt>

properties:
  compatible:
    const: amlogic,axg-pcie-phy

  reg:
    maxItems: 1

  resets:
    maxItems: 1

  phys:
    maxItems: 1

  phy-names:
    const: analog

  "#phy-cells":
    const: 0

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

additionalProperties: false

examples:
  - |
    #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
    #include <dt-bindings/phy/phy.h>
    pcie_phy: pcie-phy@ff644000 {
          compatible = "amlogic,axg-pcie-phy";
          reg = <0xff644000 0x1c>;
          resets = <&reset RESET_PCIE_PHY>;
          phys = <&mipi_analog_phy PHY_TYPE_PCIE>;
          phy-names = "analog";
          #phy-cells = <0>;
    };