blob: b14e6f37b2987c40b6ed26dc759064cf021ff4f9 [file] [log] [blame]
Tom Rini762f85b2024-07-20 11:15:10 -06001# 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:
Tom Rini6b642ac2024-10-01 12:20:28 -060013 - $ref: usb-device.yaml#
Tom Rini762f85b2024-07-20 11:15:10 -060014
15properties:
16 compatible:
17 enum:
18 - usb424,2412
19 - usb424,2417
20 - usb424,2514
Tom Rini6b642ac2024-10-01 12:20:28 -060021 - usb424,2517
Tom Rini762f85b2024-07-20 11:15:10 -060022
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
Tom Rini6b642ac2024-10-01 12:20:28 -060039patternProperties:
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
Tom Rini762f85b2024-07-20 11:15:10 -060046unevaluatedProperties: 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 };