^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Microchip I2S Multi-Channel Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: Should be "microchip,sam9x60-i2smcc".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - reg: Should be the physical base address of the controller and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) length of memory mapped region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts: Should contain the interrupt for the controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - dmas: Should be one per channel name listed in the dma-names property,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) as described in atmel-dma.txt and dma.txt files.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - dma-names: Identifier string for each DMA request line in the dmas property.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Two dmas have to be defined, "tx" and "rx".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) - clocks: Must contain an entry for each entry in clock-names.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Please refer to clock-bindings.txt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - clock-names: Should be one of each entry matching the clocks phandles list:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - "pclk" (peripheral clock) Required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - "gclk" (generated clock) Optional (1).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - pinctrl-0: Should specify pin control groups used for this controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - princtrl-names: Should contain only one value - "default".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) (1) : Only the peripheral clock is required. The generated clock is optional
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) and should be set mostly when Master Mode is required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) i2s@f001c000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) compatible = "microchip,sam9x60-i2smcc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reg = <0xf001c000 0x100>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) interrupts = <34 IRQ_TYPE_LEVEL_HIGH 7>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) dmas = <&dma0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) AT91_XDMAC_DT_PERID(36))>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) <&dma0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1) |
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) AT91_XDMAC_DT_PERID(37))>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) dma-names = "tx", "rx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) clocks = <&i2s_clk>, <&i2s_gclk>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) clock-names = "pclk", "gclk";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) pinctrl-0 = <&pinctrl_i2s_default>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) };