| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2019 Arm Ltd. |
| 3 |
$id: http://devicetree.org/schemas/phy/phy-provider.yaml# |
| 4 |
$schema: http://devicetree.org/meta-schemas/base.yaml# |
| 5 |
|
| 6 |
title: PHY Provider Common Properties |
| 7 |
|
| 8 |
maintainers: |
| 9 |
- Rob Herring <[email protected]> |
| 10 |
|
| 11 |
# always select the core schema |
| 12 |
select: true |
| 13 |
|
| 14 |
properties: |
| 15 |
# Recommended node names: (|usb-|usb2-|usb3-|pci-|pcie-|sata-)phy |
| 16 |
|
| 17 |
"#phy-cells": true |
| 18 |
|
| 19 |
phy-supply: true |
| 20 |
|
| 21 |
phy-type: |
| 22 |
description: Some PHYs can operate in multiple modes. This sets the operating |
| 23 |
mode of the PHY. This only works for PHY providers with a single PHY as |
| 24 |
this only allows 1 mode. For instances with multiple PHYs, the mode can be |
| 25 |
set in the PHY cells. |
| 26 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 27 |
minimum: 1 |
| 28 |
maximum: 32 |
| 29 |
|
| 30 |
dependentRequired: |
| 31 |
phy-type: [ '#phy-cells' ] |
| 32 |
|
| 33 |
additionalProperties: true |
| 34 |
|
| 35 |
... |