18c2ecf20Sopenharmony_ciDesignWare I2S controller 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciRequired properties: 48c2ecf20Sopenharmony_ci - compatible : Must be "snps,designware-i2s" 58c2ecf20Sopenharmony_ci - reg : Must contain the I2S core's registers location and length 68c2ecf20Sopenharmony_ci - clocks : Pairs of phandle and specifier referencing the controller's 78c2ecf20Sopenharmony_ci clocks. The controller expects one clock: the clock used as the sampling 88c2ecf20Sopenharmony_ci rate reference clock sample. 98c2ecf20Sopenharmony_ci - clock-names : "i2sclk" for the sample rate reference clock. 108c2ecf20Sopenharmony_ci - dmas: Pairs of phandle and specifier for the DMA channels that are used by 118c2ecf20Sopenharmony_ci the core. The core expects one or two dma channels: one for transmit and 128c2ecf20Sopenharmony_ci one for receive. 138c2ecf20Sopenharmony_ci - dma-names : "tx" for the transmit channel, "rx" for the receive channel. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciOptional properties: 168c2ecf20Sopenharmony_ci - interrupts: The interrupt line number for the I2S controller. Add this 178c2ecf20Sopenharmony_ci parameter if the I2S controller that you are using does not support DMA. 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ciFor more details on the 'dma', 'dma-names', 'clock' and 'clock-names' 208c2ecf20Sopenharmony_ciproperties please check: 218c2ecf20Sopenharmony_ci * resource-names.txt 228c2ecf20Sopenharmony_ci * clock/clock-bindings.txt 238c2ecf20Sopenharmony_ci * dma/dma.txt 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciExample: 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci soc_i2s: i2s@7ff90000 { 288c2ecf20Sopenharmony_ci compatible = "snps,designware-i2s"; 298c2ecf20Sopenharmony_ci reg = <0x0 0x7ff90000 0x0 0x1000>; 308c2ecf20Sopenharmony_ci clocks = <&scpi_i2sclk 0>; 318c2ecf20Sopenharmony_ci clock-names = "i2sclk"; 328c2ecf20Sopenharmony_ci #sound-dai-cells = <0>; 338c2ecf20Sopenharmony_ci dmas = <&dma0 5>; 348c2ecf20Sopenharmony_ci dma-names = "tx"; 358c2ecf20Sopenharmony_ci }; 36