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