aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml
blob: 783c27591e564c7b8020d0be5c603f557661cda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Microchip USB2514 Hub Controller

maintainers:
  - Fabio Estevam <festevam@gmail.com>

allOf:
  - $ref: usb-hcd.yaml#

properties:
  compatible:
    enum:
      - usb424,2412
      - usb424,2417
      - usb424,2514

  reg: true

  reset-gpios:
    description: GPIO connected to the RESET_N pin.

  vdd-supply:
    description: 3.3V power supply.

  clocks:
    description: External 24MHz clock connected to the CLKIN pin.
    maxItems: 1

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/imx6qdl-clock.h>
    #include <dt-bindings/gpio/gpio.h>

    usb {
        #address-cells = <1>;
        #size-cells = <0>;

        usb-hub@1 {
            compatible = "usb424,2514";
            reg = <1>;
            clocks = <&clks IMX6QDL_CLK_CKO>;
            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
            vdd-supply = <&reg_3v3_hub>;
            #address-cells = <1>;
            #size-cells = <0>;

            ethernet@1 {
                compatible = "usbb95,772b";
                reg = <1>;
            };
        };
    };