Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 |
| 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 | clocks: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | "#phy-cells": |
| 23 | const: 1 |
| 24 | description: selects if the phy is dual-ported |
| 25 | |
| 26 | required: |
| 27 | - compatible |
| 28 | - reg |
| 29 | - clocks |
| 30 | - "#phy-cells" |
| 31 | |
| 32 | additionalProperties: false |
| 33 | |
| 34 | examples: |
| 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 | }; |