| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/phy/brcm,sr-pcie-phy.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Broadcom Stingray PCIe PHY |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Ray Jui <[email protected]> |
| 11 |
|
| 12 |
description: > |
| 13 |
For PAXB based root complex, one can have a configuration of up to 8 PHYs. |
| 14 |
PHY index goes from 0 to 7. |
| 15 |
|
| 16 |
For the internal PAXC based root complex, PHY index is always 8. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: brcm,sr-pcie-phy |
| 21 |
|
| 22 |
reg: |
| 23 |
maxItems: 1 |
| 24 |
|
| 25 |
'#phy-cells': |
| 26 |
const: 1 |
| 27 |
|
| 28 |
brcm,sr-cdru: |
| 29 |
description: phandle to the CDRU syscon node |
| 30 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 31 |
|
| 32 |
brcm,sr-mhb: |
| 33 |
description: phandle to the MHB syscon node |
| 34 |
$ref: /schemas/types.yaml#/definitions/phandle |
| 35 |
|
| 36 |
additionalProperties: false |
| 37 |
|
| 38 |
examples: |
| 39 |
- | |
| 40 |
phy@40000000 { |
| 41 |
compatible = "brcm,sr-pcie-phy"; |
| 42 |
reg = <0x40000000 0x800>; |
| 43 |
brcm,sr-cdru = <&cdru>; |
| 44 |
brcm,sr-mhb = <&mhb>; |
| 45 |
#phy-cells = <1>; |
| 46 |
}; |