xref: /linux/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1# 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
32required:
33  - compatible
34  - reg
35
36additionalProperties: false
37
38examples:
39  - |
40    #include <dt-bindings/gpio/gpio.h>
41    usb {
42        dr_mode = "host";
43        #address-cells = <1>;
44        #size-cells = <0>;
45
46        hub: hub@1 {
47            compatible = "usb5e3,608";
48            reg = <1>;
49            reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
50        };
51    };
52