Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serial / omap_serial.txt
1 OMAP UART controller
2
3 Required properties:
4 - compatible : should be "ti,j721e-uart", "ti,am654-uart" for J721E controllers
5 - compatible : should be "ti,am654-uart" for AM654 controllers
6 - compatible : should be "ti,omap2-uart" for OMAP2 controllers
7 - compatible : should be "ti,omap3-uart" for OMAP3 controllers
8 - compatible : should be "ti,omap4-uart" for OMAP4 controllers
9 - compatible : should be "ti,am4372-uart" for AM437x controllers
10 - compatible : should be "ti,am3352-uart" for AM335x controllers
11 - compatible : should be "ti,dra742-uart" for DRA7x controllers
12 - reg : address and length of the register space
13 - interrupts or interrupts-extended : Should contain the uart interrupt
14                                       specifier or both the interrupt
15                                       controller phandle and interrupt
16                                       specifier.
17 - ti,hwmods : Must be "uart<n>", n being the instance number (1-based)
18
19 Optional properties:
20 - clock-frequency : frequency of the clock input to the UART
21 - dmas : DMA specifier, consisting of a phandle to the DMA controller
22          node and a DMA channel number.
23 - dma-names : "rx" for receive channel, "tx" for transmit channel.
24 - rs485-rts-delay, rs485-rx-during-tx, linux,rs485-enabled-at-boot-time: see rs485.txt
25 - rs485-rts-active-high: drive RTS high when sending (default is low).
26 - clocks: phandle to the functional clock as per
27   Documentation/devicetree/bindings/clock/clock-bindings.txt
28
29 Example:
30
31                 uart4: serial@49042000 {
32                         compatible = "ti,omap3-uart";
33                         reg = <0x49042000 0x400>;
34                         interrupts = <80>;
35                         dmas = <&sdma 81 &sdma 82>;
36                         dma-names = "tx", "rx";
37                         ti,hwmods = "uart4";
38                         clock-frequency = <48000000>;
39                 };