Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Generic USB Host Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: usb.yaml# |
| 14 | |
| 15 | properties: |
| 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 | |
| 32 | patternProperties: |
| 33 | "^.*@[0-9a-f]{1,2}$": |
| 34 | description: The hard wired USB devices |
| 35 | type: object |
| 36 | $ref: /schemas/usb/usb-device.yaml |
| 37 | |
| 38 | additionalProperties: true |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | usb { |
| 43 | phys = <&usb2_phy1>, <&usb3_phy1>; |
| 44 | phy-names = "usb2", "usb3"; |
| 45 | #address-cells = <1>; |
| 46 | #size-cells = <0>; |
| 47 | |
| 48 | hub@1 { |
| 49 | compatible = "usb5e3,610"; |
| 50 | reg = <1>; |
| 51 | }; |
| 52 | }; |