Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/usb-hcd.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Generic USB Host Controller Device Tree Bindings
0008 
0009 maintainers:
0010   - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
0011 
0012 allOf:
0013   - $ref: usb.yaml#
0014 
0015 properties:
0016   companion:
0017     description: Phandle of a companion device
0018     $ref: /schemas/types.yaml#/definitions/phandle
0019 
0020   tpl-support:
0021     description:
0022       Indicates if the Targeted Peripheral List is supported for given
0023       targeted hosts (non-PC hosts).
0024     type: boolean
0025 
0026   "#address-cells":
0027     const: 1
0028 
0029   "#size-cells":
0030     const: 0
0031 
0032 patternProperties:
0033   "^.*@[0-9a-f]{1,2}$":
0034     description: The hard wired USB devices
0035     type: object
0036     $ref: /schemas/usb/usb-device.yaml
0037 
0038 additionalProperties: true
0039 
0040 examples:
0041   - |
0042     usb {
0043         phys = <&usb2_phy1>, <&usb3_phy1>;
0044         phy-names = "usb";
0045         #address-cells = <1>;
0046         #size-cells = <0>;
0047 
0048         hub@1 {
0049             compatible = "usb5e3,610";
0050             reg = <1>;
0051         };
0052     };