xref: /linux/Documentation/devicetree/bindings/usb/microchip,usb2514.yaml (revision e8784b0aef62cd6117e1c93c64d060e4c7314a1f)
1bfbf2e4bSFabio Estevam# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2bfbf2e4bSFabio Estevam%YAML 1.2
3bfbf2e4bSFabio Estevam---
4bfbf2e4bSFabio Estevam$id: http://devicetree.org/schemas/usb/microchip,usb2514.yaml#
5bfbf2e4bSFabio Estevam$schema: http://devicetree.org/meta-schemas/core.yaml#
6bfbf2e4bSFabio Estevam
7bfbf2e4bSFabio Estevamtitle: Microchip USB2514 Hub Controller
8bfbf2e4bSFabio Estevam
9bfbf2e4bSFabio Estevammaintainers:
10bfbf2e4bSFabio Estevam  - Fabio Estevam <festevam@gmail.com>
11bfbf2e4bSFabio Estevam
12bfbf2e4bSFabio EstevamallOf:
13*5b235693SAlexander Stein  - $ref: usb-device.yaml#
14bfbf2e4bSFabio Estevam
15bfbf2e4bSFabio Estevamproperties:
16bfbf2e4bSFabio Estevam  compatible:
17bfbf2e4bSFabio Estevam    enum:
18bfbf2e4bSFabio Estevam      - usb424,2412
19bfbf2e4bSFabio Estevam      - usb424,2417
20bfbf2e4bSFabio Estevam      - usb424,2514
2116d73189SAlexander Stein      - usb424,2517
22bfbf2e4bSFabio Estevam
23bfbf2e4bSFabio Estevam  reg: true
24bfbf2e4bSFabio Estevam
25bfbf2e4bSFabio Estevam  reset-gpios:
26bfbf2e4bSFabio Estevam    description: GPIO connected to the RESET_N pin.
27bfbf2e4bSFabio Estevam
28bfbf2e4bSFabio Estevam  vdd-supply:
29bfbf2e4bSFabio Estevam    description: 3.3V power supply.
30bfbf2e4bSFabio Estevam
31bfbf2e4bSFabio Estevam  clocks:
32bfbf2e4bSFabio Estevam    description: External 24MHz clock connected to the CLKIN pin.
33bfbf2e4bSFabio Estevam    maxItems: 1
34bfbf2e4bSFabio Estevam
35bfbf2e4bSFabio Estevamrequired:
36bfbf2e4bSFabio Estevam  - compatible
37bfbf2e4bSFabio Estevam  - reg
38bfbf2e4bSFabio Estevam
39*5b235693SAlexander SteinpatternProperties:
40*5b235693SAlexander Stein  "^.*@[0-9a-f]{1,2}$":
41*5b235693SAlexander Stein    description: The hard wired USB devices
42*5b235693SAlexander Stein    type: object
43*5b235693SAlexander Stein    $ref: /schemas/usb/usb-device.yaml
44*5b235693SAlexander Stein    additionalProperties: true
45*5b235693SAlexander Stein
46bfbf2e4bSFabio EstevamunevaluatedProperties: false
47bfbf2e4bSFabio Estevam
48bfbf2e4bSFabio Estevamexamples:
49bfbf2e4bSFabio Estevam  - |
50bfbf2e4bSFabio Estevam    #include <dt-bindings/clock/imx6qdl-clock.h>
51bfbf2e4bSFabio Estevam    #include <dt-bindings/gpio/gpio.h>
52bfbf2e4bSFabio Estevam
53bfbf2e4bSFabio Estevam    usb {
54bfbf2e4bSFabio Estevam        #address-cells = <1>;
55bfbf2e4bSFabio Estevam        #size-cells = <0>;
56bfbf2e4bSFabio Estevam
57bfbf2e4bSFabio Estevam        usb-hub@1 {
58bfbf2e4bSFabio Estevam            compatible = "usb424,2514";
59bfbf2e4bSFabio Estevam            reg = <1>;
60bfbf2e4bSFabio Estevam            clocks = <&clks IMX6QDL_CLK_CKO>;
61bfbf2e4bSFabio Estevam            reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
62bfbf2e4bSFabio Estevam            vdd-supply = <&reg_3v3_hub>;
63bfbf2e4bSFabio Estevam            #address-cells = <1>;
64bfbf2e4bSFabio Estevam            #size-cells = <0>;
65bfbf2e4bSFabio Estevam
66bfbf2e4bSFabio Estevam            ethernet@1 {
67bfbf2e4bSFabio Estevam                compatible = "usbb95,772b";
68bfbf2e4bSFabio Estevam                reg = <1>;
69bfbf2e4bSFabio Estevam            };
70bfbf2e4bSFabio Estevam        };
71bfbf2e4bSFabio Estevam    };
72