Commit | Line | Data |
---|---|---|
c6aeb7de FM |
1 | * Broadcom BCM2835 SoC I2S/PCM module |
2 | ||
3 | Required properties: | |
4 | - compatible: "brcm,bcm2835-i2s" | |
5 | - reg: A list of base address and size entries: | |
6 | * The first entry should cover the PCM registers | |
7 | * The second entry should cover the PCM clock registers | |
8 | - dmas: List of DMA controller phandle and DMA request line ordered pairs. | |
9 | - dma-names: Identifier string for each DMA request line in the dmas property. | |
10 | These strings correspond 1:1 with the ordered pairs in dmas. | |
11 | ||
12 | One of the DMA channels will be responsible for transmission (should be | |
13 | named "tx") and one for reception (should be named "rx"). | |
14 | ||
15 | Example: | |
16 | ||
17 | bcm2835_i2s: i2s@7e203000 { | |
18 | compatible = "brcm,bcm2835-i2s"; | |
19 | reg = <0x7e203000 0x20>, | |
20 | <0x7e101098 0x02>; | |
21 | ||
22 | dmas = <&dma 2>, | |
23 | <&dma 3>; | |
24 | dma-names = "tx", "rx"; | |
25 | }; |