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