xref: /openbmc/linux/Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt (revision 5ef12cb4a3a78ffb331c03a795a15eea4ae35155)
1* Broadcom BCM2835 SoC I2S/PCM module
2
3Required properties:
4- compatible: "brcm,bcm2835-i2s"
5- reg: Should contain PCM registers location and length.
6- clocks: the (PCM) clock to use
7- dmas: List of DMA controller phandle and DMA request line ordered pairs.
8- dma-names: Identifier string for each DMA request line in the dmas property.
9  These strings correspond 1:1 with the ordered pairs in dmas.
10
11  One of the DMA channels will be responsible for transmission (should be
12  named "tx") and one for reception (should be named "rx").
13
14Example:
15
16bcm2835_i2s: i2s@7e203000 {
17	compatible = "brcm,bcm2835-i2s";
18	reg = <0x7e203000 0x24>;
19	clocks = <&clocks BCM2835_CLOCK_PCM>;
20
21	dmas = <&dma 2>,
22	       <&dma 3>;
23	dma-names = "tx", "rx";
24};
25