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 Device Tree Bindings
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  "#phy-cells":
20    const: 1
21    description: selects if the phy is dual-ported
22
23required:
24  - compatible
25  - reg
26  - "#phy-cells"
27
28additionalProperties: false
29
30examples:
31  - |
32    pcie0_phy: pcie-phy@1e149000 {
33      compatible = "mediatek,mt7621-pci-phy";
34      reg = <0x1e149000 0x0700>;
35      #phy-cells = <1>;
36    };
37