blob: e44e88d993d0bfc072aa40b678af91d79f45f793 [file] [log] [blame]
Tom Rini6bb92fc2024-05-20 09:54:58 -06001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Tom Rini53633a82024-02-29 12:33:36 -05002%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 enum:
18 - usb4b4,6504
19 - usb4b4,6506
20
21 reg: true
22
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/phandle
37 description:
38 phandle to the peer hub on the controller.
39
40required:
41 - compatible
42 - reg
43 - peer-hub
44 - vdd-supply
45 - vdd2-supply
46
47additionalProperties: false
48
49examples:
50 - |
51 #include <dt-bindings/gpio/gpio.h>
52
53 usb {
Tom Rini53633a82024-02-29 12:33:36 -050054 #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 = <&reg_1v2_usb>;
64 vdd2-supply = <&reg_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 = <&reg_1v2_usb>;
74 vdd2-supply = <&reg_3v3_usb>;
75 };
76 };