xref: /linux/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml (revision 836265d31631e28000fc8917ce697fc687a58724)
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-device.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
39patternProperties:
40  "^.*@[0-9a-f]{1,2}$":
41    description: The hard wired USB devices
42    type: object
43    $ref: /schemas/usb/usb-device.yaml
44    additionalProperties: true
45
46unevaluatedProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/clock/imx6qdl-clock.h>
51    #include <dt-bindings/gpio/gpio.h>
52
53    usb {
54        #address-cells = <1>;
55        #size-cells = <0>;
56
57        usb-hub@1 {
58            compatible = "usb424,2514";
59            reg = <1>;
60            clocks = <&clks IMX6QDL_CLK_CKO>;
61            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
62            vdd-supply = <&reg_3v3_hub>;
63            #address-cells = <1>;
64            #size-cells = <0>;
65
66            ethernet@1 {
67                compatible = "usbb95,772b";
68                reg = <1>;
69            };
70        };
71    };
72