xref: /linux/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml (revision 6e7fd890f1d6ac83805409e9c346240de2705584)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip USB2514 Hub Controller
8
9maintainers:
10  - Fabio Estevam <festevam@gmail.com>
11
12allOf:
13  - $ref: usb-hcd.yaml#
14
15properties:
16  compatible:
17    enum:
18      - usb424,2412
19      - usb424,2417
20      - usb424,2514
21      - usb424,2517
22
23  reg: true
24
25  reset-gpios:
26    description: GPIO connected to the RESET_N pin.
27
28  vdd-supply:
29    description: 3.3V power supply.
30
31  clocks:
32    description: External 24MHz clock connected to the CLKIN pin.
33    maxItems: 1
34
35required:
36  - compatible
37  - reg
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/clock/imx6qdl-clock.h>
44    #include <dt-bindings/gpio/gpio.h>
45
46    usb {
47        #address-cells = <1>;
48        #size-cells = <0>;
49
50        usb-hub@1 {
51            compatible = "usb424,2514";
52            reg = <1>;
53            clocks = <&clks IMX6QDL_CLK_CKO>;
54            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
55            vdd-supply = <&reg_3v3_hub>;
56            #address-cells = <1>;
57            #size-cells = <0>;
58
59            ethernet@1 {
60                compatible = "usbb95,772b";
61                reg = <1>;
62            };
63        };
64    };
65