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