| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/st,spear1310-miphy.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: ST SPEAr miphy |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Pratyush Anand <[email protected]> |
| 11 |
|
| 12 |
description: |
| 13 |
ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
enum: |
| 18 |
- st,spear1310-miphy |
| 19 |
- st,spear1340-miphy |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
misc: |
| 25 |
description: Phandle for the syscon node to access misc registers. |
| 26 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 27 |
|
| 28 |
'#phy-cells': |
| 29 |
description: > |
| 30 |
Cell[0] indicates interface type: 0 = SATA, 1 = PCIe. |
| 31 |
const: 1 |
| 32 |
|
| 33 |
phy-id: |
| 34 |
description: Instance id of the phy. Required when multiple PHYs are present. |
| 35 |
$ref: /schemas/types.yaml#/definitions/uint32 |
| 36 |
|
| 37 |
required: |
| 38 |
- compatible |
| 39 |
- reg |
| 40 |
- misc |
| 41 |
- '#phy-cells' |
| 42 |
|
| 43 |
additionalProperties: false |
| 44 |
|
| 45 |
examples: |
| 46 |
- | |
| 47 |
miphy@1000 { |
| 48 |
compatible = "st,spear1310-miphy"; |
| 49 |
reg = <0x1000 0x100>; |
| 50 |
misc = <&syscon>; |
| 51 |
#phy-cells = <1>; |
| 52 |
phy-id = <0>; |
| 53 |
}; |