xref: /freebsd/sys/contrib/device-tree/Bindings/phy/amlogic,meson-axg-pcie.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/amlogic,meson-axg-pcie.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Amlogic AXG PCIE PHY
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Remi Pommarel <repk@triplefau.lt>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotproperties:
13c66ec88fSEmmanuel Vadot  compatible:
14c66ec88fSEmmanuel Vadot    const: amlogic,axg-pcie-phy
15c66ec88fSEmmanuel Vadot
16c66ec88fSEmmanuel Vadot  reg:
17c66ec88fSEmmanuel Vadot    maxItems: 1
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  resets:
20c66ec88fSEmmanuel Vadot    maxItems: 1
21c66ec88fSEmmanuel Vadot
22c66ec88fSEmmanuel Vadot  phys:
23c66ec88fSEmmanuel Vadot    maxItems: 1
24c66ec88fSEmmanuel Vadot
25c66ec88fSEmmanuel Vadot  phy-names:
26c66ec88fSEmmanuel Vadot    const: analog
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot  "#phy-cells":
29c66ec88fSEmmanuel Vadot    const: 0
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadotrequired:
32c66ec88fSEmmanuel Vadot  - compatible
33c66ec88fSEmmanuel Vadot  - reg
34c66ec88fSEmmanuel Vadot  - phys
35c66ec88fSEmmanuel Vadot  - phy-names
36c66ec88fSEmmanuel Vadot  - resets
37c66ec88fSEmmanuel Vadot  - "#phy-cells"
38c66ec88fSEmmanuel Vadot
39c66ec88fSEmmanuel VadotadditionalProperties: false
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadotexamples:
42c66ec88fSEmmanuel Vadot  - |
43c66ec88fSEmmanuel Vadot    #include <dt-bindings/reset/amlogic,meson-axg-reset.h>
44c66ec88fSEmmanuel Vadot    #include <dt-bindings/phy/phy.h>
45c66ec88fSEmmanuel Vadot    pcie_phy: pcie-phy@ff644000 {
46c66ec88fSEmmanuel Vadot          compatible = "amlogic,axg-pcie-phy";
47c66ec88fSEmmanuel Vadot          reg = <0xff644000 0x1c>;
48c66ec88fSEmmanuel Vadot          resets = <&reset RESET_PCIE_PHY>;
49c66ec88fSEmmanuel Vadot          phys = <&mipi_analog_phy PHY_TYPE_PCIE>;
50c66ec88fSEmmanuel Vadot          phy-names = "analog";
51c66ec88fSEmmanuel Vadot          #phy-cells = <0>;
52c66ec88fSEmmanuel Vadot    };
53