xref: /linux/Documentation/devicetree/bindings/sound/omap-mcbsp.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
111dd5864SPeter Ujfalusi* Texas Instruments OMAP2+ McBSP module
211dd5864SPeter Ujfalusi
311dd5864SPeter UjfalusiRequired properties:
411dd5864SPeter Ujfalusi- compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420
511dd5864SPeter Ujfalusi	      "ti,omap2430-mcbsp" for McBSP on OMAP2430
611dd5864SPeter Ujfalusi	      "ti,omap3-mcbsp" for McBSP on OMAP3
711dd5864SPeter Ujfalusi	      "ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC
811dd5864SPeter Ujfalusi- reg: Register location and size, for OMAP4+ as an array:
911dd5864SPeter Ujfalusi       <MPU access base address, size>,
1011dd5864SPeter Ujfalusi       <L3 interconnect address, size>;
11*b8101048SPeter Ujfalusi- reg-names: Array of strings associated with the address space
1211dd5864SPeter Ujfalusi- interrupts: Interrupt numbers for the McBSP port, as an array in case the
1311dd5864SPeter Ujfalusi	      McBSP IP have more interrupt lines:
1411dd5864SPeter Ujfalusi	<OCP compliant irq>,
1511dd5864SPeter Ujfalusi	<TX irq>,
1611dd5864SPeter Ujfalusi	<RX irq>;
17*b8101048SPeter Ujfalusi- interrupt-names: Array of strings associated with the interrupt numbers
1811dd5864SPeter Ujfalusi- ti,buffer-size: Size of the FIFO on the port (OMAP2430 and newer SoC)
1911dd5864SPeter Ujfalusi- ti,hwmods: Name of the hwmod associated to the McBSP port
2011dd5864SPeter Ujfalusi
2111dd5864SPeter UjfalusiExample:
2211dd5864SPeter Ujfalusi
2311dd5864SPeter Ujfalusimcbsp2: mcbsp@49022000 {
2411dd5864SPeter Ujfalusi	compatible = "ti,omap3-mcbsp";
25*b8101048SPeter Ujfalusi	reg = <0x49022000 0xff>,
26*b8101048SPeter Ujfalusi	      <0x49028000 0xff>;
27*b8101048SPeter Ujfalusi	reg-names = "mpu", "sidetone";
28*b8101048SPeter Ujfalusi	interrupts = <0 17 0x4>, /* OCP compliant interrupt */
29*b8101048SPeter Ujfalusi		     <0 62 0x4>, /* TX interrupt */
30*b8101048SPeter Ujfalusi		     <0 63 0x4>, /* RX interrupt */
31*b8101048SPeter Ujfalusi		     <0 4 0x4>;  /* Sidetone */
32*b8101048SPeter Ujfalusi	interrupt-names = "common", "tx", "rx", "sidetone";
3311dd5864SPeter Ujfalusi	interrupt-parent = <&intc>;
3411dd5864SPeter Ujfalusi	ti,buffer-size = <1280>;
3511dd5864SPeter Ujfalusi	ti,hwmods = "mcbsp2";
3611dd5864SPeter Ujfalusi};
37