xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/mvebu-audio.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* mvebu (Kirkwood, Dove, Armada 370) audio controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible:
6*4882a593Smuzhiyun  "marvell,kirkwood-audio" for Kirkwood platforms
7*4882a593Smuzhiyun  "marvell,dove-audio" for Dove platforms
8*4882a593Smuzhiyun  "marvell,armada370-audio" for Armada 370 platforms
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- reg: physical base address of the controller and length of memory mapped
11*4882a593Smuzhiyun  region.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun- interrupts:
14*4882a593Smuzhiyun  with "marvell,kirkwood-audio", the audio interrupt
15*4882a593Smuzhiyun  with "marvell,dove-audio", a list of two interrupts, the first for
16*4882a593Smuzhiyun  the data flow, and the second for errors.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun- clocks: one or two phandles.
19*4882a593Smuzhiyun  The first one is mandatory and defines the internal clock.
20*4882a593Smuzhiyun  The second one is optional and defines an external clock.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun- clock-names: names associated to the clocks:
23*4882a593Smuzhiyun	"internal" for the internal clock
24*4882a593Smuzhiyun	"extclk" for the external clock
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunExample:
27*4882a593Smuzhiyun
28*4882a593Smuzhiyuni2s1: audio-controller@b4000 {
29*4882a593Smuzhiyun	compatible = "marvell,dove-audio";
30*4882a593Smuzhiyun	reg = <0xb4000 0x2210>;
31*4882a593Smuzhiyun	interrupts = <21>, <22>;
32*4882a593Smuzhiyun	clocks = <&gate_clk 13>;
33*4882a593Smuzhiyun	clock-names = "internal";
34*4882a593Smuzhiyun};
35