xref: /freebsd/sys/contrib/device-tree/Bindings/sound/cdns,xtfpga-i2s.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotBindings for I2S controller built into xtfpga Xtensa bitstreams.
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: shall be "cdns,xtfpga-i2s".
5*c66ec88fSEmmanuel Vadot- reg: memory region (address and length) with device registers.
6*c66ec88fSEmmanuel Vadot- interrupts: interrupt for the device.
7*c66ec88fSEmmanuel Vadot- clocks: phandle to the clk used as master clock. I2S bus clock
8*c66ec88fSEmmanuel Vadot  is derived from it.
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotExamples:
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot	i2s0: xtfpga-i2s@d080000 {
13*c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
14*c66ec88fSEmmanuel Vadot		compatible = "cdns,xtfpga-i2s";
15*c66ec88fSEmmanuel Vadot		reg = <0x0d080000 0x40>;
16*c66ec88fSEmmanuel Vadot		interrupts = <2 1>;
17*c66ec88fSEmmanuel Vadot		clocks = <&cdce706 4>;
18*c66ec88fSEmmanuel Vadot	};
19