xref: /freebsd/sys/contrib/device-tree/Bindings/serial/omap_serial.txt (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1OMAP UART controller
2
3Required 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
19Optional 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
29Example:
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                };
40