35 lines · plain
1ADI AXI-I2S controller2 3The core can be generated with transmit (playback), only receive4(capture) or both directions enabled.5 6Required properties:7 - compatible : Must be "adi,axi-i2s-1.00.a"8 - reg : Must contain I2S core's registers location and length9 - clocks : Pairs of phandle and specifier referencing the controller's clocks.10 The controller expects two clocks, the clock used for the AXI interface and11 the clock used as the sampling rate reference clock sample.12 - clock-names : "axi" for the clock to the AXI interface, "ref" for the sample13 rate reference clock.14 - dmas: Pairs of phandle and specifier for the DMA channels that are used by15 the core. The core expects two dma channels if both transmit and receive are16 enabled, one channel otherwise.17 - dma-names : "tx" for the transmit channel, "rx" for the receive channel.18 19For more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties20please check:21 * resource-names.txt22 * clock/clock-bindings.txt23 * dma/dma.txt24 25Example:26 27 i2s: i2s@77600000 {28 compatible = "adi,axi-i2s-1.00.a";29 reg = <0x77600000 0x1000>;30 clocks = <&clk 15>, <&audio_clock>;31 clock-names = "axi", "ref";32 dmas = <&ps7_dma 0>, <&ps7_dma 1>;33 dma-names = "tx", "rx";34 };35