2011-06-27 13:32:33 +01:00
* UART (Universal Asynchronous Receiver/Transmitter)
Required properties:
- compatible : one of:
- "ns8250"
- "ns16450"
- "ns16550a"
- "ns16550"
- "ns16750"
- "ns16850"
2015-01-30 15:11:04 -07:00
- For Tegra20, must contain "nvidia,tegra20-uart"
- For other Tegra, must contain '"nvidia,<chip>-uart",
"nvidia,tegra20-uart"' where <chip> is tegra30, tegra114, tegra124,
tegra132, or tegra210.
2012-06-11 21:57:14 +02:00
- "nxp,lpc3220-uart"
2014-10-16 22:43:27 +02:00
- "ralink,rt2880-uart"
2017-08-21 01:17:55 +08:00
- For MediaTek BTIF, must contain '"mediatek,<chip>-btif",
"mediatek,mtk-btif"' where <chip> is mt7622, mt7623.
2013-03-07 10:28:37 +08:00
- "altr,16550-FIFO32"
- "altr,16550-FIFO64"
- "altr,16550-FIFO128"
2014-09-05 10:35:14 +08:00
- "fsl,16550-FIFO64"
2015-01-25 02:42:49 +05:30
- "fsl,ns16550"
2017-01-05 12:54:17 -06:00
- "ti,da830-uart"
2017-05-02 17:15:43 +09:30
- "aspeed,ast2400-vuart"
- "aspeed,ast2500-vuart"
2018-03-05 22:17:38 +10:30
- "nuvoton,npcm750-uart"
2011-06-27 13:32:33 +01:00
- "serial" if the port type is unknown.
- reg : offset and length of the register set for the device.
- interrupts : should contain uart interrupt.
2012-10-22 11:58:02 -04:00
- clock-frequency : the input clock frequency for the UART
or
clocks phandle to refer to the clk used as per Documentation/devicetree
/bindings/clock/clock-bindings.txt
2011-06-27 13:32:33 +01:00
Optional properties:
- current-speed : the current active speed of the UART.
- reg-offset : offset to apply to the mapbase from the start of the registers.
- reg-shift : quantity to shift the register offsets by.
2011-06-27 13:32:34 +01:00
- reg-io-width : the size (in bytes) of the IO accesses that should be
performed on the device. There are some systems that require 32-bit
accesses to the UART (e.g. TI davinci).
2011-06-27 13:32:33 +01:00
- used-by-rtas : set to indicate that the port is in use by the OpenFirmware
RTAS and should not be registered.
2012-07-17 17:08:31 +01:00
- no-loopback-test: set to indicate that the port does not implements loopback
test mode
2013-03-25 13:34:45 +02:00
- fifo-size: the fifo size of the UART.
2013-03-25 15:51:15 +02:00
- auto-flow-control: one way to enable automatic flow control support. The
driver is allowed to detect support for the capability even without this
property.
2016-09-22 14:56:14 -05:00
- tx-threshold: Specify the TX FIFO low water indication for parts with
programmable TX FIFO thresholds.
2017-05-29 19:27:52 +09:30
- resets : phandle + reset specifier pairs
2011-06-27 13:32:33 +01:00
2015-01-25 02:42:49 +05:30
Note:
* fsl,ns16550:
------------
Freescale DUART is very similar to the PC16552D (and to a
pair of NS16550A), albeit with some nonstandard behavior such as
erratum A-004737 (relating to incorrect BRK handling).
Represents a single port that is compatible with the DUART found
on many Freescale chips (examples include mpc8349, mpc8548,
mpc8641d, p4080 and ls2085a).
2011-06-27 13:32:33 +01:00
Example:
uart@80230000 {
compatible = "ns8250";
reg = <0x80230000 0x100>;
clock-frequency = <3686400>;
interrupts = <10>;
reg-shift = <2>;
};