diff options
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
| -rw-r--r-- | Documentation/devicetree/bindings/serial/8250.txt (renamed from Documentation/devicetree/bindings/serial/of-serial.txt) | 0 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt | 19 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt | 16 |
3 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/of-serial.txt b/Documentation/devicetree/bindings/serial/8250.txt index 91d5ab0e60fc..91d5ab0e60fc 100644 --- a/Documentation/devicetree/bindings/serial/of-serial.txt +++ b/Documentation/devicetree/bindings/serial/8250.txt | |||
diff --git a/Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt b/Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt new file mode 100644 index 000000000000..ebcbb62c0a76 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/axis,etraxfs-uart.txt | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | ETRAX FS UART | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible : "axis,etraxfs-uart" | ||
| 5 | - reg: offset and length of the register set for the device. | ||
| 6 | - interrupts: device interrupt | ||
| 7 | |||
| 8 | Optional properties: | ||
| 9 | - {dtr,dsr,ri,cd}-gpios: specify a GPIO for DTR/DSR/RI/CD | ||
| 10 | line respectively. | ||
| 11 | |||
| 12 | Example: | ||
| 13 | |||
| 14 | serial@b00260000 { | ||
| 15 | compatible = "axis,etraxfs-uart"; | ||
| 16 | reg = <0xb0026000 0x1000>; | ||
| 17 | interrupts = <68>; | ||
| 18 | status = "disabled"; | ||
| 19 | }; | ||
diff --git a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt index 7f76214f728a..289c40ed7470 100644 --- a/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt +++ b/Documentation/devicetree/bindings/serial/snps-dw-apb-uart.txt | |||
| @@ -21,6 +21,18 @@ Optional properties: | |||
| 21 | - reg-io-width : the size (in bytes) of the IO accesses that should be | 21 | - reg-io-width : the size (in bytes) of the IO accesses that should be |
| 22 | performed on the device. If this property is not present then single byte | 22 | performed on the device. If this property is not present then single byte |
| 23 | accesses are used. | 23 | accesses are used. |
| 24 | - dcd-override : Override the DCD modem status signal. This signal will always | ||
| 25 | be reported as active instead of being obtained from the modem status | ||
| 26 | register. Define this if your serial port does not use this pin. | ||
| 27 | - dsr-override : Override the DTS modem status signal. This signal will always | ||
| 28 | be reported as active instead of being obtained from the modem status | ||
| 29 | register. Define this if your serial port does not use this pin. | ||
| 30 | - cts-override : Override the CTS modem status signal. This signal will always | ||
| 31 | be reported as active instead of being obtained from the modem status | ||
| 32 | register. Define this if your serial port does not use this pin. | ||
| 33 | - ri-override : Override the RI modem status signal. This signal will always be | ||
| 34 | reported as inactive instead of being obtained from the modem status register. | ||
| 35 | Define this if your serial port does not use this pin. | ||
| 24 | 36 | ||
| 25 | Example: | 37 | Example: |
| 26 | 38 | ||
| @@ -31,6 +43,10 @@ Example: | |||
| 31 | interrupts = <10>; | 43 | interrupts = <10>; |
| 32 | reg-shift = <2>; | 44 | reg-shift = <2>; |
| 33 | reg-io-width = <4>; | 45 | reg-io-width = <4>; |
| 46 | dcd-override; | ||
| 47 | dsr-override; | ||
| 48 | cts-override; | ||
| 49 | ri-override; | ||
| 34 | }; | 50 | }; |
| 35 | 51 | ||
| 36 | Example with one clock: | 52 | Example with one clock: |
