Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/usb/ti,usb8041.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Binding for the TI USB8041 USB 3.0 hub controller
0008 
0009 maintainers:
0010   - Alexander Stein <alexander.stein@ew.tq-group.com>
0011 
0012 allOf:
0013   - $ref: usb-device.yaml#
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - usb451,8140
0019       - usb451,8142
0020 
0021   reg: true
0022 
0023   reset-gpios:
0024     items:
0025       - description: GPIO specifier for GRST# pin.
0026 
0027   vdd-supply:
0028     description:
0029       VDD power supply to the hub
0030 
0031   peer-hub:
0032     $ref: /schemas/types.yaml#/definitions/phandle
0033     description:
0034       phandle to the peer hub on the controller.
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - peer-hub
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     #include <dt-bindings/gpio/gpio.h>
0046 
0047     usb {
0048         dr_mode = "host";
0049         #address-cells = <1>;
0050         #size-cells = <0>;
0051 
0052         /* 2.0 hub on port 1 */
0053         hub_2_0: hub@1 {
0054           compatible = "usb451,8142";
0055           reg = <1>;
0056           peer-hub = <&hub_3_0>;
0057           reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
0058         };
0059 
0060         /* 3.0 hub on port 2 */
0061         hub_3_0: hub@2 {
0062           compatible = "usb451,8140";
0063           reg = <2>;
0064           peer-hub = <&hub_2_0>;
0065           reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
0066         };
0067     };