xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/serial/omap_serial.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunOMAP UART controller
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible : should be "ti,omap2-uart" for OMAP2 controllers
5*4882a593Smuzhiyun- compatible : should be "ti,omap3-uart" for OMAP3 controllers
6*4882a593Smuzhiyun- compatible : should be "ti,omap4-uart" for OMAP4 controllers
7*4882a593Smuzhiyun- compatible : should be "ti,am4372-uart" for AM437x controllers
8*4882a593Smuzhiyun- compatible : should be "ti,am3352-uart" for AM335x controllers
9*4882a593Smuzhiyun- compatible : should be "ti,dra742-uart" for DRA7x controllers
10*4882a593Smuzhiyun- reg : address and length of the register space
11*4882a593Smuzhiyun- interrupts or interrupts-extended : Should contain the uart interrupt
12*4882a593Smuzhiyun                                      specifier or both the interrupt
13*4882a593Smuzhiyun                                      controller phandle and interrupt
14*4882a593Smuzhiyun                                      specifier.
15*4882a593Smuzhiyun- ti,hwmods : Must be "uart<n>", n being the instance number (1-based)
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunOptional properties:
18*4882a593Smuzhiyun- clock-frequency : frequency of the clock input to the UART
19*4882a593Smuzhiyun- dmas : DMA specifier, consisting of a phandle to the DMA controller
20*4882a593Smuzhiyun         node and a DMA channel number.
21*4882a593Smuzhiyun- dma-names : "rx" for receive channel, "tx" for transmit channel.
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunExample:
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun                uart4: serial@49042000 {
26*4882a593Smuzhiyun                        compatible = "ti,omap3-uart";
27*4882a593Smuzhiyun                        reg = <0x49042000 0x400>;
28*4882a593Smuzhiyun                        interrupts = <80>;
29*4882a593Smuzhiyun                        dmas = <&sdma 81 &sdma 82>;
30*4882a593Smuzhiyun                        dma-names = "tx", "rx";
31*4882a593Smuzhiyun                        ti,hwmods = "uart4";
32*4882a593Smuzhiyun                        clock-frequency = <48000000>;
33*4882a593Smuzhiyun                };
34