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