1*c66ec88fSEmmanuel VadotADI AXI-I2S controller 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotThe core can be generated with transmit (playback), only receive 4*c66ec88fSEmmanuel Vadot(capture) or both directions enabled. 5*c66ec88fSEmmanuel Vadot 6*c66ec88fSEmmanuel VadotRequired properties: 7*c66ec88fSEmmanuel Vadot - compatible : Must be "adi,axi-i2s-1.00.a" 8*c66ec88fSEmmanuel Vadot - reg : Must contain I2S core's registers location and length 9*c66ec88fSEmmanuel Vadot - clocks : Pairs of phandle and specifier referencing the controller's clocks. 10*c66ec88fSEmmanuel Vadot The controller expects two clocks, the clock used for the AXI interface and 11*c66ec88fSEmmanuel Vadot the clock used as the sampling rate reference clock sample. 12*c66ec88fSEmmanuel Vadot - clock-names : "axi" for the clock to the AXI interface, "ref" for the sample 13*c66ec88fSEmmanuel Vadot rate reference clock. 14*c66ec88fSEmmanuel Vadot - dmas: Pairs of phandle and specifier for the DMA channels that are used by 15*c66ec88fSEmmanuel Vadot the core. The core expects two dma channels if both transmit and receive are 16*c66ec88fSEmmanuel Vadot enabled, one channel otherwise. 17*c66ec88fSEmmanuel Vadot - dma-names : "tx" for the transmit channel, "rx" for the receive channel. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotFor more details on the 'dma', 'dma-names', 'clock' and 'clock-names' properties 20*c66ec88fSEmmanuel Vadotplease check: 21*c66ec88fSEmmanuel Vadot * resource-names.txt 22*c66ec88fSEmmanuel Vadot * clock/clock-bindings.txt 23*c66ec88fSEmmanuel Vadot * dma/dma.txt 24*c66ec88fSEmmanuel Vadot 25*c66ec88fSEmmanuel VadotExample: 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadot i2s: i2s@77600000 { 28*c66ec88fSEmmanuel Vadot compatible = "adi,axi-i2s-1.00.a"; 29*c66ec88fSEmmanuel Vadot reg = <0x77600000 0x1000>; 30*c66ec88fSEmmanuel Vadot clocks = <&clk 15>, <&audio_clock>; 31*c66ec88fSEmmanuel Vadot clock-names = "axi", "ref"; 32*c66ec88fSEmmanuel Vadot dmas = <&ps7_dma 0>, <&ps7_dma 1>; 33*c66ec88fSEmmanuel Vadot dma-names = "tx", "rx"; 34*c66ec88fSEmmanuel Vadot }; 35