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