Skip to content

Commit bde0fbf

Browse files
musb: adi: documentation: Adding ADI musb driver
Adding documentation from legacy kernel for ADI musb glue layer Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
1 parent f5faeee commit bde0fbf

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
2+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3+
%YAML 1.2
4+
---
5+
$id: http://devicetree.org/schemas/timer/adi,musb.yaml#
6+
$schema: http://devicetree.org/meta-schemas/core.yaml#
7+
8+
title: Inventra USB Glue Layer for Analog Devices SC5XX Processors
9+
10+
maintainers:
11+
- Analog Devices, Inc <adsp-linux@analog.com>
12+
13+
description: |
14+
For the Inventra-based USB IP on the ADI SC58X and SC57X processors
15+
(glues to musb_core.c)
16+
17+
properties:
18+
compatible:
19+
enum:
20+
- adi,musb
21+
22+
reg:
23+
maxItems: 1
24+
25+
"reg-names":
26+
maxItems: 1
27+
28+
"interrupts":
29+
maxItems: 1
30+
31+
"interrupt-names":
32+
maxItems: 1
33+
34+
"spu_securep_id":
35+
maxItems: 1
36+
37+
"mentor,multipoint":
38+
maxItems: 1
39+
40+
"mentor,num-eps":
41+
maxItems: 1
42+
43+
"mentor,ram-bits":
44+
maxItems: 1
45+
46+
"mentor,power":
47+
maxItems: 1
48+
49+
"phys":
50+
maxItems: 1
51+
52+
required:
53+
- compatible
54+
- reg
55+
- "reg-names"
56+
- "interrupts"
57+
- "interrupt-names"
58+
- "spu_securep_id"
59+
- "mentor,multipoint"
60+
- "mentor,num-eps"
61+
- "mentor,ram-bits"
62+
- "mentor,power"
63+
- "phys"
64+
65+
additionalProperties: false
66+
67+
examples:
68+
- |
69+
usb0: usb@310c1000 {
70+
compatible = "adi,musb";
71+
reg = <0x310c1000 0x390>;
72+
reg-names = "mc";
73+
interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
74+
<GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
75+
interrupt-names = "mc", "dma";
76+
spu_securep_id = <153>;
77+
78+
mentor,multipoint = <1>;
79+
mentor,num-eps = <16>;
80+
mentor,ram-bits = <12>;
81+
mentor,power = <500>;
82+
phys = <&usb0_phy>;
83+
status = "disabled";
84+
};

0 commit comments

Comments
 (0)