xref: /linux/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml (revision 4b2b7b1e8730d51542c62ba75dabeb52243dfb49)
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
32  peer-hub:
33    $ref: /schemas/types.yaml#/definitions/phandle
34    description:
35      phandle to the peer hub on the controller.
36
37required:
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    };
57