Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / usb / microchip,usb2514.yaml
blobb14e6f37b2987c40b6ed26dc759064cf021ff4f9
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#
7 title: Microchip USB2514 Hub Controller
9 maintainers:
10   - Fabio Estevam <festevam@gmail.com>
12 allOf:
13   - $ref: usb-device.yaml#
15 properties:
16   compatible:
17     enum:
18       - usb424,2412
19       - usb424,2417
20       - usb424,2514
21       - usb424,2517
23   reg: true
25   reset-gpios:
26     description: GPIO connected to the RESET_N pin.
28   vdd-supply:
29     description: 3.3V power supply.
31   clocks:
32     description: External 24MHz clock connected to the CLKIN pin.
33     maxItems: 1
35 required:
36   - compatible
37   - reg
39 patternProperties:
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
46 unevaluatedProperties: false
48 examples:
49   - |
50     #include <dt-bindings/clock/imx6qdl-clock.h>
51     #include <dt-bindings/gpio/gpio.h>
53     usb {
54         #address-cells = <1>;
55         #size-cells = <0>;
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>;
66             ethernet@1 {
67                 compatible = "usbb95,772b";
68                 reg = <1>;
69             };
70         };
71     };