Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 1 | * Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART) |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "fsl,<soc>-uart" |
| 5 | - reg : Address and length of the register set for the device |
| 6 | - interrupts : Should contain uart interrupt |
| 7 | |
| 8 | Optional properties: |
Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 9 | - fsl,irda-mode : Indicate the uart supports irda mode |
Huang Shijie | 20ff2fe | 2013-05-30 14:07:12 +0800 | [diff] [blame] | 10 | - fsl,dte-mode : Indicate the uart works in DTE mode. The uart works |
Fabio Estevam | 32e593b | 2016-02-05 17:44:22 -0200 | [diff] [blame] | 11 | in DCE mode by default. |
Uwe Kleine-König | 4038e34 | 2017-09-20 14:29:36 +0200 | [diff] [blame] | 12 | - rs485-rts-delay, rs485-rx-during-tx, linux,rs485-enabled-at-boot-time: see rs485.txt |
Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 13 | |
Fabio Estevam | 25dc3bb | 2017-01-09 17:30:02 -0200 | [diff] [blame] | 14 | Please check Documentation/devicetree/bindings/serial/serial.txt |
| 15 | for the complete list of generic properties. |
| 16 | |
Kumar Gala | 3e6648c | 2013-08-28 14:08:22 -0500 | [diff] [blame] | 17 | Note: Each uart controller should have an alias correctly numbered |
| 18 | in "aliases" node. |
| 19 | |
Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 20 | Example: |
| 21 | |
Kumar Gala | 3e6648c | 2013-08-28 14:08:22 -0500 | [diff] [blame] | 22 | aliases { |
| 23 | serial0 = &uart1; |
| 24 | }; |
| 25 | |
| 26 | uart1: serial@73fbc000 { |
Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 27 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; |
| 28 | reg = <0x73fbc000 0x4000>; |
| 29 | interrupts = <31>; |
Geert Uytterhoeven | 1006ed7 | 2016-04-22 17:22:21 +0200 | [diff] [blame] | 30 | uart-has-rtscts; |
Huang Shijie | 20ff2fe | 2013-05-30 14:07:12 +0800 | [diff] [blame] | 31 | fsl,dte-mode; |
Shawn Guo | 22698aa | 2011-06-25 02:04:34 +0800 | [diff] [blame] | 32 | }; |