1636a0e4bSRemi Pommarel# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2636a0e4bSRemi Pommarel%YAML 1.2
3636a0e4bSRemi Pommarel---
4636a0e4bSRemi Pommarel$id: "http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#"
5636a0e4bSRemi Pommarel$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6636a0e4bSRemi Pommarel
7636a0e4bSRemi Pommareltitle: Amlogic AXG PCIE PHY
8636a0e4bSRemi Pommarel
9636a0e4bSRemi Pommarelmaintainers:
10636a0e4bSRemi Pommarel  - Remi Pommarel <repk@triplefau.lt>
11636a0e4bSRemi Pommarel
12636a0e4bSRemi Pommarelproperties:
13636a0e4bSRemi Pommarel  compatible:
14636a0e4bSRemi Pommarel    const: amlogic,axg-pcie-phy
15636a0e4bSRemi Pommarel
16636a0e4bSRemi Pommarel  reg:
17636a0e4bSRemi Pommarel    maxItems: 1
18636a0e4bSRemi Pommarel
19636a0e4bSRemi Pommarel  resets:
20636a0e4bSRemi Pommarel    maxItems: 1
21636a0e4bSRemi Pommarel
22636a0e4bSRemi Pommarel  phys:
23636a0e4bSRemi Pommarel    maxItems: 1
24636a0e4bSRemi Pommarel
25636a0e4bSRemi Pommarel  phy-names:
26636a0e4bSRemi Pommarel    const: analog
27636a0e4bSRemi Pommarel
28636a0e4bSRemi Pommarel  "#phy-cells":
29636a0e4bSRemi Pommarel    const: 0
30636a0e4bSRemi Pommarel
31636a0e4bSRemi Pommarelrequired:
32636a0e4bSRemi Pommarel  - compatible
33636a0e4bSRemi Pommarel  - reg
34636a0e4bSRemi Pommarel  - phys
35636a0e4bSRemi Pommarel  - phy-names
36636a0e4bSRemi Pommarel  - resets
37636a0e4bSRemi Pommarel  - "#phy-cells"
38636a0e4bSRemi Pommarel
39636a0e4bSRemi PommareladditionalProperties: false
40636a0e4bSRemi Pommarel
41636a0e4bSRemi Pommarelexamples:
42636a0e4bSRemi Pommarel  - |
43636a0e4bSRemi Pommarel    #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
44636a0e4bSRemi Pommarel    #include <dt-bindings/phy/phy.h>
45636a0e4bSRemi Pommarel    pcie_phy: pcie-phy@ff644000 {
46636a0e4bSRemi Pommarel          compatible = "amlogic,axg-pcie-phy";
47fba56184SRob Herring          reg = <0xff644000 0x1c>;
48636a0e4bSRemi Pommarel          resets = <&reset RESET_PCIE_PHY>;
49636a0e4bSRemi Pommarel          phys = <&mipi_analog_phy PHY_TYPE_PCIE>;
50636a0e4bSRemi Pommarel          phy-names = "analog";
51636a0e4bSRemi Pommarel          #phy-cells = <0>;
52636a0e4bSRemi Pommarel    };
53