xref: /freebsd/sys/contrib/device-tree/Bindings/sound/brcm,bcm2835-i2s.txt (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
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