Skip to content

Commit 5548a73

Browse files
musb: adi: documentation: Adding ADI musb driver
Adding documentation from legacy kernel for ADI musb glue layer
1 parent 6fe7b7e commit 5548a73

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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+
- Nathan Barrett-Morrison <nathan.morrison@timesys.com>
12+
- Greg Malysa <greg.malysa@timesys.com>
13+
14+
description: |
15+
For the Inventra-based USB IP on the ADI SC58X and SC57X processors
16+
(glues to musb_core.c)
17+
18+
properties:
19+
compatible:
20+
enum:
21+
- adi,musb
22+
23+
reg:
24+
maxItems: 1
25+
26+
"reg-names":
27+
maxItems: 1
28+
29+
"interrupts":
30+
maxItems: 1
31+
32+
"interrupt-names":
33+
maxItems: 1
34+
35+
"spu_securep_id":
36+
maxItems: 1
37+
38+
"mentor,multipoint":
39+
maxItems: 1
40+
41+
"mentor,num-eps":
42+
maxItems: 1
43+
44+
"mentor,ram-bits":
45+
maxItems: 1
46+
47+
"mentor,power":
48+
maxItems: 1
49+
50+
"phys":
51+
maxItems: 1
52+
53+
required:
54+
- compatible
55+
- reg
56+
- "reg-names"
57+
- "interrupts"
58+
- "interrupt-names"
59+
- "spu_securep_id"
60+
- "mentor,multipoint"
61+
- "mentor,num-eps"
62+
- "mentor,ram-bits"
63+
- "mentor,power"
64+
- "phys"
65+
66+
additionalProperties: false
67+
68+
examples:
69+
- |
70+
usb0: usb@310c1000 {
71+
compatible = "adi,musb";
72+
reg = <0x310c1000 0x390>;
73+
reg-names = "mc";
74+
interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>,
75+
<GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
76+
interrupt-names = "mc", "dma";
77+
spu_securep_id = <153>;
78+
79+
mentor,multipoint = <1>;
80+
mentor,num-eps = <16>;
81+
mentor,ram-bits = <12>;
82+
mentor,power = <500>;
83+
phys = <&usb0_phy>;
84+
status = "disabled";
85+
};

0 commit comments

Comments
 (0)