xref: /freebsd/sys/contrib/device-tree/Bindings/usb/genesys,gl850g.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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 GL850G USB 2.0 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
21  reg: true
22
23  reset-gpios:
24    description: GPIO controlling the RESET# pin.
25
26  vdd-supply:
27    description:
28      the regulator that provides 3.3V core power to the hub.
29
30required:
31  - compatible
32  - reg
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/gpio/gpio.h>
39    usb {
40        dr_mode = "host";
41        #address-cells = <1>;
42        #size-cells = <0>;
43
44        hub: hub@1 {
45            compatible = "usb5e3,608";
46            reg = <1>;
47            reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
48        };
49    };
50