Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Broadcom USB Device Controller (BDC) |
| 8 | |
| 9 | maintainers: |
| 10 | - Al Cooper <alcooperx@gmail.com> |
| 11 | - Florian Fainelli <f.fainelli@gmail.com> |
| 12 | |
| 13 | properties: |
| 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 | |
| 35 | required: |
| 36 | - compatible |
| 37 | - reg |
| 38 | - interrupts |
| 39 | |
| 40 | additionalProperties: false |
| 41 | |
| 42 | examples: |
| 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 | }; |