Skip to content

Commit 27076a7

Browse files
parakavinodkoul
authored andcommitted
dt-bindings: phy: Add binding for Mediatek MT7621 PCIe PHY
Add bindings to describe Mediatek MT7621 PCIe PHY. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20201121155037.21354-2-sergio.paracuellos@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent bf4d01e commit 27076a7

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
7+
title: Mediatek Mt7621 PCIe PHY Device Tree Bindings
8+
9+
maintainers:
10+
- Sergio Paracuellos <sergio.paracuellos@gmail.com>
11+
12+
properties:
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+
23+
required:
24+
- compatible
25+
- reg
26+
- "#phy-cells"
27+
28+
additionalProperties: false
29+
30+
examples:
31+
- |
32+
pcie0_phy: pcie-phy@1e149000 {
33+
compatible = "mediatek,mt7621-pci-phy";
34+
reg = <0x1e149000 0x0700>;
35+
#phy-cells = <1>;
36+
};

0 commit comments

Comments
 (0)