0001 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: "http://devicetree.org/schemas/phy/mediatek,mt7621-pci-phy.yaml#"
0005 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
0006
0007 title: Mediatek Mt7621 PCIe PHY Device Tree Bindings
0008
0009 maintainers:
0010 - Sergio Paracuellos <sergio.paracuellos@gmail.com>
0011
0012 properties:
0013 compatible:
0014 const: mediatek,mt7621-pci-phy
0015
0016 reg:
0017 maxItems: 1
0018
0019 clocks:
0020 maxItems: 1
0021
0022 "#phy-cells":
0023 const: 1
0024 description: selects if the phy is dual-ported
0025
0026 required:
0027 - compatible
0028 - reg
0029 - clocks
0030 - "#phy-cells"
0031
0032 additionalProperties: false
0033
0034 examples:
0035 - |
0036 pcie0_phy: pcie-phy@1e149000 {
0037 compatible = "mediatek,mt7621-pci-phy";
0038 reg = <0x1e149000 0x0700>;
0039 clocks = <&sysc 0>;
0040 #phy-cells = <1>;
0041 };