xref: /linux/Documentation/devicetree/bindings/usb/terminus,fe11.yaml (revision 99ef60d119f3b2621067dd5fc1ea4a37360709e4)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/terminus,fe11.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Terminus FE1.1/1.1S USB 2.0 Hub Controller
8
9maintainers:
10  - Yixun Lan <dlan@kernel.org>
11
12allOf:
13  - $ref: usb-hub.yaml#
14
15properties:
16  compatible:
17    enum:
18      - usb1a40,0101
19
20  reg: true
21
22  reset-gpios:
23    description:
24      GPIO controlling the RESET#.
25
26  vdd-supply:
27    description:
28      Regulator supply to the hub, one of 3.3V or 5V can be chosen.
29
30  ports:
31    $ref: /schemas/graph.yaml#/properties/ports
32
33    patternProperties:
34      '^port@':
35        $ref: /schemas/graph.yaml#/properties/port
36
37        properties:
38          reg:
39            minimum: 1
40            maximum: 4
41
42required:
43  - compatible
44  - reg
45  - vdd-supply
46
47unevaluatedProperties: false
48
49examples:
50  - |
51    #include <dt-bindings/gpio/gpio.h>
52    usb {
53        #address-cells = <1>;
54        #size-cells = <0>;
55
56        hub@1 {
57            compatible = "usb1a40,0101";
58            reg = <1>;
59            reset-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
60            vdd-supply = <&vcc_5v>;
61        };
62    };
63