summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/mvebu-audio.txt
blob: 4f5dec5cb3c2e393afc54548d45fddd9916cc834 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
* mvebu (Kirkwood, Dove, Armada 370) audio controller

Required properties:

- compatible:
  "marvell,kirkwood-audio" for Kirkwood platforms
  "marvell,dove-audio" for Dove platforms
  "marvell,armada370-audio" for Armada 370 platforms
  "marvell,armada-380-audio" for Armada 38x platforms

- reg: physical base address of the controller and length of memory mapped
  region (named "i2s_regs").
  With "marvell,armada-380-audio" two other regions are required:
  first of those is dedicated for Audio PLL Configuration registers
  (named "pll_regs") and the second one ("soc_ctrl") - for register
  where one of exceptive I/O types (I2S or S/PDIF) is set.

- interrupts:
  with "marvell,kirkwood-audio", the audio interrupt
  with "marvell,dove-audio", a list of two interrupts, the first for
  the data flow, and the second for errors.

- clocks: one or two phandles.
  The first one is mandatory and defines the internal clock.
  The second one is optional and defines an external clock.

- clock-names: names associated to the clocks:
	"internal" for the internal clock
	"extclk" for the external clock

Optional properties:

- spdif-mode:
  Enable S/PDIF mode on Armada 38x SoC. Using this property
  disables standard I2S I/O. Valid only with "marvell,armada-380-audio"
  compatible string.

Example:

i2s1: audio-controller@b4000 {
	compatible = "marvell,dove-audio";
	reg = <0xb4000 0x2210>;
	interrupts = <21>, <22>;
	clocks = <&gate_clk 13>;
	clock-names = "internal";
};