blob: 37cf5249e526bb8ebce78d12ba228b3f460e218c [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Genesys Logic USB hub controller
8
9maintainers:
10 - Icenowy Zheng <uwu@icenowy.me>
11
12allOf:
13 - $ref: usb-device.yaml#
14
15properties:
16 compatible:
17 enum:
18 - usb5e3,608
19 - usb5e3,610
20 - usb5e3,620
21 - usb5e3,626
22
23 reg: true
24
25 reset-gpios:
26 description: GPIO controlling the RESET# pin.
27
28 vdd-supply:
29 description:
30 the regulator that provides 3.3V core power to the hub.
31
Tom Rini93743d22024-04-01 09:08:13 -040032 peer-hub:
33 $ref: /schemas/types.yaml#/definitions/phandle
34 description:
35 phandle to the peer hub on the controller.
36
Tom Rini53633a82024-02-29 12:33:36 -050037required:
38 - compatible
39 - reg
40
41additionalProperties: false
42
43examples:
44 - |
45 #include <dt-bindings/gpio/gpio.h>
46 usb {
47 dr_mode = "host";
48 #address-cells = <1>;
49 #size-cells = <0>;
50
51 hub: hub@1 {
52 compatible = "usb5e3,608";
53 reg = <1>;
54 reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
55 };
56 };