1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/ti,usb8041.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI USB8041 and USB8044 USB 3.0 hub controllers 8 9maintainers: 10 - Alexander Stein <alexander.stein@ew.tq-group.com> 11 12allOf: 13 - $ref: usb-device.yaml# 14 15properties: 16 compatible: 17 enum: 18 - usb451,8140 19 - usb451,8142 20 - usb451,8440 21 - usb451,8442 22 23 reg: true 24 25 reset-gpios: 26 items: 27 - description: GPIO specifier for GRST# pin. 28 29 vdd-supply: 30 description: 31 VDD power supply to the hub 32 33 peer-hub: 34 $ref: /schemas/types.yaml#/definitions/phandle 35 description: 36 phandle to the peer hub on the controller. 37 38required: 39 - compatible 40 - reg 41 - peer-hub 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/gpio/gpio.h> 48 49 usb { 50 dr_mode = "host"; 51 #address-cells = <1>; 52 #size-cells = <0>; 53 54 /* 2.0 hub on port 1 */ 55 hub_2_0: hub@1 { 56 compatible = "usb451,8142"; 57 reg = <1>; 58 peer-hub = <&hub_3_0>; 59 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 60 }; 61 62 /* 3.0 hub on port 2 */ 63 hub_3_0: hub@2 { 64 compatible = "usb451,8140"; 65 reg = <2>; 66 peer-hub = <&hub_2_0>; 67 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 68 }; 69 }; 70