Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Broadcom BCM2835 SoC I2S/PCM module |
| 2 | |
| 3 | Required 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 | |
| 14 | Example: |
| 15 | |
| 16 | bcm2835_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 | }; |