summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/phy/brcm,sr-pcie-phy.yaml
blob: 60ccc0813ed543c50c44f0cf976c8b0c972013ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/phy/brcm,sr-pcie-phy.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Broadcom Stingray PCIe PHY

maintainers:
  - Ray Jui <ray.jui@broadcom.com>

description: >
  For PAXB based root complex, one can have a configuration of up to 8 PHYs.
  PHY index goes from 0 to 7.

  For the internal PAXC based root complex, PHY index is always 8.

properties:
  compatible:
    const: brcm,sr-pcie-phy

  reg:
    maxItems: 1

  '#phy-cells':
    const: 1

  brcm,sr-cdru:
    description: phandle to the CDRU syscon node
    $ref: /schemas/types.yaml#/definitions/phandle

  brcm,sr-mhb:
    description: phandle to the MHB syscon node
    $ref: /schemas/types.yaml#/definitions/phandle

additionalProperties: false

examples:
  - |
    phy@40000000 {
        compatible = "brcm,sr-pcie-phy";
        reg = <0x40000000 0x800>;
        brcm,sr-cdru = <&cdru>;
        brcm,sr-mhb = <&mhb>;
        #phy-cells = <1>;
    };