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