4 $id: http://devicetree.org/schemas/serial/8250.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: UART (Universal Asynchronous Receiver/Transmitter)
14 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
20 - aspeed,lpc-interrupts
22 - aspeed,sirq-polarity-sense
26 const: aspeed,ast2500-vuart
49 - required: [ clock-frequency ]
50 - required: [ clocks ]
60 - const: aspeed,ast2400-vuart
61 - const: aspeed,ast2500-vuart
62 - const: intel,xscale-uart
63 - const: mrvl,pxa-uart
64 - const: nuvoton,wpcm450-uart
65 - const: nuvoton,npcm750-uart
66 - const: nvidia,tegra20-uart
67 - const: nxp,lpc3220-uart
83 - opencores,uart16550-rtlsvn105
89 - cavium,octeon-3860-uart
90 - xlnx,xps-uart16550-2.00.b
93 - ns16550 # Deprecated, unless the FIFO really is broken
97 - nuvoton,npcm845-uart
98 - const: nuvoton,npcm750-uart
101 - ralink,mt7620a-uart
104 - const: ralink,rt2880-uart
106 - ns16550 # Deprecated, unless the FIFO really is broken
110 - mediatek,mt7622-btif
111 - mediatek,mt7623-btif
112 - const: mediatek,mtk-btif
114 - const: mrvl,mmp-uart
115 - const: intel,xscale-uart
118 - nvidia,tegra30-uart
119 - nvidia,tegra114-uart
120 - nvidia,tegra124-uart
121 - nvidia,tegra210-uart
122 - nvidia,tegra186-uart
123 - nvidia,tegra194-uart
124 - nvidia,tegra234-uart
125 - const: nvidia,tegra20-uart
133 clock-frequency: true
142 $ref: /schemas/types.yaml#/definitions/uint32
143 description: The current active speed of the UART.
146 $ref: /schemas/types.yaml#/definitions/uint32
148 Offset to apply to the mapbase from the start of the registers.
151 description: Quantity to shift the register offsets by.
155 The size (in bytes) of the IO accesses that should be performed on the
156 device. There are some systems that require 32-bit accesses to the
157 UART (e.g. TI davinci).
162 Set to indicate that the port is in use by the OpenFirmware RTAS and
163 should not be registered.
168 Set to indicate that the port does not implement loopback test mode.
171 $ref: /schemas/types.yaml#/definitions/uint32
172 description: The fifo size of the UART.
177 One way to enable automatic flow control support. The driver is
178 allowed to detect support for the capability even without this
183 Specify the TX FIFO low water indication for parts with programmable
188 How long to pause uart rx when input overrun is encountered.
197 aspeed,sirq-polarity-sense:
198 $ref: /schemas/types.yaml#/definitions/phandle-array
200 Phandle to aspeed,ast2500-scu compatible syscon alongside register
201 offset and bit number to identify how the SIRQ polarity should be
202 configured. One possible data source is the LPC/eSPI mode bit. Only
203 applicable to aspeed,ast2500-vuart.
207 $ref: /schemas/types.yaml#/definitions/uint32-array
210 The VUART LPC address. Only applicable to aspeed,ast2500-vuart.
212 aspeed,lpc-interrupts:
213 $ref: /schemas/types.yaml#/definitions/uint32-array
217 A 2-cell property describing the VUART SIRQ number and SIRQ
218 polarity (IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_LEVEL_HIGH). Only
219 applicable to aspeed,ast2500-vuart.
225 unevaluatedProperties: false
230 compatible = "ns8250";
231 reg = <0x80230000 0x100>;
234 clock-frequency = <48000000>;
237 #include <dt-bindings/gpio/gpio.h>
239 compatible = "andestech,uart16550", "ns16550a";
240 reg = <0x49042000 0x400>;
242 clock-frequency = <48000000>;
243 cts-gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
244 rts-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
245 dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
246 dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
247 dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
248 rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
251 #include <dt-bindings/clock/aspeed-clock.h>
252 #include <dt-bindings/interrupt-controller/irq.h>
254 compatible = "aspeed,ast2500-vuart";
255 reg = <0x1e787000 0x40>;
258 clocks = <&syscon ASPEED_CLK_APB>;
260 aspeed,lpc-io-reg = <0x3f8>;
261 aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_LOW>;