Thomas Chou | 94d8eab | 2015-12-14 20:45:08 +0800 | [diff] [blame] | 1 | OMAP UART controller |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : should be "ti,omap2-uart" for OMAP2 controllers |
| 5 | - compatible : should be "ti,omap3-uart" for OMAP3 controllers |
| 6 | - compatible : should be "ti,omap4-uart" for OMAP4 controllers |
| 7 | - compatible : should be "ti,am4372-uart" for AM437x controllers |
| 8 | - compatible : should be "ti,am3352-uart" for AM335x controllers |
| 9 | - compatible : should be "ti,dra742-uart" for DRA7x controllers |
| 10 | - reg : address and length of the register space |
| 11 | - interrupts or interrupts-extended : Should contain the uart interrupt |
| 12 | specifier or both the interrupt |
| 13 | controller phandle and interrupt |
| 14 | specifier. |
| 15 | - ti,hwmods : Must be "uart<n>", n being the instance number (1-based) |
| 16 | |
| 17 | Optional properties: |
| 18 | - clock-frequency : frequency of the clock input to the UART |
| 19 | - dmas : DMA specifier, consisting of a phandle to the DMA controller |
| 20 | node and a DMA channel number. |
| 21 | - dma-names : "rx" for receive channel, "tx" for transmit channel. |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | uart4: serial@49042000 { |
| 26 | compatible = "ti,omap3-uart"; |
| 27 | reg = <0x49042000 0x400>; |
| 28 | interrupts = <80>; |
| 29 | dmas = <&sdma 81 &sdma 82>; |
| 30 | dma-names = "tx", "rx"; |
| 31 | ti,hwmods = "uart4"; |
| 32 | clock-frequency = <48000000>; |
| 33 | }; |