Debian Codegraph @

Documentation/devicetree/bindings/usb/eswin,eic7700-usb.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/usb/eswin,eic7700-usb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ESWIN EIC7700 SoC Usb Controller
8
9 maintainers:
10 - Wei Yang <[email protected]>
11 - Senchuan Zhang <[email protected]>
12 - Hang Cao <[email protected]>
13
14 description:
15 The Usb controller on EIC7700 SoC.
16
17 allOf:
18 - $ref: snps,dwc3-common.yaml#
19
20 properties:
21 compatible:
22 const: eswin,eic7700-dwc3
23
24 reg:
25 maxItems: 1
26
27 interrupts:
28 maxItems: 1
29
30 interrupt-names:
31 items:
32 - const: peripheral
33
34 clocks:
35 maxItems: 3
36
37 clock-names:
38 items:
39 - const: aclk
40 - const: cfg
41 - const: usb_en
42
43 resets:
44 maxItems: 3
45
46 reset-names:
47 items:
48 - const: vaux
49 - const: usb_rst
50 - const: usb_phy
51
52 eswin,hsp-sp-csr:
53 description:
54 HSP CSR is to control and get status of different high-speed peripherals
55 (such as Ethernet, USB, SATA, etc.) via register, which can tune
56 board-level's parameters of PHY, etc.
57 $ref: /schemas/types.yaml#/definitions/phandle-array
58 items:
59 - items:
60 - description: phandle to HSP Register Controller hsp_sp_csr node.
61 - description: USB bus register offset.
62 - description: AXI low power register offset.
63
64 required:
65 - compatible
66 - reg
67 - clocks
68 - clock-names
69 - interrupts
70 - interrupt-names
71 - resets
72 - reset-names
73 - eswin,hsp-sp-csr
74
75 unevaluatedProperties: false
76
77 examples:
78 - |
79 usb@50480000 {
80 compatible = "eswin,eic7700-dwc3";
81 reg = <0x50480000 0x10000>;
82 clocks = <&clock 135>,
83 <&clock 136>,
84 <&hspcrg 18>;
85 clock-names = "aclk", "cfg", "usb_en";
86 interrupt-parent = <&plic>;
87 interrupts = <85>;
88 interrupt-names = "peripheral";
89 resets = <&reset 84>, <&hspcrg 2>, <&hspcrg 4>;
90 reset-names = "vaux", "usb_rst", "usb_phy";
91 dr_mode = "peripheral";
92 maximum-speed = "high-speed";
93 phy_type = "utmi";
94 eswin,hsp-sp-csr = <&hsp_sp_csr 0x800 0x818>;
95 };