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