xref: /freebsd/sys/contrib/device-tree/Bindings/usb/usb-hcd.yaml (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/usb/usb-hcd.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: Generic USB Host Controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
11c66ec88fSEmmanuel Vadot
125def4c47SEmmanuel VadotallOf:
135def4c47SEmmanuel Vadot  - $ref: usb.yaml#
145def4c47SEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  companion:
175def4c47SEmmanuel Vadot    description: Phandle of a companion device
185def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
19c66ec88fSEmmanuel Vadot
205def4c47SEmmanuel Vadot  tpl-support:
21c66ec88fSEmmanuel Vadot    description:
225def4c47SEmmanuel Vadot      Indicates if the Targeted Peripheral List is supported for given
235def4c47SEmmanuel Vadot      targeted hosts (non-PC hosts).
245def4c47SEmmanuel Vadot    type: boolean
25c66ec88fSEmmanuel Vadot
265def4c47SEmmanuel Vadot  "#address-cells":
275def4c47SEmmanuel Vadot    const: 1
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  "#size-cells":
305def4c47SEmmanuel Vadot    const: 0
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel VadotpatternProperties:
335def4c47SEmmanuel Vadot  "^.*@[0-9a-f]{1,2}$":
345def4c47SEmmanuel Vadot    description: The hard wired USB devices
355def4c47SEmmanuel Vadot    type: object
36c9ccf3a3SEmmanuel Vadot    $ref: /schemas/usb/usb-device.yaml
37c66ec88fSEmmanuel Vadot
386be33864SEmmanuel VadotadditionalProperties: true
396be33864SEmmanuel Vadot
40c66ec88fSEmmanuel Vadotexamples:
41c66ec88fSEmmanuel Vadot  - |
42c66ec88fSEmmanuel Vadot    usb {
43c66ec88fSEmmanuel Vadot        phys = <&usb2_phy1>, <&usb3_phy1>;
44*84943d6fSEmmanuel Vadot        phy-names = "usb2", "usb3";
455def4c47SEmmanuel Vadot        #address-cells = <1>;
465def4c47SEmmanuel Vadot        #size-cells = <0>;
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot        hub@1 {
495def4c47SEmmanuel Vadot            compatible = "usb5e3,610";
505def4c47SEmmanuel Vadot            reg = <1>;
515def4c47SEmmanuel Vadot        };
52c66ec88fSEmmanuel Vadot    };
53