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/cypress 4 $id: http://devicetree.org/schemas/usb/cypress,hx3.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Cypress HX3 USB 3.0 hub controller fami 7 title: Cypress HX3 USB 3.0 hub controller family 8 8 9 maintainers: 9 maintainers: 10 - Benjamin Bara <benjamin.bara@skidata.com> 10 - Benjamin Bara <benjamin.bara@skidata.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 - usb4b4,6504 18 - usb4b4,6504 19 - usb4b4,6506 19 - usb4b4,6506 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 RESETN 25 - description: GPIO specifier for RESETN pin. 26 26 27 vdd-supply: 27 vdd-supply: 28 description: 28 description: 29 1V2 power supply (VDD_EFUSE, AVDD12, DVD 29 1V2 power supply (VDD_EFUSE, AVDD12, DVDD12). 30 30 31 vdd2-supply: 31 vdd2-supply: 32 description: 32 description: 33 3V3 power supply (AVDD33, VDD_IO). 33 3V3 power supply (AVDD33, VDD_IO). 34 34 35 peer-hub: 35 peer-hub: 36 $ref: /schemas/types.yaml#/definitions/pha 36 $ref: /schemas/types.yaml#/definitions/phandle 37 description: 37 description: 38 phandle to the peer hub on the controlle 38 phandle to the peer hub on the controller. 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - peer-hub 43 - peer-hub 44 - vdd-supply 44 - vdd-supply 45 - vdd2-supply 45 - vdd2-supply 46 46 47 additionalProperties: false 47 additionalProperties: false 48 48 49 examples: 49 examples: 50 - | 50 - | 51 #include <dt-bindings/gpio/gpio.h> 51 #include <dt-bindings/gpio/gpio.h> 52 52 53 usb { 53 usb { 54 #address-cells = <1>; 54 #address-cells = <1>; 55 #size-cells = <0>; 55 #size-cells = <0>; 56 56 57 /* 2.0 hub on port 1 */ 57 /* 2.0 hub on port 1 */ 58 hub_2_0: hub@1 { 58 hub_2_0: hub@1 { 59 compatible = "usb4b4,6504"; 59 compatible = "usb4b4,6504"; 60 reg = <1>; 60 reg = <1>; 61 peer-hub = <&hub_3_0>; 61 peer-hub = <&hub_3_0>; 62 reset-gpios = <&gpio1 11 GPIO_ACTIVE 62 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 63 vdd-supply = <®_1v2_usb>; 63 vdd-supply = <®_1v2_usb>; 64 vdd2-supply = <®_3v3_usb>; 64 vdd2-supply = <®_3v3_usb>; 65 }; 65 }; 66 66 67 /* 3.0 hub on port 2 */ 67 /* 3.0 hub on port 2 */ 68 hub_3_0: hub@2 { 68 hub_3_0: hub@2 { 69 compatible = "usb4b4,6506"; 69 compatible = "usb4b4,6506"; 70 reg = <2>; 70 reg = <2>; 71 peer-hub = <&hub_2_0>; 71 peer-hub = <&hub_2_0>; 72 reset-gpios = <&gpio1 11 GPIO_ACTIVE 72 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 73 vdd-supply = <®_1v2_usb>; 73 vdd-supply = <®_1v2_usb>; 74 vdd2-supply = <®_3v3_usb>; 74 vdd2-supply = <®_3v3_usb>; 75 }; 75 }; 76 }; 76 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.