xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/davinci-mcbsp.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTexas Instruments DaVinci McBSP module
2*4882a593Smuzhiyun~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunThis binding describes the "Multi-channel Buffered Serial Port" (McBSP)
5*4882a593Smuzhiyunaudio interface found in some TI DaVinci processors like the OMAP-L138 or AM180x.
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun~~~~~~~~~~~~~~~~~~~~
10*4882a593Smuzhiyun- compatible :
11*4882a593Smuzhiyun        "ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun- reg : physical base address and length of the controller memory mapped
14*4882a593Smuzhiyun        region(s).
15*4882a593Smuzhiyun- reg-names : Should contain:
16*4882a593Smuzhiyun        * "mpu" for the main registers (required).
17*4882a593Smuzhiyun        * "dat" for the data FIFO (optional).
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun- dmas: three element list of DMA controller phandles, DMA request line and
20*4882a593Smuzhiyun	TC channel ordered triplets.
21*4882a593Smuzhiyun- dma-names: identifier string for each DMA request line in the dmas property.
22*4882a593Smuzhiyun	These strings correspond 1:1 with the ordered pairs in dmas. The dma
23*4882a593Smuzhiyun	identifiers must be "rx" and "tx".
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunOptional properties:
26*4882a593Smuzhiyun~~~~~~~~~~~~~~~~~~~~
27*4882a593Smuzhiyun- interrupts : Interrupt numbers for McBSP
28*4882a593Smuzhiyun- interrupt-names : Known interrupt names are "rx" and "tx"
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun- pinctrl-0: Should specify pin control group used for this controller.
31*4882a593Smuzhiyun- pinctrl-names: Should contain only one value - "default", for more details
32*4882a593Smuzhiyun        please refer to pinctrl-bindings.txt
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunExample (AM1808):
35*4882a593Smuzhiyun~~~~~~~~~~~~~~~~~
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunmcbsp0: mcbsp@1d10000 {
38*4882a593Smuzhiyun	compatible = "ti,da850-mcbsp";
39*4882a593Smuzhiyun	pinctrl-names = "default";
40*4882a593Smuzhiyun	pinctrl-0 = <&mcbsp0_pins>;
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun	reg = 	<0x00110000 0x1000>,
43*4882a593Smuzhiyun		<0x00310000 0x1000>;
44*4882a593Smuzhiyun	reg-names = "mpu", "dat";
45*4882a593Smuzhiyun	interrupts = <97 98>;
46*4882a593Smuzhiyun	interrupt-names = "rx", "tx";
47*4882a593Smuzhiyun	dmas = <&edma0 3 1
48*4882a593Smuzhiyun		&edma0 2 1>;
49*4882a593Smuzhiyun	dma-names = "tx", "rx";
50*4882a593Smuzhiyun};
51