xref: /openbmc/linux/Documentation/devicetree/bindings/usb/genesys,gl850g.yaml (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1*440b075bSKrzysztof Kozlowski# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
24e3a4fcdSIcenowy Zheng%YAML 1.2
34e3a4fcdSIcenowy Zheng---
44e3a4fcdSIcenowy Zheng$id: http://devicetree.org/schemas/usb/genesys,gl850g.yaml#
54e3a4fcdSIcenowy Zheng$schema: http://devicetree.org/meta-schemas/core.yaml#
64e3a4fcdSIcenowy Zheng
74e3a4fcdSIcenowy Zhengtitle: Genesys Logic GL850G USB 2.0 hub controller
84e3a4fcdSIcenowy Zheng
94e3a4fcdSIcenowy Zhengmaintainers:
104e3a4fcdSIcenowy Zheng  - Icenowy Zheng <uwu@icenowy.me>
114e3a4fcdSIcenowy Zheng
124e3a4fcdSIcenowy ZhengallOf:
134e3a4fcdSIcenowy Zheng  - $ref: usb-device.yaml#
144e3a4fcdSIcenowy Zheng
154e3a4fcdSIcenowy Zhengproperties:
164e3a4fcdSIcenowy Zheng  compatible:
174e3a4fcdSIcenowy Zheng    enum:
184e3a4fcdSIcenowy Zheng      - usb5e3,608
19b7265414SAnand Moon      - usb5e3,610
204939a045SMarco Felsch      - usb5e3,620
214e3a4fcdSIcenowy Zheng
224e3a4fcdSIcenowy Zheng  reg: true
234e3a4fcdSIcenowy Zheng
244e3a4fcdSIcenowy Zheng  reset-gpios:
254e3a4fcdSIcenowy Zheng    description: GPIO controlling the RESET# pin.
264e3a4fcdSIcenowy Zheng
274e3a4fcdSIcenowy Zheng  vdd-supply:
284e3a4fcdSIcenowy Zheng    description:
294e3a4fcdSIcenowy Zheng      the regulator that provides 3.3V core power to the hub.
304e3a4fcdSIcenowy Zheng
314e3a4fcdSIcenowy Zhengrequired:
324e3a4fcdSIcenowy Zheng  - compatible
334e3a4fcdSIcenowy Zheng  - reg
344e3a4fcdSIcenowy Zheng
354e3a4fcdSIcenowy ZhengadditionalProperties: false
364e3a4fcdSIcenowy Zheng
374e3a4fcdSIcenowy Zhengexamples:
384e3a4fcdSIcenowy Zheng  - |
394e3a4fcdSIcenowy Zheng    #include <dt-bindings/gpio/gpio.h>
404e3a4fcdSIcenowy Zheng    usb {
414e3a4fcdSIcenowy Zheng        dr_mode = "host";
424e3a4fcdSIcenowy Zheng        #address-cells = <1>;
434e3a4fcdSIcenowy Zheng        #size-cells = <0>;
444e3a4fcdSIcenowy Zheng
454e3a4fcdSIcenowy Zheng        hub: hub@1 {
464e3a4fcdSIcenowy Zheng            compatible = "usb5e3,608";
474e3a4fcdSIcenowy Zheng            reg = <1>;
484e3a4fcdSIcenowy Zheng            reset-gpios = <&pio 7 2 GPIO_ACTIVE_LOW>;
494e3a4fcdSIcenowy Zheng        };
504e3a4fcdSIcenowy Zheng    };
51