1# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/cypress,hx3.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Cypress HX3 USB 3.0 hub controller family 8 9maintainers: 10 - Benjamin Bara <benjamin.bara@skidata.com> 11 12allOf: 13 - $ref: usb-device.yaml# 14 15properties: 16 compatible: 17 oneOf: 18 - enum: 19 - usb4b4,6504 20 - usb4b4,6506 21 - items: 22 - enum: 23 - usb4b4,6500 24 - usb4b4,6508 25 - const: usb4b4,6504 26 - items: 27 - enum: 28 - usb4b4,6502 29 - usb4b4,6503 30 - usb4b4,6507 31 - usb4b4,650a 32 - const: usb4b4,6506 33 34 reg: true 35 36 reset-gpios: 37 items: 38 - description: GPIO specifier for RESETN pin. 39 40 vdd-supply: 41 description: 42 1V2 power supply (VDD_EFUSE, AVDD12, DVDD12). 43 44 vdd2-supply: 45 description: 46 3V3 power supply (AVDD33, VDD_IO). 47 48 peer-hub: 49 $ref: /schemas/types.yaml#/definitions/phandle 50 description: 51 phandle to the peer hub on the controller. 52 53required: 54 - compatible 55 - reg 56 - peer-hub 57 - vdd-supply 58 - vdd2-supply 59 60additionalProperties: false 61 62examples: 63 - | 64 #include <dt-bindings/gpio/gpio.h> 65 66 usb { 67 dr_mode = "host"; 68 #address-cells = <1>; 69 #size-cells = <0>; 70 71 /* 2.0 hub on port 1 */ 72 hub_2_0: hub@1 { 73 compatible = "usb4b4,6504"; 74 reg = <1>; 75 peer-hub = <&hub_3_0>; 76 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 77 vdd-supply = <®_1v2_usb>; 78 vdd2-supply = <®_3v3_usb>; 79 }; 80 81 /* 3.0 hub on port 2 */ 82 hub_3_0: hub@2 { 83 compatible = "usb4b4,6506"; 84 reg = <2>; 85 peer-hub = <&hub_2_0>; 86 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 87 vdd-supply = <®_1v2_usb>; 88 vdd2-supply = <®_3v3_usb>; 89 }; 90 }; 91