xref: /freebsd/sys/contrib/device-tree/Bindings/phy/brcm,sr-usb-combo-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-usb-combo-phy.yaml#
5*833e5d42SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadottitle: Broadcom Stingray USB PHY
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadotmaintainers:
10*833e5d42SEmmanuel Vadot  - Ray Jui <rjui@broadcom.com>
11*833e5d42SEmmanuel Vadot  - Scott Branden <sbranden@broadcom.com>
12*833e5d42SEmmanuel Vadot
13*833e5d42SEmmanuel Vadotproperties:
14*833e5d42SEmmanuel Vadot  compatible:
15*833e5d42SEmmanuel Vadot    enum:
16*833e5d42SEmmanuel Vadot      - brcm,sr-usb-combo-phy
17*833e5d42SEmmanuel Vadot      - brcm,sr-usb-hs-phy
18*833e5d42SEmmanuel Vadot
19*833e5d42SEmmanuel Vadot  reg:
20*833e5d42SEmmanuel Vadot    maxItems: 1
21*833e5d42SEmmanuel Vadot
22*833e5d42SEmmanuel Vadot  '#phy-cells':
23*833e5d42SEmmanuel Vadot    description: PHY cell count indicating PHY type
24*833e5d42SEmmanuel Vadot    enum: [ 0, 1 ]
25*833e5d42SEmmanuel Vadot
26*833e5d42SEmmanuel Vadotrequired:
27*833e5d42SEmmanuel Vadot  - compatible
28*833e5d42SEmmanuel Vadot  - reg
29*833e5d42SEmmanuel Vadot  - '#phy-cells'
30*833e5d42SEmmanuel Vadot
31*833e5d42SEmmanuel VadotallOf:
32*833e5d42SEmmanuel Vadot  - if:
33*833e5d42SEmmanuel Vadot      properties:
34*833e5d42SEmmanuel Vadot        compatible:
35*833e5d42SEmmanuel Vadot          contains:
36*833e5d42SEmmanuel Vadot            const: brcm,sr-usb-combo-phy
37*833e5d42SEmmanuel Vadot    then:
38*833e5d42SEmmanuel Vadot      properties:
39*833e5d42SEmmanuel Vadot        '#phy-cells':
40*833e5d42SEmmanuel Vadot          const: 1
41*833e5d42SEmmanuel Vadot  - if:
42*833e5d42SEmmanuel Vadot      properties:
43*833e5d42SEmmanuel Vadot        compatible:
44*833e5d42SEmmanuel Vadot          contains:
45*833e5d42SEmmanuel Vadot            const: brcm,sr-usb-hs-phy
46*833e5d42SEmmanuel Vadot    then:
47*833e5d42SEmmanuel Vadot      properties:
48*833e5d42SEmmanuel Vadot        '#phy-cells':
49*833e5d42SEmmanuel Vadot          const: 0
50*833e5d42SEmmanuel Vadot
51*833e5d42SEmmanuel VadotadditionalProperties: false
52*833e5d42SEmmanuel Vadot
53*833e5d42SEmmanuel Vadotexamples:
54*833e5d42SEmmanuel Vadot  - |
55*833e5d42SEmmanuel Vadot    usb-phy@0 {
56*833e5d42SEmmanuel Vadot        compatible = "brcm,sr-usb-combo-phy";
57*833e5d42SEmmanuel Vadot        reg = <0x00000000 0x100>;
58*833e5d42SEmmanuel Vadot        #phy-cells = <1>;
59*833e5d42SEmmanuel Vadot    };
60*833e5d42SEmmanuel Vadot  - |
61*833e5d42SEmmanuel Vadot    usb-phy@20000 {
62*833e5d42SEmmanuel Vadot        compatible = "brcm,sr-usb-hs-phy";
63*833e5d42SEmmanuel Vadot        reg = <0x00020000 0x100>;
64*833e5d42SEmmanuel Vadot        #phy-cells = <0>;
65*833e5d42SEmmanuel Vadot    };
66