Debian Codegraph @

Documentation/devicetree/bindings/phy/brcm,sr-usb-combo-phy.yaml

raw
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-usb-combo-phy.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom Stingray USB PHY
8
9 maintainers:
10 - Ray Jui <[email protected]>
11 - Scott Branden <[email protected]>
12
13 properties:
14 compatible:
15 enum:
16 - brcm,sr-usb-combo-phy
17 - brcm,sr-usb-hs-phy
18
19 reg:
20 maxItems: 1
21
22 '#phy-cells':
23 description: PHY cell count indicating PHY type
24 enum: [ 0, 1 ]
25
26 required:
27 - compatible
28 - reg
29 - '#phy-cells'
30
31 allOf:
32 - if:
33 properties:
34 compatible:
35 contains:
36 const: brcm,sr-usb-combo-phy
37 then:
38 properties:
39 '#phy-cells':
40 const: 1
41 - if:
42 properties:
43 compatible:
44 contains:
45 const: brcm,sr-usb-hs-phy
46 then:
47 properties:
48 '#phy-cells':
49 const: 0
50
51 additionalProperties: false
52
53 examples:
54 - |
55 usb-phy@0 {
56 compatible = "brcm,sr-usb-combo-phy";
57 reg = <0x00000000 0x100>;
58 #phy-cells = <1>;
59 };
60 - |
61 usb-phy@20000 {
62 compatible = "brcm,sr-usb-hs-phy";
63 reg = <0x00020000 0x100>;
64 #phy-cells = <0>;
65 };