xref: /freebsd/sys/contrib/device-tree/Bindings/usb/brcm,bdc.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/brcm,bdc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom USB Device Controller (BDC)
8
9maintainers:
10  - Al Cooper <alcooperx@gmail.com>
11  - Florian Fainelli <f.fainelli@gmail.com>
12
13properties:
14  compatible:
15    items:
16      - enum:
17          - brcm,bdc-udc-v2
18          - brcm,bdc
19
20  reg:
21    maxItems: 1
22
23  interrupts:
24    maxItems: 1
25
26  phys:
27    minItems: 1
28    items:
29      - description: USB 2.0 or 3.0 PHY
30      - description: USB 3.0 PHY if there is a dedicated 2.0 PHY
31
32  clocks:
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38  - interrupts
39
40additionalProperties: false
41
42examples:
43  - |
44        usb@f0b02000 {
45                compatible = "brcm,bdc-udc-v2";
46                reg = <0xf0b02000 0xfc4>;
47                interrupts = <0x0 0x60 0x0>;
48                phys = <&usbphy_0 0x0>;
49                clocks = <&sw_usbd>;
50        };
51