xref: /freebsd/sys/contrib/device-tree/Bindings/sound/omap-mcbsp.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Texas Instruments OMAP2+ McBSP module
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420
5*c66ec88fSEmmanuel Vadot	      "ti,omap2430-mcbsp" for McBSP on OMAP2430
6*c66ec88fSEmmanuel Vadot	      "ti,omap3-mcbsp" for McBSP on OMAP3
7*c66ec88fSEmmanuel Vadot	      "ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC
8*c66ec88fSEmmanuel Vadot- reg: Register location and size, for OMAP4+ as an array:
9*c66ec88fSEmmanuel Vadot       <MPU access base address, size>,
10*c66ec88fSEmmanuel Vadot       <L3 interconnect address, size>;
11*c66ec88fSEmmanuel Vadot- reg-names: Array of strings associated with the address space
12*c66ec88fSEmmanuel Vadot- interrupts: Interrupt numbers for the McBSP port, as an array in case the
13*c66ec88fSEmmanuel Vadot	      McBSP IP have more interrupt lines:
14*c66ec88fSEmmanuel Vadot	<OCP compliant irq>,
15*c66ec88fSEmmanuel Vadot	<TX irq>,
16*c66ec88fSEmmanuel Vadot	<RX irq>;
17*c66ec88fSEmmanuel Vadot- interrupt-names: Array of strings associated with the interrupt numbers
18*c66ec88fSEmmanuel Vadot- ti,buffer-size: Size of the FIFO on the port (OMAP2430 and newer SoC)
19*c66ec88fSEmmanuel Vadot- ti,hwmods: Name of the hwmod associated to the McBSP port
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotExample:
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadotmcbsp2: mcbsp@49022000 {
24*c66ec88fSEmmanuel Vadot	compatible = "ti,omap3-mcbsp";
25*c66ec88fSEmmanuel Vadot	reg = <0x49022000 0xff>,
26*c66ec88fSEmmanuel Vadot	      <0x49028000 0xff>;
27*c66ec88fSEmmanuel Vadot	reg-names = "mpu", "sidetone";
28*c66ec88fSEmmanuel Vadot	interrupts = <0 17 0x4>, /* OCP compliant interrupt */
29*c66ec88fSEmmanuel Vadot		     <0 62 0x4>, /* TX interrupt */
30*c66ec88fSEmmanuel Vadot		     <0 63 0x4>, /* RX interrupt */
31*c66ec88fSEmmanuel Vadot		     <0 4 0x4>;  /* Sidetone */
32*c66ec88fSEmmanuel Vadot	interrupt-names = "common", "tx", "rx", "sidetone";
33*c66ec88fSEmmanuel Vadot	interrupt-parent = <&intc>;
34*c66ec88fSEmmanuel Vadot	ti,buffer-size = <1280>;
35*c66ec88fSEmmanuel Vadot	ti,hwmods = "mcbsp2";
36*c66ec88fSEmmanuel Vadot};
37