1# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Mediatek Mt7621 PCIe PHY
8
9maintainers:
10  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
11
12properties:
13  compatible:
14    const: mediatek,mt7621-pci-phy
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 1
21
22  "#phy-cells":
23    const: 1
24    description: selects if the phy is dual-ported
25
26required:
27  - compatible
28  - reg
29  - clocks
30  - "#phy-cells"
31
32additionalProperties: false
33
34examples:
35  - |
36    pcie0_phy: pcie-phy@1e149000 {
37      compatible = "mediatek,mt7621-pci-phy";
38      reg = <0x1e149000 0x0700>;
39      clocks = <&sysc 0>;
40      #phy-cells = <1>;
41    };
42