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