77 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---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 family8 9maintainers:10 - Benjamin Bara <benjamin.bara@skidata.com>11 12allOf:13 - $ref: usb-device.yaml#14 15properties:16 compatible:17 enum:18 - usb4b4,650419 - usb4b4,650620 21 reg: true22 23 reset-gpios:24 items:25 - description: GPIO specifier for RESETN pin.26 27 vdd-supply:28 description:29 1V2 power supply (VDD_EFUSE, AVDD12, DVDD12).30 31 vdd2-supply:32 description:33 3V3 power supply (AVDD33, VDD_IO).34 35 peer-hub:36 $ref: /schemas/types.yaml#/definitions/phandle37 description:38 phandle to the peer hub on the controller.39 40required:41 - compatible42 - reg43 - peer-hub44 - vdd-supply45 - vdd2-supply46 47additionalProperties: false48 49examples:50 - |51 #include <dt-bindings/gpio/gpio.h>52 53 usb {54 #address-cells = <1>;55 #size-cells = <0>;56 57 /* 2.0 hub on port 1 */58 hub_2_0: hub@1 {59 compatible = "usb4b4,6504";60 reg = <1>;61 peer-hub = <&hub_3_0>;62 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;63 vdd-supply = <®_1v2_usb>;64 vdd2-supply = <®_3v3_usb>;65 };66 67 /* 3.0 hub on port 2 */68 hub_3_0: hub@2 {69 compatible = "usb4b4,6506";70 reg = <2>;71 peer-hub = <&hub_2_0>;72 reset-gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;73 vdd-supply = <®_1v2_usb>;74 vdd2-supply = <®_3v3_usb>;75 };76 };77