Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
12properties:
13 compatible:
14 oneOf:
15 - enum:
16 - usb424,2412
17 - usb424,2417
18 - usb424,2514
19 - usb424,2517
20 - items:
21 - enum:
22 - usb424,2512
23 - usb424,2513
24 - const: usb424,2514
25
26 reg: true
27
28 reset-gpios:
29 description: GPIO connected to the RESET_N pin.
30
31 vdd-supply:
32 description: 3.3V power supply.
33
34 vdda-supply:
35 description: 3.3V analog power supply.
36
37 clocks:
38 description: External 24MHz clock connected to the CLKIN pin.
39 maxItems: 1
40
41required:
42 - compatible
43 - reg
44
45patternProperties:
46 "^.*@[0-9a-f]{1,2}$":
47 description: The hard wired USB devices
48 type: object
49 $ref: /schemas/usb/usb-device.yaml
50 additionalProperties: true
51
52allOf:
53 - $ref: usb-device.yaml#
54 - if:
55 not:
56 properties:
57 compatible:
58 contains:
59 const: usb424,2514
60 then:
61 properties:
62 vdda-supply: false
63
64unevaluatedProperties: false
65
66examples:
67 - |
68 #include <dt-bindings/clock/imx6qdl-clock.h>
69 #include <dt-bindings/gpio/gpio.h>
70
71 usb {
72 #address-cells = <1>;
73 #size-cells = <0>;
74
75 usb-hub@1 {
76 compatible = "usb424,2514";
77 reg = <1>;
78 clocks = <&clks IMX6QDL_CLK_CKO>;
79 reset-gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
80 vdd-supply = <®_3v3_hub>;
81 vdda-supply = <®_3v3a_hub>;
82 #address-cells = <1>;
83 #size-cells = <0>;
84
85 ethernet@1 {
86 compatible = "usbb95,772b";
87 reg = <1>;
88 };
89 };
90 };