mvebu-audio.txt (e5451c8f8330e03ad3cfa16048b4daf961af434f) mvebu-audio.txt (2adfc688777e58f22f691d08728dd74d76177fd9)
1* mvebu (Kirkwood, Dove, Armada 370) audio controller
2
3Required properties:
4
5- compatible:
6 "marvell,kirkwood-audio" for Kirkwood platforms
7 "marvell,dove-audio" for Dove platforms
8 "marvell,armada370-audio" for Armada 370 platforms
1* mvebu (Kirkwood, Dove, Armada 370) audio controller
2
3Required properties:
4
5- compatible:
6 "marvell,kirkwood-audio" for Kirkwood platforms
7 "marvell,dove-audio" for Dove platforms
8 "marvell,armada370-audio" for Armada 370 platforms
9 "marvell,armada-380-audio" for Armada 38x platforms
9
10- reg: physical base address of the controller and length of memory mapped
10
11- reg: physical base address of the controller and length of memory mapped
11 region.
12 region (named "i2s_regs").
13 With "marvell,armada-380-audio" two other regions are required:
14 first of those is dedicated for Audio PLL Configuration registers
15 (named "pll_regs") and the second one ("soc_ctrl") - for register
16 where one of exceptive I/O types (I2S or S/PDIF) is set.
12
13- interrupts:
14 with "marvell,kirkwood-audio", the audio interrupt
15 with "marvell,dove-audio", a list of two interrupts, the first for
16 the data flow, and the second for errors.
17
18- clocks: one or two phandles.
19 The first one is mandatory and defines the internal clock.
20 The second one is optional and defines an external clock.
21
22- clock-names: names associated to the clocks:
23 "internal" for the internal clock
24 "extclk" for the external clock
25
17
18- interrupts:
19 with "marvell,kirkwood-audio", the audio interrupt
20 with "marvell,dove-audio", a list of two interrupts, the first for
21 the data flow, and the second for errors.
22
23- clocks: one or two phandles.
24 The first one is mandatory and defines the internal clock.
25 The second one is optional and defines an external clock.
26
27- clock-names: names associated to the clocks:
28 "internal" for the internal clock
29 "extclk" for the external clock
30
31Optional properties:
32
33- spdif-mode:
34 Enable S/PDIF mode on Armada 38x SoC. Using this property
35 disables standard I2S I/O. Valid only with "marvell,armada-380-audio"
36 compatible string.
37
26Example:
27
28i2s1: audio-controller@b4000 {
29 compatible = "marvell,dove-audio";
30 reg = <0xb4000 0x2210>;
31 interrupts = <21>, <22>;
32 clocks = <&gate_clk 13>;
33 clock-names = "internal";
34};
38Example:
39
40i2s1: audio-controller@b4000 {
41 compatible = "marvell,dove-audio";
42 reg = <0xb4000 0x2210>;
43 interrupts = <21>, <22>;
44 clocks = <&gate_clk 13>;
45 clock-names = "internal";
46};