summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/phy/mediatek,mt7621-pci-phy.yaml
blob: 29d4123323c2a066d0501ef8eda1beb089784ba6 (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
# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
%YAML 1.2
---
$id: "http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#"
$schema: "http://devicetree.org/meta-schemas/core.yaml#"

title: Mediatek Mt7621 PCIe PHY Device Tree Bindings

maintainers:
  - Sergio Paracuellos <sergio.paracuellos@gmail.com>

properties:
  compatible:
    const: mediatek,mt7621-pci-phy

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  "#phy-cells":
    const: 1
    description: selects if the phy is dual-ported

required:
  - compatible
  - reg
  - clocks
  - "#phy-cells"

additionalProperties: false

examples:
  - |
    pcie0_phy: pcie-phy@1e149000 {
      compatible = "mediatek,mt7621-pci-phy";
      reg = <0x1e149000 0x0700>;
      clocks = <&sysc 0>;
      #phy-cells = <1>;
    };