xref: /freebsd/sys/contrib/device-tree/Bindings/usb/usb-hcd.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/usb-hcd.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Generic USB Host Controller
8
9maintainers:
10  - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11
12allOf:
13  - $ref: usb.yaml#
14
15properties:
16  companion:
17    description: Phandle of a companion device
18    $ref: /schemas/types.yaml#/definitions/phandle
19
20  tpl-support:
21    description:
22      Indicates if the Targeted Peripheral List is supported for given
23      targeted hosts (non-PC hosts).
24    type: boolean
25
26  "#address-cells":
27    const: 1
28
29  "#size-cells":
30    const: 0
31
32patternProperties:
33  "^.*@[0-9a-f]{1,2}$":
34    description: The hard wired USB devices
35    type: object
36    $ref: /schemas/usb/usb-device.yaml
37
38additionalProperties: true
39
40examples:
41  - |
42    usb {
43        phys = <&usb2_phy1>, <&usb3_phy1>;
44        phy-names = "usb";
45        #address-cells = <1>;
46        #size-cells = <0>;
47
48        hub@1 {
49            compatible = "usb5e3,610";
50            reg = <1>;
51        };
52    };
53