Serial bindings
Single-page view · as markdown
UART (Universal Asynchronous Receiver/Transmitter)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/8250.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "devicetree@vger.kernel.org"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/memory-controllers/mc-peripheral-props.yaml#
Rule 3 #
Condition (
if) #At least one of these rules must match (
anyOf)Rule 1
Rule 2
Rule 3
Required in this object (
required):"aspeed,sirq-polarity-sense"When the condition matches (
then) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"aspeed,ast2500-vuart"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mrvl,mmp-uart"When the condition matches (
then) #Properties and child nodes (
properties)
reg-shift— required hereExact value (
const):2
Rule 5 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereArray item rules (
items)Item 1
Allowed values (
enum):"ns8250","ns16450","ns16550","ns16550a"When the condition matches (
then) #Exactly one of these rules must match (
oneOf)Rule 1
Rule 2
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,lpc1850-uart"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uartclk"Item 2
Exact value (
const):"reg"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"spacemit,k1-uart"When the condition matches (
then) #Properties and child nodes (
properties)
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"core"Item 2
Exact value (
const):"bus"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"spacemit,k1-uart","nxp,lpc1850-uart"When the condition matches (
then) #Required in this object (
required):"clocks","clock-names"Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2
clock-names— required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
Properties and child nodes (properties) #
compatible — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"ns8250"
Rule 2
Exact value (
const):"ns16450"
Rule 3
Exact value (
const):"ns16550"
Rule 4
Exact value (
const):"ns16550a"
Rule 5
Exact value (
const):"ns16850"
Rule 6
Exact value (
const):"aspeed,ast2400-vuart"
Rule 7
Exact value (
const):"aspeed,ast2500-vuart"
Rule 8
Exact value (
const):"intel,xscale-uart"
Rule 9
Exact value (
const):"mrvl,pxa-uart"
Rule 10
Exact value (
const):"nuvoton,wpcm450-uart"
Rule 11
Exact value (
const):"nuvoton,npcm750-uart"
Rule 12
Exact value (
const):"nvidia,tegra20-uart"
Rule 13
Exact value (
const):"nxp,lpc3220-uart"
Rule 14
Array item rules (
items)Item 1
Allowed values (
enum):"exar,xr16l2552","exar,xr16l2551","exar,xr16l2550"Item 2
Exact value (
const):"ns8250"
Rule 15
Array item rules (
items)Item 1
Allowed values (
enum):"altr,16550-FIFO32","altr,16550-FIFO64","altr,16550-FIFO128","fsl,16550-FIFO64","andestech,uart16550","nxp,lpc1850-uart","opencores,uart16550-rtlsvn105","ti,da830-uart","loongson,ls2k0500-uart","loongson,ls2k1500-uart"Item 2
Exact value (
const):"ns16550a"
Rule 16
Array item rules (
items)Item 1
Allowed values (
enum):"ns16750","fsl,ns16550","cavium,octeon-3860-uart","xlnx,xps-uart16550-2.00.b","ralink,rt2880-uart"Item 2
Rule 17
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nuvoton,npcm750-uart"
Rule 18
Array item rules (
items)Item 1
Allowed values (
enum):"ralink,mt7620a-uart","ralink,rt3052-uart","ralink,rt3883-uart"Item 2
Exact value (
const):"ralink,rt2880-uart"Item 3
Rule 19
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt7622-btif","mediatek,mt7623-btif"Item 2
Exact value (
const):"mediatek,mtk-btif"
Rule 20
Array item rules (
items)Item 1
Allowed values (
enum):"mrvl,mmp-uart","spacemit,k1-uart","spacemit,k3-uart"Item 2
Exact value (
const):"intel,xscale-uart"
Rule 21
Array item rules (
items)Item 1
Allowed values (
enum):"nvidia,tegra30-uart","nvidia,tegra114-uart","nvidia,tegra124-uart","nvidia,tegra210-uart","nvidia,tegra186-uart","nvidia,tegra194-uart","nvidia,tegra234-uart"Item 2
Exact value (
const):"nvidia,tegra20-uart"
Rule 22
Array item rules (
items)Item 1
Item 2
Exact value (
const):"loongson,ls2k0500-uart"Item 3
Exact value (
const):"ns16550a"
Rule 23
Array item rules (
items)Item 1
Allowed values (
enum):"loongson,ls3a5000-uart","loongson,ls3a6000-uart","loongson,ls2k2000-uart"Item 2
Exact value (
const):"loongson,ls2k1500-uart"Item 3
Exact value (
const):"ns16550a"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
The core function clock
Item 2
An optional bus clock
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"core"Item 2
Exact value (
const):"bus"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"uartclk"Item 2
Exact value (
const):"reg"
dmas — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
dma-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
resets — not listed as required here #
Maximum number of items (maxItems): 1
current-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The current active speed of the UART.
reg-offset — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Offset to apply to the mapbase from the start of the registers.
reg-shift — not listed as required here #
Quantity to shift the register offsets by.
reg-io-width — not listed as required here #
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).
used-by-rtas — not listed as required here #
Value type (type): "boolean"
Set to indicate that the port is in use by the OpenFirmware RTAS and should not be registered.
no-loopback-test — not listed as required here #
Value type (type): "boolean"
Set to indicate that the port does not implement loopback test mode.
fifo-size — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The fifo size of the UART.
auto-flow-control — not listed as required here #
Value type (type): "boolean"
One way to enable automatic flow control support. The driver is allowed to detect support for the capability even without this property.
tx-threshold — not listed as required here #
Specify the TX FIFO low water indication for parts with programmable TX FIFO thresholds.
overrun-throttle-ms — not listed as required here #
How long to pause uart rx when input overrun is encountered.
rts-gpios — not listed as required here #
true — No constraints added by this property rule.
cts-gpios — not listed as required here #
true — No constraints added by this property rule.
dtr-gpios — not listed as required here #
true — No constraints added by this property rule.
dsr-gpios — not listed as required here #
true — No constraints added by this property rule.
rng-gpios — not listed as required here #
true — No constraints added by this property rule.
dcd-gpios — not listed as required here #
true — No constraints added by this property rule.
aspeed,sirq-polarity-sense — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array
Phandle to aspeed,ast2500-scu compatible syscon alongside register offset and bit number to identify how the SIRQ polarity should be configured. One possible data source is the LPC/eSPI mode bit. Only applicable to aspeed,ast2500-vuart.
Deprecated (deprecated): true
aspeed,lpc-io-reg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 1
The VUART LPC address. Only applicable to aspeed,ast2500-vuart.
aspeed,lpc-interrupts — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
A 2-cell property describing the VUART SIRQ number and SIRQ polarity (IRQ_TYPE_LEVEL_LOW or IRQ_TYPE_LEVEL_HIGH). Only applicable to aspeed,ast2500-vuart.
Required in this object (required): "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@80230000 {
compatible = "ns8250";
reg = <0x80230000 0x100>;
interrupts = <10>;
reg-shift = <2>;
clock-frequency = <48000000>;
};
#include <dt-bindings/gpio/gpio.h>
serial@49042000 {
compatible = "andestech,uart16550", "ns16550a";
reg = <0x49042000 0x400>;
interrupts = <80>;
clock-frequency = <48000000>;
cts-gpios = <&gpio3 5 GPIO_ACTIVE_LOW>;
rts-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
dtr-gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
dsr-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
dcd-gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
rng-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
#include <dt-bindings/clock/aspeed-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
serial@1e787000 {
compatible = "aspeed,ast2500-vuart";
reg = <0x1e787000 0x40>;
reg-shift = <2>;
interrupts = <8>;
clocks = <&syscon ASPEED_CLK_APB>;
no-loopback-test;
aspeed,lpc-io-reg = <0x3f8>;
aspeed,lpc-interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: Copyright 2020 Lubomir Rintel <lkundrak@v3.sk>
Line 139: Deprecated, unless the FIFO really is broken
Line 152: Deprecated, unless the FIFO really is broken
8250 compliant UARTs on TI's OMAP2+ and K3 SoCs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/8250_omap.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vignesh Raghavendra <vigneshr@ti.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/serial/rs485.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"ti,am3352-uart","ti,am4372-uart","ti,am654-uart","ti,dra742-uart","ti,omap2-uart","ti,omap3-uart","ti,omap4-uart"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"ti,am654-uart"
ti,hwmods — not listed as required here #
Must be "uart<n>", n being the instance number (1-based) This property is applicable only on legacy platforms mainly omap2/3 and ti81xx and should not be used on other platforms.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Deprecated (deprecated): true
dmas — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
First entry is module IRQ required for normal IO operation. Second entry is optional and corresponds to system wakeup IRQ where supported.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "fclk"
rs485-rts-active-high — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
true — No constraints added by this property rule.
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
current-speed — not listed as required here #
true — No constraints added by this property rule.
overrun-throttle-ms — not listed as required here #
true — No constraints added by this property rule.
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
pinctrl-0 — not listed as required here #
Default pinctrl state
pinctrl-1 — not listed as required here #
Wakeup pinctrl state
pinctrl-names — not listed as required here #
When present should contain at least "default" describing the default pin states. The second state called "wakeup" describes the pins in their wakeup configuration required to exit sleep states.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"wakeup"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"ti,omap2-uart","ti,omap3-uart","ti,omap4-uart"
When the condition matches (then) #
Properties and child nodes (
properties) #
ti,hwmods— not listed as required here #Array item rules (
items)Item 1
String pattern (
pattern):"^uart([1-9])$"
When the condition does not match (else) #
Properties and child nodes (
properties) #
ti,hwmods— not listed as required here #
false— Not permitted by this property rule.
Examples (examples) #
serial@49042000 {
compatible = "ti,omap3-uart";
reg = <0x49042000 0x400>;
interrupts = <80>;
dmas = <&sdma 81 &sdma 82>;
dma-names = "tx", "rx";
ti,hwmods = "uart4";
clock-frequency = <48000000>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Actions Semi Owl UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/actions,owl-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kanak Shilledar <kanakshilledar111@protonmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"actions,s500-uart","actions,s900-uart"
Item 2
Exact value (
const):"actions,owl-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/actions,s500-cmu.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
uart0: serial@b0126000 {
compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0126000 0x1000>;
clocks = <&cmu CLK_UART0>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Altera JTAG UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/altr,juart-1.0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "altr,juart-1.0"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Altera UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/altr,uart-1.0.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Dinh Nguyen <dinguyen@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "altr,uart-1.0"
clock-frequency — not listed as required here #
Frequency of the clock input to the UART.
Required in this object (required): "compatible"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Amlogic Meson SoC UART Serial Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/amlogic,meson-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>"
The Amlogic Meson SoC UART Serial Interface is present on a large range of SoCs, and can be present either in the "Always-On" power domain or the "Everything-Else" power domain.
The particularity of the "Always-On" Serial Interface is that the hardware is active since power-on and does not need any clock gating and is usable as very early serial console.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Always-on power domain UART controller
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,meson6-uart","amlogic,meson8-uart","amlogic,meson8b-uart","amlogic,meson-gx-uart","amlogic,meson-s4-uart","amlogic,meson-a1-uart"Item 2
Exact value (
const):"amlogic,meson-ao-uart"
Rule 2
Always-on power domain UART controller on G12A SoCs
Array item rules (
items)Item 1
Exact value (
const):"amlogic,meson-g12a-uart"Item 2
Exact value (
const):"amlogic,meson-gx-uart"Item 3
Exact value (
const):"amlogic,meson-ao-uart"
Rule 3
Everything-Else power domain UART controller
Allowed values (
enum):"amlogic,meson6-uart","amlogic,meson8-uart","amlogic,meson8b-uart","amlogic,meson-gx-uart","amlogic,meson-s4-uart","amlogic,meson-a1-uart"
Rule 4
Everything-Else power domain UART controller on G12A SoCs
Array item rules (
items)Item 1
Exact value (
const):"amlogic,meson-g12a-uart"Item 2
Exact value (
const):"amlogic,meson-gx-uart"
Rule 5
UART controller on S4 compatible SoCs
Array item rules (
items)Item 1
Allowed values (
enum):"amlogic,a4-uart","amlogic,s6-uart","amlogic,s7-uart","amlogic,s7d-uart","amlogic,t7-uart"Item 2
Exact value (
const):"amlogic,meson-s4-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
external xtal clock identifier
Item 2
the bus core clock, either the clk81 clock or the gate clock
Item 3
the source of the baudrate generator, can be either the xtal or the pclk
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"xtal"
Item 2
Exact value (
const):"pclk"
Item 3
Exact value (
const):"baud"
fifo-size — not listed as required here #
The fifo size supported by the UART channel.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 64, 128
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@84c0 {
compatible = "amlogic,meson-gx-uart";
reg = <0x84c0 0x14>;
interrupts = <26>;
clocks = <&xtal>, <&pclk>, <&xtal>;
clock-names = "xtal", "pclk", "baud";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 2: Copyright 2019 BayLibre, SAS
ARM DCC (Data communication channel) serial emulation
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/arm,dcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"
ARM DCC (Data communication channel) serial emulation interface available via JTAG can be also used as one of serial line tightly coupled with every ARM CPU available in the system.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,dcc"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial {
compatible = "arm,dcc";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Arm MPS2 UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/arm,mps2-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vladimir Murzin <vladimir.murzin@arm.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,mps2-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
RX interrupt
Item 2
TX interrupt
Item 3
Overrun interrupt
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@40004000 {
compatible = "arm,mps2-uart";
reg = <0x40004000 0x1000>;
interrupts = <0>, <1>, <12>;
clocks = <&sysclk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ARM SBSA UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/arm,sbsa-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andre Przywara <andre.przywara@arm.com>"
This UART uses a subset of the PL011 registers and consequently lives in the PL011 driver. It's baudrate and other communication parameters cannot be adjusted at runtime, so it lacks a clock specifier here.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "arm,sbsa-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
current-speed — required here #
fixed baud rate set by the firmware
Required in this object (required): "compatible", "reg", "interrupts", "current-speed"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Atmel Universal Synchronous Asynchronous Receiver/Transmitter (USART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/atmel,at91-usart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Richard Genoud <richard.genoud@bootlin.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"atmel,at91rm9200-usart","atmel,at91sam9260-usart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"atmel,at91rm9200-dbgu"Item 2
Exact value (
const):"atmel,at91rm9200-usart"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"atmel,at91sam9260-dbgu"Item 2
Exact value (
const):"atmel,at91sam9260-usart"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,sam9x60-usart","microchip,sam9x7-usart","microchip,sama7d65-usart"Item 2
Exact value (
const):"atmel,at91sam9260-usart"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"microchip,sam9x60-dbgu"Item 2
Exact value (
const):"microchip,sam9x60-usart"Item 3
Exact value (
const):"atmel,at91sam9260-dbgu"Item 4
Exact value (
const):"atmel,at91sam9260-usart"
Rule 6
Array item rules (
items)Item 1
Exact value (
const):"microchip,sam9x7-dbgu"Item 2
Exact value (
const):"atmel,at91sam9260-dbgu"Item 3
Exact value (
const):"microchip,sam9x7-usart"Item 4
Exact value (
const):"atmel,at91sam9260-usart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"usart"
Item 2
Exact value (
const):"gclk"
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
USART Peripheral Clock
Item 2
USART Generic Clock
dmas — not listed as required here #
Array item rules (items) #
Item 1
TX DMA Channel
Item 2
RX DMA Channel
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
atmel,usart-mode — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Must be either <AT91_USART_MODE_SPI> for SPI or <AT91_USART_MODE_SERIAL> for USART (found in dt-bindings/mfd/at91-usart.h).
atmel,use-dma-rx — not listed as required here #
Value type (type): "boolean"
use of PDC or DMA for receiving data
atmel,use-dma-tx — not listed as required here #
Value type (type): "boolean"
use of PDC or DMA for transmitting data
atmel,fifo-size — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum number of data the RX and TX FIFOs can store for FIFO capable USARTS.
Required in this object (required): "compatible", "reg", "interrupts", "clock-names", "clocks", "atmel,usart-mode"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
atmel,usart-mode— not listed as required hereExact value (
const):1When the condition matches (
then) #All of these rules must match (
allOf)Rule 1
Shared schema rule (
$ref):/schemas/spi/spi-controller.yaml#Properties and child nodes (
properties)
atmel,use-dma-rx— not listed as required here
false— Not permitted by this property rule.
atmel,use-dma-tx— not listed as required here
false— Not permitted by this property rule.
atmel,fifo-size— not listed as required here
false— Not permitted by this property rule.
#size-cells— required hereExact value (
const):0
#address-cells— required hereExact value (
const):1Required in this object (
required):"#size-cells","#address-cells"When the condition does not match (
else) #All of these rules must match (
allOf)Rule 1
Shared schema rule (
$ref):/schemas/serial/serial.yaml#Rule 2
Shared schema rule (
$ref):/schemas/serial/rs485.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mfd/at91-usart.h>
#include <dt-bindings/dma/at91.h>
/* use PDC */
usart0: serial@fff8c000 {
compatible = "atmel,at91sam9260-usart";
reg = <0xfff8c000 0x4000>;
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <7>;
clocks = <&usart0_clk>;
clock-names = "usart";
atmel,use-dma-rx;
atmel,use-dma-tx;
rts-gpios = <&pioD 15 GPIO_ACTIVE_LOW>;
cts-gpios = <&pioD 16 GPIO_ACTIVE_LOW>;
dtr-gpios = <&pioD 17 GPIO_ACTIVE_LOW>;
dsr-gpios = <&pioD 18 GPIO_ACTIVE_LOW>;
dcd-gpios = <&pioD 20 GPIO_ACTIVE_LOW>;
rng-gpios = <&pioD 19 GPIO_ACTIVE_LOW>;
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mfd/at91-usart.h>
#include <dt-bindings/dma/at91.h>
/* use DMA */
usart1: serial@f001c000 {
compatible = "atmel,at91sam9260-usart";
reg = <0xf001c000 0x100>;
atmel,usart-mode = <AT91_USART_MODE_SERIAL>;
interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
clocks = <&usart0_clk>;
clock-names = "usart";
atmel,use-dma-rx;
atmel,use-dma-tx;
dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
<&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
dma-names = "tx", "rx";
atmel,fifo-size = <32>;
};
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/mfd/at91-usart.h>
#include <dt-bindings/dma/at91.h>
/* SPI mode */
spi0: spi@f001c000 {
compatible = "atmel,at91sam9260-usart";
reg = <0xf001c000 0x100>;
#address-cells = <1>;
#size-cells = <0>;
atmel,usart-mode = <AT91_USART_MODE_SPI>;
interrupts = <12 IRQ_TYPE_LEVEL_HIGH 5>;
clocks = <&usart0_clk>;
clock-names = "usart";
dmas = <&dma0 2 AT91_DMA_CFG_PER_ID(3)>,
<&dma0 2 (AT91_DMA_CFG_PER_ID(4) | AT91_DMA_CFG_FIFOCFG_ASAP)>;
dma-names = "tx", "rx";
cs-gpios = <&pioB 3 GPIO_ACTIVE_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries
BCM2835 AUXILIARY UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/brcm,bcm2835-aux-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pratik Farkase <pratikfarkase94@gmail.com>", "Florian Fainelli <florian.fainelli@broadcom.com>", "Stefan Wahren <wahrenst@gmx.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "brcm,bcm2835-aux-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/bcm2835-aux.h>
serial@7e215040 {
compatible = "brcm,bcm2835-aux-uart";
reg = <0x7e215040 0x40>;
interrupts = <1 29>;
clocks = <&aux BCM2835_AUX_CLOCK_UART>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
BCM63xx UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/brcm,bcm6345-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rafał Miłecki <rafal@milecki.pl>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Exact value (const): "brcm,bcm6345-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "refclk"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "reg", "interrupts", "clocks"
Examples (examples) #
serial@14e00520 {
compatible = "brcm,bcm6345-uart";
reg = <0x14e00520 0x18>;
interrupt-parent = <&periph_intc>;
interrupts = <2>;
clocks = <&periph_clk>;
clock-names = "refclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Broadcom 8250 based serial port
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/brcm,bcm7271-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Al Cooper <alcooperx@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
The Broadcom UART is based on the basic 8250 UART but with enhancements for more accurate high speed baud rates and support for DMA.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"brcm,bcm7271-uart","brcm,bcm7278-uart"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
reg-names — required here #
The UART register block and optionally the DMA register blocks.
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"uart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"uart"Item 2
Exact value (
const):"dma_arb"Item 3
Exact value (
const):"dma_rx"Item 4
Exact value (
const):"dma_tx"Item 5
Exact value (
const):"dma_intr2"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "sw_baud"
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — required here #
The UART interrupt and optionally the DMA interrupt.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"uart"
Item 2
Exact value (
const):"dma"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@840d000 {
compatible = "brcm,bcm7271-uart";
reg = <0x840d000 0x20>;
reg-names = "uart";
interrupts = <0x0 0x62 0x4>;
interrupt-names = "uart";
clocks = <&scmi_clk 190>;
clock-names = "sw_baud";
};
serial@840e000 {
compatible = "brcm,bcm7271-uart";
reg = <0x840e000 0x20>,
<0x840e080 0x8>,
<0x840e100 0xa8>,
<0x840e200 0x4c>,
<0x840e300 0x30>;
reg-names = "uart", "dma_arb", "dma_rx", "dma_tx", "dma_intr2";
interrupts = <0x0 0x62 0x4>, <0x0 0x75 0x4>;
interrupt-names = "uart", "dma";
clocks = <&scmi_clk 190>;
clock-names = "sw_baud";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cadence UART Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/cdns,uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
UART controller for Zynq-7xxx SoC
Array item rules (
items)Item 1
Exact value (
const):"xlnx,xuartps"Item 2
Exact value (
const):"cdns,uart-r1p8"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"axiado,ax3000-uart","xlnx,zynqmp-uart"Item 2
Exact value (
const):"cdns,uart-r1p12"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"uart_clk"
Item 2
Exact value (
const):"pclk"
cts-override — not listed as required here #
Override the CTS modem status signal. This signal will always be reported as active instead of being obtained from the modem status register. Define this if your serial port does not use this pin.
Value type (type): "boolean"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Shared schema rule (
$ref):rs485.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"cdns,uart-r1p8"When the condition matches (
then) #Properties and child nodes (
properties)
power-domains— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
uart0: serial@e0000000 {
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
clocks = <&clkc 23>, <&clkc 40>;
clock-names = "uart_clk", "pclk";
reg = <0xe0000000 0x1000>;
interrupts = <0 27 4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/cirrus,ep7209-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexander Shiyan <shc_work@mail.ru>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cirrus,ep7209-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
UART TX interrupt
Item 2
UART RX interrupt
clocks — required here #
Maximum number of items (maxItems): 1
syscon — required here #
Phandle to SYSCON node, which contains UART control bits.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "syscon"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
serial@80000480 {
compatible = "cirrus,ep7209-uart";
reg = <0x80000480 0x80>;
interrupts = <12>, <13>;
clocks = <&clks 11>;
syscon = <&syscon1>;
cts-gpios = <&sysgpio 0 GPIO_ACTIVE_LOW>;
dsr-gpios = <&sysgpio 1 GPIO_ACTIVE_LOW>;
dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Conexant Digicolor USART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/cnxt,cx92755-usart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Baruch Siach <baruch@tkos.co.il>"
Note: this binding is only applicable for using the USART peripheral as UART. USART also support synchronous serial protocols like SPI and I2S. Use the binding that matches the wiring of your system.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cnxt,cx92755-usart"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@f0000740 {
compatible = "cnxt,cx92755-usart";
reg = <0xf0000740 0x20>;
clocks = <&main_clk>;
interrupts = <44>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ESP32S3 ACM gadget controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/esp,esp32-acm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Max Filippov <jcmvbkbc@gmail.com>"
Fixed function USB CDC-ACM gadget controller of the Espressif ESP32S3 SoC.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "esp,esp32s3-acm"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@60038000 {
compatible = "esp,esp32s3-acm";
reg = <0x60038000 0x1000>;
interrupts = <96 3 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ESP32xx UART controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/esp,esp32-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Max Filippov <jcmvbkbc@gmail.com>"
ESP32 UART controller is a part of the ESP32 SoC. ESP32S3 UART controller is a part of the ESP32S3 SoC. Both SoCs are produced by Espressif Systems Co. Ltd.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "esp,esp32-uart", "esp,esp32s3-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@60000000 {
compatible = "esp,esp32s3-uart";
reg = <0x60000000 0x80>;
interrupts = <27 1 0>;
clocks = <&serial_clk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Freescale LINFlexD UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl,s32-linflexuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The LINFlexD controller implements several LIN protocol versions, as well as support for full-duplex UART communication through 8-bit and 9-bit frames. See chapter 47 ("LINFlexD") in the reference manual https://www.nxp.com/webapp/Download?colCode=S32V234RM.
Maintainers (maintainers): "Chester Lin <chester62515@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,s32v234-linflexuart"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"nxp,s32g2-linflexuart","nxp,s32g3-linflexuart"Item 2
Exact value (
const):"fsl,s32v234-linflexuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@40053000 {
compatible = "fsl,s32v234-linflexuart";
reg = <0x40053000 0x1000>;
interrupts = <0 59 4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl-imx-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,imx1-uart"
Rule 2
Exact value (
const):"fsl,imx21-uart"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx25-uart","fsl,imx27-uart","fsl,imx31-uart","fsl,imx35-uart","fsl,imx50-uart","fsl,imx51-uart","fsl,imx53-uart","fsl,imx6q-uart"Item 2
Exact value (
const):"fsl,imx21-uart"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6sl-uart","fsl,imx6sll-uart","fsl,imx6sx-uart"Item 2
Exact value (
const):"fsl,imx6q-uart"Item 3
Exact value (
const):"fsl,imx21-uart"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6ul-uart","fsl,imx7d-uart","fsl,imx8mm-uart","fsl,imx8mn-uart","fsl,imx8mp-uart","fsl,imx8mq-uart"Item 2
Exact value (
const):"fsl,imx6q-uart"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"per"
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
interrupts — required here #
Array item rules (items) #
Item 1
UART RX Interrupt
Item 2
UART TX Interrupt
Item 3
UART RTS Interrupt
Minimum number of items (minItems): 1
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
fsl,dte-mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicate the uart works in DTE mode. The uart works in DCE mode by default.
fsl,inverted-tx — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicate that the hardware attached to the peripheral inverts the signal transmitted, and that the peripheral should invert its output using the INVT registers.
fsl,inverted-rx — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicate that the hardware attached to the peripheral inverts the signal received, and that the peripheral should invert its input using the INVR registers.
fsl,dma-info — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
First cell contains the size of DMA buffer chunks, second cell contains the amount of chunks used for the device. Multiplying both numbers is the total size of memory used for receiving data. When not being configured the system will use default settings, which are sensible for most use cases. If you need low latency processing on slow connections this needs to be configured appropriately.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Shared schema rule (
$ref):rs485.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx1-uart"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx5-clock.h>
aliases {
serial0 = &uart1;
};
uart1: serial@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>;
interrupts = <31>;
clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
<&clks IMX5_CLK_UART1_PER_GATE>;
clock-names = "ipg", "per";
dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;
dma-names = "rx", "tx";
uart-has-rtscts;
fsl,dte-mode;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale low power universal asynchronous receiver/transmitter (lpuart)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl-lpuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fugang Duan <fugang.duan@nxp.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rs485.yaml#
Rule 2 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,vf610-lpuart","fsl,ls1021a-lpuart","fsl,ls1028a-lpuart","fsl,imx7ulp-lpuart","fsl,imx8qxp-lpuart","fsl,imxrt1050-lpuart"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx7ulp-lpuart"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx93-lpuart","fsl,imx94-lpuart","fsl,imx95-lpuart"Item 2
Exact value (
const):"fsl,imx8ulp-lpuart"Item 3
Exact value (
const):"fsl,imx7ulp-lpuart"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx8qm-lpuart","fsl,imx8dxl-lpuart"Item 2
Exact value (
const):"fsl,imx8qxp-lpuart"
Rule 5
Array item rules (
items)Item 1
Exact value (
const):"fsl,imxrt1050-lpuart"Item 2
Exact value (
const):"fsl,imxrt1170-lpuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
ipg clock
Item 2
baud clock
Minimum number of items (minItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ipg"
Item 2
Exact value (
const):"baud"
Minimum number of items (minItems): 1
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/vf610-clock.h>
serial@40027000 {
compatible = "fsl,vf610-lpuart";
reg = <0x40027000 0x1000>;
interrupts = <0 61 0x00>;
clocks = <&clks VF610_CLK_UART0>;
clock-names = "ipg";
dmas = <&edma0 0 2>, <&edma0 0 3>;
dma-names = "rx","tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Freescale MXS Application UART (AUART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/fsl-mxs-auart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"fsl,imx23-auart"
Rule 2
Exact value (
const):"alphascale,asm9260-auart"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"fsl,imx23-auart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
dmas — required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
clocks — not listed as required here #
Array item rules (items) #
Item 1
mod clock
Item 2
ahb clock
Minimum number of items (minItems): 1
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"mod"
Item 2
Exact value (
const):"ahb"
Minimum number of items (minItems): 1
uart-has-rtscts — not listed as required here #
true — No constraints added by this property rule.
rts-gpios — not listed as required here #
true — No constraints added by this property rule.
cts-gpios — not listed as required here #
true — No constraints added by this property rule.
dtr-gpios — not listed as required here #
true — No constraints added by this property rule.
dsr-gpios — not listed as required here #
true — No constraints added by this property rule.
rng-gpios — not listed as required here #
true — No constraints added by this property rule.
dcd-gpios — not listed as required here #
true — No constraints added by this property rule.
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Required in this object (required): "compatible", "reg", "interrupts", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
aliases {
serial0 = &auart0;
};
auart0: serial@8006a000 {
compatible = "fsl,imx28-auart", "fsl,imx23-auart";
reg = <0x8006a000 0x2000>;
interrupts = <112>;
dmas = <&dma_apbx 8>, <&dma_apbx 9>;
dma-names = "rx", "tx";
clocks = <&clks 45>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Google Goldfish TTY
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/google,goldfish-tty.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kuan-Wei Chiu <visitorckw@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Android goldfish TTY device generated by Android emulator.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "google,goldfish-tty"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@1f004000 {
compatible = "google,goldfish-tty";
reg = <0x1f004000 0x1000>;
interrupts = <12>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Ingenic SoCs UART controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/ingenic,uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Paul Cercueil <paul@crapouillou.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serial@[0-9a-f]+$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"ingenic,jz4740-uart","ingenic,jz4750-uart","ingenic,jz4760-uart","ingenic,jz4780-uart","ingenic,x1000-uart"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"ingenic,jz4770-uart","ingenic,jz4775-uart"Item 2
Exact value (
const):"ingenic,jz4760-uart"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"ingenic,jz4725b-uart"Item 2
Exact value (
const):"ingenic,jz4740-uart"
Rule 4
Array item rules (
items)Item 1
Exact value (
const):"ingenic,jz4755-uart"Item 2
Exact value (
const):"ingenic,jz4750-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Baud clock
Item 2
UART module clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"baud"
Item 2
Exact value (
const):"module"
dmas — required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "dmas", "dma-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/ingenic,jz4780-cgu.h>
#include <dt-bindings/dma/jz4780-dma.h>
#include <dt-bindings/gpio/gpio.h>
serial@10032000 {
compatible = "ingenic,jz4780-uart";
reg = <0x10032000 0x100>;
interrupt-parent = <&intc>;
interrupts = <49>;
clocks = <&ext>, <&cgu JZ4780_CLK_UART2>;
clock-names = "baud", "module";
dmas = <&dma JZ4780_DMA_UART2_RX 0xffffffff>,
<&dma JZ4780_DMA_UART2_TX 0xffffffff>;
dma-names = "rx", "tx";
bluetooth {
compatible = "brcm,bcm4330-bt";
reset-gpios = <&gpf 8 GPIO_ACTIVE_HIGH>;
vbat-supply = <&wlan0_power>;
device-wakeup-gpios = <&gpf 5 GPIO_ACTIVE_HIGH>;
host-wakeup-gpios = <&gpf 6 GPIO_ACTIVE_HIGH>;
shutdown-gpios = <&gpf 4 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Lantiq SoC ASC serial controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/lantiq,asc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "John Crispin <john@phrozen.org>", "Songjun Wu <songjun.wu@linux.intel.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "lantiq,asc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
TX interrupt
Item 2
RX interrupt
Item 3
Error interrupt
clocks — not listed as required here #
Array item rules (items) #
Item 1
Frequency clock
Item 2
Gate clock
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"freq"
Item 2
Exact value (
const):"asc"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
serial@16600000 {
compatible = "lantiq,asc";
reg = <0x16600000 0x100000>;
interrupts = <GIC_SHARED 103 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
LiteUART serial controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/litex,liteuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Karol Gugala <kgugala@antmicro.com>", "Mateusz Holenko <mholenko@antmicro.com>"
LiteUART serial controller is a part of the LiteX FPGA SoC builder. It supports multiple CPU architectures, currently including e.g. OpenRISC and RISC-V.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "litex,liteuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
uart0: serial@e0001800 {
compatible = "litex,liteuart";
reg = <0xe0001800 0x100>;
interrupts = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Marvell Armada-3700 UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/marvell,armada-3700-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pali Rohár <pali@kernel.org>"
Marvell UART is a non standard UART used in some of Marvell EBU SoCs (e.g. Armada-3700).
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "marvell,armada-3700-uart", "marvell,armada-3700-uart-ext"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
UART reference clock used to derive the baud rate. If absent, only fixed baud rate from the bootloader is supported.
interrupts — required here #
Minimum number of items (minItems): 2
Array item rules (items) #
Item 1
UART sum interrupt
Item 2
UART TX interrupt
Item 3
UART RX interrupt
interrupt-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"marvell,armada-3700-uart-ext"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):2
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uart-tx"Item 2
Exact value (
const):"uart-rx"When the condition does not match (
else) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):3
interrupt-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uart-sum"Item 2
Exact value (
const):"uart-tx"Item 3
Exact value (
const):"uart-rx"
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@12000 {
compatible = "marvell,armada-3700-uart";
reg = <0x12000 0x18>;
clocks = <&uartclk 0>;
interrupts =
<GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "uart-sum", "uart-tx", "uart-rx";
};
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@12200 {
compatible = "marvell,armada-3700-uart-ext";
reg = <0x12200 0x30>;
clocks = <&uartclk 1>;
interrupts =
<GIC_SPI 30 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 31 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "uart-tx", "uart-rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Maxim MAX310X Advanced Universal Asynchronous Receiver-Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/maxim,max310x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugo Villeneuve <hvilleneuve@dimonoff.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max3107", "maxim,max3108", "maxim,max3109", "maxim,max14830"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Allowed values (enum): "xtal", "osc"
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
gpio-line-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 3 #
Shared schema rule (
$ref):/schemas/serial/rs485.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
serial@2c {
compatible = "maxim,max3107";
reg = <0x2c>;
clocks = <&xtal4m>;
clock-names = "xtal";
interrupt-parent = <&gpio3>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
gpio-controller;
#gpio-cells = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 31: External crystal
Line 32: External clock source
MediaTek Universal Asynchronous Receiver/Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/mediatek,uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
The MediaTek UART is based on the basic 8250 UART and compatible with 16550A, with enhancements for high speed baud rates and support for DMA.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"mediatek,mt6577-uart"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt2701-uart","mediatek,mt2712-uart","mediatek,mt6572-uart","mediatek,mt6580-uart","mediatek,mt6582-uart","mediatek,mt6589-uart","mediatek,mt6755-uart","mediatek,mt6765-uart","mediatek,mt6779-uart","mediatek,mt6795-uart","mediatek,mt6797-uart","mediatek,mt6893-uart","mediatek,mt7622-uart","mediatek,mt7623-uart","mediatek,mt7629-uart","mediatek,mt7981-uart","mediatek,mt7986-uart","mediatek,mt7988-uart","mediatek,mt8127-uart","mediatek,mt8135-uart","mediatek,mt8173-uart","mediatek,mt8183-uart","mediatek,mt8186-uart","mediatek,mt8188-uart","mediatek,mt8192-uart","mediatek,mt8195-uart","mediatek,mt8365-uart","mediatek,mt8516-uart"Item 2
Exact value (
const):"mediatek,mt6577-uart"
reg — required here #
The base address of the UART register bank
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
The clock the baudrate is derived from
Item 2
The bus clock for register accesses
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"baud"
Item 2
Exact value (
const):"bus"
dmas — not listed as required here #
Array item rules (items) #
Item 1
phandle to TX DMA
Item 2
phandle to RX DMA
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
interrupts — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
interrupt-names — not listed as required here #
The UART interrupt and optionally the RX in-band wakeup interrupt.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"uart"
Item 2
Exact value (
const):"wakeup"
pinctrl-0 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-1 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"sleep"
Required in this object (required): "compatible", "reg", "clocks", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@11006000 {
compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart";
reg = <0x11006000 0x400>;
interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 52 IRQ_TYPE_EDGE_FALLING>;
interrupt-names = "uart", "wakeup";
clocks = <&uart_clk>, <&bus_clk>;
clock-names = "baud", "bus";
pinctrl-0 = <&uart_pin>;
pinctrl-1 = <&uart_pin_sleep>;
pinctrl-names = "default", "sleep";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Microchip PIC32 UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/microchip,pic32mzda-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrei Pistirica <andrei.pistirica@microchip.com>", "Purna Chandra Mandal <purna.mandal@microchip.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "microchip,pic32mzda-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Fault
Item 2
RX
Item 3
TX
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/microchip,pic32-clock.h>
serial@1f822000 {
compatible = "microchip,pic32mzda-uart";
reg = <0x1f822000 0x50>;
interrupts = <112 IRQ_TYPE_LEVEL_HIGH>,
<113 IRQ_TYPE_LEVEL_HIGH>,
<114 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&rootclk PB2CLK>;
cts-gpios = <&gpio1 15 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Nuvoton MA35D1 Universal Asynchronous Receiver/Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nuvoton,ma35d1-serial.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Min-Jen Chen <mjchen@nuvoton.com>", "Jacky Huang <ychuang3@nuvoton.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nuvoton,ma35d1-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/nuvoton,ma35d1-clk.h>
serial@40700000 {
compatible = "nuvoton,ma35d1-uart";
reg = <0x40700000 0x100>;
interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk UART0_GATE>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra Combined UART (TCU)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nvidia,tegra194-tcu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jonathan Hunter <jonathanh@nvidia.com>"
The TCU is a system for sharing a hardware UART instance among multiple systems within the Tegra SoC. It is implemented through a mailbox- based protocol where each "virtual UART" has a pair of mailboxes, one for transmitting and one for receiving, that is used to communicate with the hardware implementing the TCU.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serial(@.*)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"nvidia,tegra194-tcu"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"nvidia,tegra194-tcu"
mbox-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
mboxes — required here #
List of phandles to mailbox channels used for receiving and transmitting data from and to the hardware UART.
Array item rules (items) #
Item 1
mailbox for receiving data from hardware UART
Item 2
mailbox for transmitting data to hardware UART
Required in this object (required): "compatible", "mbox-names", "mboxes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/mailbox/tegra186-hsp.h>
tcu: serial {
compatible = "nvidia,tegra194-tcu";
mboxes = <&hsp_top0 TEGRA_HSP_MBOX_TYPE_SM 0>,
<&hsp_aon TEGRA_HSP_MBOX_TYPE_SM 1>;
mbox-names = "rx", "tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
NVIDIA Tegra20/Tegra30 high speed (DMA based) UART controller driver
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nvidia,tegra20-hsuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"nvidia,tegra20-hsuart","nvidia,tegra30-hsuart","nvidia,tegra186-hsuart","nvidia,tegra194-hsuart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"nvidia,tegra124-hsuart"Item 2
Exact value (
const):"nvidia,tegra30-hsuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
module clock
resets — required here #
Array item rules (items) #
Item 1
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"serial"
dmas — required here #
Array item rules (items) #
Item 1
DMA channel used for reception
Item 2
DMA channel used for transmission
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
nvidia,enable-modem-interrupt — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Enable modem interrupts. Should be enable only if all 8 lines of UART controller are pinmuxed.
nvidia,adjust-baud-rates — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
List of entries providing percentage of baud rate adjustment within a range. Each entry contains a set of 3 values: range low/high and adjusted rate. When the baud rate set on the controller falls within the range mentioned in this field, the baud rate will be adjusted by percentage mentioned here.
Example: <9600 115200 200>
Increase baud rate by 2% when set baud rate falls within range 9600 to 115200.
Standard UART devices are expected to have tolerance for baud rate error by -4 to +4 %. All Tegra devices till Tegra210 had this support. However, Tegra186 chip has a known hardware issue. UART RX baud rate tolerance level is 0% to +4% in 1-stop config. Otherwise, the received data will have corruption/invalid framing errors. Parker errata suggests adjusting baud rate to be higher than the deviations observed in TX.
TX deviation of connected device can be captured over scope (or noted from its spec) for valid range and Tegra baud rate has to be set above actual TX baud rate observed. To do this we use nvidia,adjust-baud-rates.
As an example, consider there is deviation observed in TX for baud rates as listed below. 0 to 9600 has 1% deviation 9600 to 115200 2% deviation. This slight deviation is expected and Tegra UART is expected to handle it. Due to the issue stated above, baud rate on Tegra UART should be set equal to or above deviation observed for avoiding frame errors. Property should be set like this:
nvidia,adjust-baud-rates = <0 9600 100>,
<9600 115200 200>;
Array item rules (items) #
Array item rules (
items)Item 1
range lower bound
Item 2
range upper bound
Item 3
adjustment (in permyriad, i.e. 0.01%)
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets", "reset-names", "dmas", "dma-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/tegra30-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@70006000 {
compatible = "nvidia,tegra30-hsuart";
reg = <0x70006000 0x40>;
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
nvidia,enable-modem-interrupt;
clocks = <&tegra_car TEGRA30_CLK_UARTA>;
resets = <&tegra_car 6>;
reset-names = "serial";
dmas = <&apbdma 8>, <&apbdma 8>;
dma-names = "rx", "tx";
nvidia,adjust-baud-rates = <1000000 4000000 136>; /* 1.36% shift */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NVIDIA Tegra UTC (UART Trace Controller) client
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nvidia,tegra264-utc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kartik Rajput <kkartik@nvidia.com>", "Thierry Reding <thierry.reding@gmail.com>", "Jonathan Hunter <jonathanh@nvidia.com>"
Represents a client interface of the Tegra UTC (UART Trace Controller). The Tegra UTC allows multiple clients within the Tegra SoC to share a physical UART interface. It supports up to 16 clients. Each client operates as an independent UART endpoint with a dedicated interrupt and 128-character TX/RX FIFOs. The Tegra UTC clients use 8-N-1 configuration and operates on a baudrate configured by the bootloader at the controller level.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nvidia,tegra264-utc"
reg — required here #
Array item rules (items) #
Item 1
TX region.
Item 2
RX region.
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
interrupts — required here #
Maximum number of items (maxItems): 1
tx-threshold — required here #
Minimum value (minimum): 1
Maximum value (maximum): 128
rx-threshold — required here #
Minimum value (minimum): 1
Maximum value (maximum): 128
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "tx-threshold", "rx-threshold"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
tegra_utc: serial@c4e0000 {
compatible = "nvidia,tegra264-utc";
reg = <0xc4e0000 0x8000>, <0xc4e8000 0x8000>;
reg-names = "tx", "rx";
interrupts = <GIC_SPI 514 IRQ_TYPE_LEVEL_HIGH>;
tx-threshold = <4>;
rx-threshold = <4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP LPC32xx SoC High Speed UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nxp,lpc3220-hsuart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vladimir Zapolskiy <vz@mleia.com>", "Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nxp,lpc3220-hsuart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@40014000 {
compatible = "nxp,lpc3220-hsuart";
reg = <0x40014000 0x1000>;
interrupts = <26 0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
NXP SC16IS7xx Advanced Universal Asynchronous Receiver-Transmitter (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/nxp,sc16is7xx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hugo Villeneuve <hvilleneuve@dimonoff.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,sc16is740", "nxp,sc16is741", "nxp,sc16is750", "nxp,sc16is752", "nxp,sc16is760", "nxp,sc16is762"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
When missing, device driver uses polling instead.
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
When there is no clock provider visible to the platform, this is the source crystal or external clock frequency for the IC in Hz.
Minimum value (minimum): 1
Maximum value (maximum): 80000000
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
#gpio-cells — not listed as required here #
Exact value (const): 2
gpio-line-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 8
irda-mode-ports — not listed as required here #
An array that lists the indices of the port that should operate in IrDA mode: 0: port A 1: port B
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):1
nxp,modem-control-line-ports — not listed as required here #
An array that lists the indices of the port that should have shared GPIO lines configured as modem control lines: 0: port A 1: port B
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
Minimum value (
minimum):0Maximum value (
maximum):1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/spi/spi-peripheral-props.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 3 #
Shared schema rule (
$ref):/schemas/serial/rs485.yaml#
Exactly one of these rules must match (oneOf) #
Rule 1 #
Rule 2 #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
serial@51 {
compatible = "nxp,sc16is750";
reg = <0x51>;
clocks = <&clk20m>;
interrupt-parent = <&gpio3>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
gpio-controller;
#gpio-cells = <2>;
};
serial@53 {
compatible = "nxp,sc16is752";
reg = <0x53>;
clocks = <&clk20m>;
interrupt-parent = <&gpio3>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
nxp,modem-control-line-ports = <1>; /* Port 1 as modem control lines */
gpio-controller; /* Port 0 as GPIOs */
#gpio-cells = <2>;
};
serial@54 {
compatible = "nxp,sc16is752";
reg = <0x54>;
clocks = <&clk20m>;
reset-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
interrupt-parent = <&gpio3>;
interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
nxp,modem-control-line-ports = <0 1>; /* Ports 0 and 1 as modem control lines */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ARM AMBA Primecell PL011 serial UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/pl011.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/arm/primecell.yaml#
Rule 2 #
Shared schema rule (
$ref):serial.yaml#
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"arm,pl011"
Item 2
Exact value (
const):"arm,primecell"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
pinctrl-0 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-1 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-names — not listed as required here #
When present, must have one state named "default", and may contain a second name named "sleep". The former state sets up pins for ordinary operation whereas the latter state will put the associated pins to sleep when the UART is unused
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"sleep"
clocks — not listed as required here #
When present, the first clock listed must correspond to the clock named UARTCLK on the IP block, i.e. the clock to the external serial line, whereas the second clock must correspond to the PCLK clocking the internal logic of the block. Just listing one clock (the first one) is deprecated.
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"uartclk"
Item 2
Exact value (
const):"apb_pclk"
dmas — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
auto-poll — not listed as required here #
Enables polling when using RX DMA.
Value type (type): "boolean"
poll-rate-ms — not listed as required here #
Rate at which poll occurs when auto-poll is set. default 100ms.
Default value (default): 100
poll-timeout-ms — not listed as required here #
Poll timeout when auto-poll is set, default 3000ms.
Default value (default): 3000
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
reg-io-width — not listed as required here #
The size (in bytes) of the IO accesses that should be performed on the device.
Required in this object (required): "compatible", "reg", "interrupts"
Property dependencies (dependencies) #
poll-rate-ms — applies when this property is present #
Also requires: "auto-poll"
poll-timeout-ms — applies when this property is present #
Also requires: "auto-poll"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@80120000 {
compatible = "arm,pl011", "arm,primecell";
reg = <0x80120000 0x1000>;
interrupts = <0 11 4>;
dmas = <&dma 13 0 0x2>, <&dma 13 0 0x0>;
dma-names = "rx", "tx";
clocks = <&foo_clk>, <&bar_clk>;
clock-names = "uartclk", "apb_pclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 16: Need a custom select here or 'arm,primecell' will match on lots of nodes
Qualcomm Atheros AR9330 High-Speed UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/qca,ar9330-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Oleksij Rempel <o.rempel@pengutronix.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qca,ar9330-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "uart"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@18020000 {
compatible = "qca,ar9330-uart";
reg = <0x18020000 0x14>;
clocks = <&ref>;
clock-names = "uart";
interrupt-parent = <&intc>;
interrupts = <3>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm MSM SoC Serial UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/qcom,msm-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>", "Krzysztof Kozlowski <krzk@kernel.org>"
The MSM serial UART hardware is designed for low-speed use cases where a dma-engine isn't needed. From a software perspective it's mostly compatible with the MSM serial UARTDM except that it only supports reading and writing one character at a time.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "qcom,msm-uart"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clock-names", "clocks", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@a9c00000 {
compatible = "qcom,msm-uart";
reg = <0xa9c00000 0x1000>;
interrupts = <11>;
clocks = <&uart_cxc>;
clock-names = "core";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm MSM Serial UARTDM
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/qcom,msm-uartdm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>", "Krzysztof Kozlowski <krzk@kernel.org>"
The MSM serial UARTDM hardware is designed for high-speed use cases where the transmit and/or receive channels can be offloaded to a dma-engine. From a software perspective it's mostly compatible with the MSM serial UART except that it supports reading and writing multiple characters at a time.
Note:: Aliases may be defined to ensure the correct ordering of the UARTs. The alias serialN will result in the UART being assigned port N. If any serialN alias exists, then an alias must exist for each enabled UART. The serialN aliases should be in a .dts file instead of in a .dtsi file.
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"qcom,msm-uartdm-v1.1","qcom,msm-uartdm-v1.2","qcom,msm-uartdm-v1.3","qcom,msm-uartdm-v1.4"
Item 2
Exact value (
const):"qcom,msm-uartdm"
clocks — required here #
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"core"
Item 2
Exact value (
const):"iface"
dmas — not listed as required here #
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
interconnects — not listed as required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
qcom,rx-crci — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Identificator for Client Rate Control Interface to be used with RX DMA channel. Required when using DMA for reception with UARTDM v1.3 and below.
qcom,tx-crci — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Identificator for Client Rate Control Interface to be used with TX DMA channel. Required when using DMA for transmission with UARTDM v1.3 and below.
reg — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Main control registers
Item 2
An optional second register location shall specify the GSBI control region.
Required in this object (required): "compatible", "clock-names", "clocks", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,msm-uartdm-v1.3"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interconnect/qcom,msm8996.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/qcom-rpmpd.h>
serial@f991e000 {
compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
reg = <0xf991e000 0x1000>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&blsp1_uart2_apps_cxc>, <&blsp1_ahb_cxc>;
clock-names = "core", "iface";
dmas = <&dma0 0>, <&dma0 1>;
dma-names = "tx", "rx";
power-domains = <&rpmpd MSM8996_VDDCX>;
operating-points-v2 = <&uart_opp_table>;
interconnects = <&pnoc MASTER_BLSP_1 &bimc SLAVE_EBI_CH0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
Qualcomm Geni based QUP UART interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/qcom,sa8255p-geni-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Praveen Talari <quic_ptalari@quicinc.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,sa8255p-geni-uart", "qcom,sa8255p-geni-debug-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
UART core irq
Item 2
Wakeup irq (RX GPIO)
interrupt-names — not listed as required here #
The UART interrupt and optionally the RX in-band wakeup interrupt as not all UART instances have a wakeup-capable interrupt routed via the PDC.
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"uart"
Item 2
Exact value (
const):"wakeup"
power-domains — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
power-domain-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"power"
Item 2
Exact value (
const):"perf"
Required in this object (required): "compatible", "reg", "interrupts", "power-domains", "power-domain-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@990000 {
compatible = "qcom,sa8255p-geni-uart";
reg = <0x990000 0x4000>;
interrupts = <GIC_SPI 531 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&scmi0_pd 0>, <&scmi0_dvfs 0>;
power-domain-names = "power", "perf";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Qualcomm Geni based QUP UART interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/qcom,serial-geni-qcom.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andy Gross <agross@kernel.org>", "Bjorn Andersson <bjorn.andersson@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/soc/qcom/qcom,se-common-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,geni-uart", "qcom,geni-debug-uart"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "se"
interconnects — not listed as required here #
Maximum number of items (maxItems): 2
interconnect-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"qup-core"
Item 2
Exact value (
const):"qup-config"
interrupts — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
UART core irq
Item 2
Wakeup irq (RX GPIO)
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-0 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-1 — not listed as required here #
true — No constraints added by this property rule.
pinctrl-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"default"
Item 2
Exact value (
const):"sleep"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,gcc-sc7180.h>
#include <dt-bindings/interconnect/qcom,sc7180.h>
serial@a88000 {
compatible = "qcom,geni-uart";
reg = <0xa88000 0x7000>;
interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "se";
clocks = <&gcc GCC_QUPV3_WRAP0_S0_CLK>;
pinctrl-0 = <&qup_uart0_default>;
pinctrl-names = "default";
interconnects = <&qup_virt MASTER_QUP_CORE_0 0 &qup_virt SLAVE_QUP_CORE_0 0>,
<&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_QUP_0 0>;
interconnect-names = "qup-core", "qup-config";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
RDA Micro UART Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/rda,8810pl-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "rda,8810pl-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
uart3: serial@20a90000 {
compatible = "rda,8810pl-uart";
reg = <0x20a90000 0x1000>;
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&uart_clk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas EMMA Mobile UART Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,em-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Magnus Damm <magnus.damm@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,em-uart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"renesas,em-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
UART functional clock
Item 2
Internal clock to access the registers
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"sclk"
Item 2
Exact value (
const):"pclk"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g011-uart"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):2
clock-names— not listed as required hereMinimum number of items (
minItems):2
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
uart0: serial@e1020000 {
compatible = "renesas,em-uart";
reg = <0xe1020000 0x38>;
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&usia_u0_sclk>;
clock-names = "sclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: RZ/V2M
Line 18: generic EMMA Mobile compatible UART
Line 21: generic EMMA Mobile compatible UART
Renesas High Speed Serial Communication Interface with FIFO (HSCIF)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,hscif.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a7778","renesas,hscif-r8a7779"Item 2
Exact value (
const):"renesas,rcar-gen1-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a7742","renesas,hscif-r8a7743","renesas,hscif-r8a7744","renesas,hscif-r8a7745","renesas,hscif-r8a77470","renesas,hscif-r8a7790","renesas,hscif-r8a7791","renesas,hscif-r8a7792","renesas,hscif-r8a7793","renesas,hscif-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a774a1","renesas,hscif-r8a774b1","renesas,hscif-r8a774c0","renesas,hscif-r8a774e1","renesas,hscif-r8a7795","renesas,hscif-r8a7796","renesas,hscif-r8a77961","renesas,hscif-r8a77965","renesas,hscif-r8a77970","renesas,hscif-r8a77980","renesas,hscif-r8a77990","renesas,hscif-r8a77995"Item 2
Exact value (
const):"renesas,rcar-gen3-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a779a0","renesas,hscif-r8a779f0","renesas,hscif-r8a779g0","renesas,hscif-r8a779h0"Item 2
Exact value (
const):"renesas,rcar-gen4-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 5
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,rcar-gen5-hscif"Item 3
Exact value (
const):"renesas,hscif"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"renesas,rcar-gen2-hscif","renesas,rcar-gen3-hscif","renesas,rcar-gen4-hscif","renesas,rcar-gen5-hscif"
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
aliases {
serial1 = &hscif1;
};
hscif1: serial@e6550000 {
compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0xe6550000 96>;
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 519>, <&cpg CPG_CORE R8A7795_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x33>, <&dmac1 0x32>, <&dmac2 0x33>, <&dmac2 0x32>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 519>;
uart-has-rtscts;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: R-Car M1
Line 21: R-Car H1
Line 22: R-Car Gen1
Line 23: generic HSCIF compatible UART
Line 27: RZ/G1H
Line 28: RZ/G1M
Line 29: RZ/G1N
Line 30: RZ/G1E
Line 31: RZ/G1C
Line 32: R-Car H2
Line 33: R-Car M2-W
Line 34: R-Car V2H
Line 35: R-Car M2-N
Line 36: R-Car E2
Line 37: R-Car Gen2 and RZ/G1
Line 38: generic HSCIF compatible UART
Line 42: RZ/G2M
Line 43: RZ/G2N
Line 44: RZ/G2E
Line 45: RZ/G2H
Line 46: R-Car H3
Line 47: R-Car M3-W
Line 48: R-Car M3-W+
Line 49: R-Car M3-N
Line 50: R-Car V3M
Line 51: R-Car V3H
Line 52: R-Car E3
Line 53: R-Car D3
Line 54: R-Car Gen3 and RZ/G2
Line 55: generic HSCIF compatible UART
Line 59: R-Car V3U
Line 60: R-Car S4-8
Line 61: R-Car V4H
Line 62: R-Car V4M
Line 63: R-Car Gen4
Line 64: generic HSCIF compatible UART
Line 68: R-Car X5H
Line 69: R-Car Gen5
Line 70: generic HSCIF compatible UART
Line 87: UART functional clock
Line 88: optional external clock input
Line 89: optional internal clock source for BRG frequency divider
Line 90: optional external clock source for BRG frequency divider
Renesas RSCI Serial Communication Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,rsci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>", "Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"renesas,r9a09g047-rsci","renesas,r9a09g077-rsci"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a09g056-rsci","renesas,r9a09g057-rsci"Item 2
Exact value (
const):"renesas,r9a09g047-rsci"
Rule 3
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a09g087-rsci"Item 2
Exact value (
const):"renesas,r9a09g077-rsci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Error interrupt
Item 2
Receive buffer full interrupt
Item 3
Transmit buffer empty interrupt
Item 4
Transmit end interrupt
Item 5
Active edge detection interrupt
Item 6
Break field detection interrupt
interrupt-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"eri"
Item 2
Exact value (
const):"rxi"
Item 3
Exact value (
const):"txi"
Item 4
Exact value (
const):"tei"
Item 5
Exact value (
const):"aed"
Item 6
Exact value (
const):"bfd"
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 6
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"operation"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"sck"Minimum number of items (
minItems):2
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"pclk"Item 2
Exact value (
const):"tclk"Item 3
Exact value (
const):"tclk_div4"Item 4
Exact value (
const):"tclk_div16"Item 5
Exact value (
const):"tclk_div64"Item 6
Exact value (
const):"sck"Minimum number of items (
minItems):5
resets — not listed as required here #
Array item rules (items) #
Item 1
Input for resetting the APB clock
Item 2
Input for resetting TCLK
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"presetn"
Item 2
Exact value (
const):"tresetn"
power-domains — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g077-rsci"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):4
interrupt-names— not listed as required hereMaximum number of items (
maxItems):4
clocks— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):3
resets— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,r9a09g047-rsci"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
clock-names— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/renesas-cpg-mssr.h>
sci0: serial@80005000 {
compatible = "renesas,r9a09g077-rsci";
reg = <0x80005000 0x400>;
interrupts = <GIC_SPI 590 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 591 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 592 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 593 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "eri", "rxi", "txi", "tei";
clocks = <&cpg CPG_MOD 8>, <&cpg CPG_CORE 13>;
clock-names = "operation", "bus";
power-domains = <&cpg>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 17: RZ/G3E
Line 18: RZ/T2H
Line 22: RZ/V2N
Line 23: RZ/V2H(P)
Line 27: RZ/N2H
Line 28: RZ/T2H
Line 62: optional external clock input
Line 72: optional external clock input
Renesas Serial Communication Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,sci.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,r9a07g043-sci","renesas,r9a07g044-sci","renesas,r9a07g054-sci"Item 2
Exact value (
const):"renesas,sci"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"renesas,sci"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
Error interrupt
Item 2
Receive buffer full interrupt
Item 3
Transmit buffer empty interrupt
Item 4
Transmit end interrupt
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"eri"
Item 2
Exact value (
const):"rxi"
Item 3
Exact value (
const):"txi"
Item 4
Exact value (
const):"tei"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items) #
uart-has-rtscts — not listed as required here #
false — Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"renesas,r9a07g043-sci","renesas,r9a07g044-sci","renesas,r9a07g054-sci"
When the condition matches (then) #
Properties and child nodes (
properties) #
resets— required here #Maximum number of items (
maxItems):1
power-domains— required here #Maximum number of items (
maxItems):1Required in this object (
required):"resets","power-domains"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r9a07g044-cpg.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
aliases {
serial0 = &sci0;
};
sci0: serial@1004d000 {
compatible = "renesas,r9a07g044-sci", "renesas,sci";
reg = <0x1004d000 0x400>;
interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "eri", "rxi", "txi", "tei";
clocks = <&cpg CPG_MOD R9A07G044_SCI0_CLKP>;
clock-names = "fck";
power-domains = <&cpg>;
resets = <&cpg R9A07G044_SCI0_RST>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: RZ/G2UL and RZ/Five
Line 21: RZ/G2{L,LC}
Line 22: RZ/V2L
Line 23: generic SCI compatible UART
Line 26: generic SCI compatible UART
Line 54: UART functional clock
Line 55: optional external clock input
Renesas Serial Communication Interface with FIFO (SCIF)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,scif.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"renesas,scif-r7s9210","renesas,scif-r9a07g044","renesas,scif-r9a09g057"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,scif"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r8a7778","renesas,scif-r8a7779"Item 2
Exact value (
const):"renesas,rcar-gen1-scif"Item 3
Exact value (
const):"renesas,scif"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r8a7742","renesas,scif-r8a7743","renesas,scif-r8a7744","renesas,scif-r8a7745","renesas,scif-r8a77470","renesas,scif-r8a7790","renesas,scif-r8a7791","renesas,scif-r8a7792","renesas,scif-r8a7793","renesas,scif-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-scif"Item 3
Exact value (
const):"renesas,scif"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r8a774a1","renesas,scif-r8a774a3","renesas,scif-r8a774b1","renesas,scif-r8a774c0","renesas,scif-r8a774e1","renesas,scif-r8a7795","renesas,scif-r8a7796","renesas,scif-r8a77961","renesas,scif-r8a77965","renesas,scif-r8a77970","renesas,scif-r8a77980","renesas,scif-r8a77990","renesas,scif-r8a77995"Item 2
Exact value (
const):"renesas,rcar-gen3-scif"Item 3
Exact value (
const):"renesas,scif"
Rule 6
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r8a779a0","renesas,scif-r8a779f0","renesas,scif-r8a779g0","renesas,scif-r8a779h0"Item 2
Exact value (
const):"renesas,rcar-gen4-scif"Item 3
Exact value (
const):"renesas,scif"
Rule 7
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,rcar-gen5-scif"Item 3
Exact value (
const):"renesas,scif"
Rule 8
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r9a07g043","renesas,scif-r9a07g054","renesas,scif-r9a08g045","renesas,scif-r9a08g046"Item 2
Exact value (
const):"renesas,scif-r9a07g044"
Rule 9
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scif-r9a09g047","renesas,scif-r9a09g056"Item 2
Exact value (
const):"renesas,scif-r9a09g057"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
A combined interrupt
Rule 2
Array item rules (
items)Item 1
Error interrupt
Item 2
Receive buffer full interrupt
Item 3
Transmit buffer empty interrupt
Item 4
Break interrupt
Item 5
Data Ready interrupt
Item 6
Transmit End interrupt
Item 7
Transmit End/Data Ready interrupt
Item 8
Receive buffer full interrupt (EDGE trigger)
Item 9
Transmit buffer empty interrupt (EDGE trigger)
Minimum number of items (
minItems):4
interrupt-names — not listed as required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
Exact value (
const):"eri"
Item 2
Exact value (
const):"rxi"
Item 3
Exact value (
const):"txi"
Item 4
Exact value (
const):"bri"
Item 5
Exact value (
const):"dri"
Item 6
Exact value (
const):"tei"
Item 7
Exact value (
const):"tei-dri"
Item 8
Exact value (
const):"rxi-edge"
Item 9
Exact value (
const):"txi-edge"
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,rcar-gen2-scif","renesas,rcar-gen3-scif","renesas,rcar-gen4-scif","renesas,rcar-gen5-scif","renesas,scif-r9a07g044","renesas,scif-r9a09g057"When the condition matches (
then) #
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,rcar-gen1-scif","renesas,rcar-gen2-scif","renesas,rcar-gen3-scif","renesas,rcar-gen4-scif","renesas,rcar-gen5-scif"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMaximum number of items (
maxItems):1
interrupt-names— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
interrupt-names— not listed as required hereMaximum number of items (
maxItems):4
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"renesas,scif-r7s9210","renesas,scif-r9a07g044"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
interrupt-names— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"renesas,scif-r9a09g057"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
interrupts— not listed as required hereMinimum number of items (
minItems):9
interrupt-names— not listed as required hereMinimum number of items (
minItems):9
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7791-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7791-sysc.h>
aliases {
serial0 = &scif0;
};
scif0: serial@e6e60000 {
compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
"renesas,scif";
reg = <0xe6e60000 64>;
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac0 0x29>, <&dmac0 0x2a>, <&dmac1 0x29>, <&dmac1 0x2a>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;
resets = <&cpg 721>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 16: RZ/A2
Line 17: RZ/G2{L,LC}
Line 18: RZ/V2H(P)
Line 22: RZ/A1H
Line 23: generic SCIF compatible UART
Line 27: R-Car M1
Line 28: R-Car H1
Line 29: R-Car Gen1
Line 30: generic SCIF compatible UART
Line 34: RZ/G1H
Line 35: RZ/G1M
Line 36: RZ/G1N
Line 37: RZ/G1E
Line 38: RZ/G1C
Line 39: R-Car H2
Line 40: R-Car M2-W
Line 41: R-Car V2H
Line 42: R-Car M2-N
Line 43: R-Car E2
Line 44: R-Car Gen2 and RZ/G1
Line 45: generic SCIF compatible UART
Line 49: RZ/G2M
Line 50: RZ/G2M v3.0
Line 51: RZ/G2N
Line 52: RZ/G2E
Line 53: RZ/G2H
Line 54: R-Car H3
Line 55: R-Car M3-W
Line 56: R-Car M3-W+
Line 57: R-Car M3-N
Line 58: R-Car V3M
Line 59: R-Car V3H
Line 60: R-Car E3
Line 61: R-Car D3
Line 62: R-Car Gen3 and RZ/G2
Line 63: generic SCIF compatible UART
Line 67: R-Car V3U
Line 68: R-Car S4-8
Line 69: R-Car V4H
Line 70: R-Car V4M
Line 71: R-Car Gen4
Line 72: generic SCIF compatible UART
Line 76: R-Car X5H
Line 77: R-Car Gen5
Line 78: generic SCIF compatible UART
Line 82: RZ/G2UL and RZ/Five
Line 83: RZ/V2L
Line 84: RZ/G3S
Line 85: RZ/G3L
Line 86: RZ/G2{L,LC} fallback
Line 90: RZ/G3E
Line 91: RZ/V2N
Line 92: RZ/V2H fallback
Line 135: UART functional clock
Line 136: optional external clock input
Line 137: optional internal clock source for BRG frequency divider
Line 138: optional external clock source for BRG frequency divider
Renesas Serial Communications Interface with FIFO A (SCIFA)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,scifa.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scifa-r8a73a4","renesas,scifa-r8a7740","renesas,scifa-sh73a0"Item 2
Exact value (
const):"renesas,scifa"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scifa-r8a7742","renesas,scifa-r8a7743","renesas,scifa-r8a7744","renesas,scifa-r8a7745","renesas,scifa-r8a7790","renesas,scifa-r8a7791","renesas,scifa-r8a7793","renesas,scifa-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-scifa"Item 3
Exact value (
const):"renesas,scifa"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7790-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7790-sysc.h>
aliases {
serial0 = &scifa0;
};
scifa0: serial@e6c40000 {
compatible = "renesas,scifa-r8a7790", "renesas,rcar-gen2-scifa",
"renesas,scifa";
reg = <0xe6c40000 64>;
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 204>;
clock-names = "fck";
power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
resets = <&cpg 204>;
dmas = <&dmac0 0x21>, <&dmac0 0x22>, <&dmac1 0x21>, <&dmac1 0x22>;
dma-names = "tx", "rx", "tx", "rx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: R-Mobile APE6
Line 21: R-Mobile A1
Line 22: SH-Mobile AG5
Line 23: generic SCIFA compatible UART
Line 27: RZ/G1H
Line 28: RZ/G1M
Line 29: RZ/G1N
Line 30: RZ/G1E
Line 31: R-Car H2
Line 32: R-Car M2-W
Line 33: R-Car M2-N
Line 34: R-Car E2
Line 35: R-Car Gen2 and RZ/G1
Line 36: generic SCIFA compatible UART
Line 49: UART functional clock
Renesas Serial Communications Interface with FIFO B (SCIFB)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,scifb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scifb-r8a73a4","renesas,scifb-r8a7740","renesas,scifb-sh73a0"Item 2
Exact value (
const):"renesas,scifb"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,scifb-r8a7742","renesas,scifb-r8a7743","renesas,scifb-r8a7744","renesas,scifb-r8a7745","renesas,scifb-r8a7790","renesas,scifb-r8a7791","renesas,scifb-r8a7793","renesas,scifb-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-scifb"Item 3
Exact value (
const):"renesas,scifb"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
power-domains — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
dmas — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.
dma-names — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
Array item rules (items) #
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "power-domains"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7740-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
scifb: serial@e6c30000 {
compatible = "renesas,scifb-r8a7740", "renesas,scifb";
reg = <0xe6c30000 0x100>;
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&mstp2_clks R8A7740_CLK_SCIFB>;
clock-names = "fck";
power-domains = <&pd_a3sp>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: R-Mobile APE6
Line 21: R-Mobile A1
Line 22: SH-Mobile AG5
Line 23: generic SCIFB compatible UART
Line 27: RZ/G1H
Line 28: RZ/G1M
Line 29: RZ/G1N
Line 30: RZ/G1E
Line 31: R-Car H2
Line 32: R-Car M2-W
Line 33: R-Car M2-N
Line 34: R-Car E2
Line 35: R-Car Gen2 and RZ/G1
Line 36: generic SCIFB compatible UART
Line 49: UART functional clock
RS485 serial communications
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/rs485.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The RTS signal is capable of automatically controlling line direction for the built-in half-duplex mode. The properties described hereafter shall be given to a half-duplex capable UART node.
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
rs485-rts-delay — not listed as required here #
prop-encoded-array <a b>
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Item 1
Delay between rts signal and beginning of data sent in milliseconds. It corresponds to the delay before sending data.
Default value (
default):0Maximum value (
maximum):100
Item 2
Delay between end of data sent and rts signal in milliseconds. It corresponds to the delay after sending data and actual release of the line.
Default value (
default):0Maximum value (
maximum):100
rs485-rts-active-high — not listed as required here #
drive RTS high when sending (this is the default).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rts-active-low — not listed as required here #
drive RTS low when sending (default is high).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rx-active-high — not listed as required here #
Polarity of receiver enable signal (when separate from RTS). True indicates active high (default is low).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
linux,rs485-enabled-at-boot-time — not listed as required here #
enables the rs485 feature at boot time. It can be disabled later with proper ioctl.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-rx-during-tx — not listed as required here #
enables the receiving of data even while sending data.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rs485-term-gpios — not listed as required here #
GPIO pin to enable RS485 bus termination.
Maximum number of items (maxItems): 1
rs485-rx-during-tx-gpios — not listed as required here #
Output GPIO pin that sets the state of rs485-rx-during-tx. This signal can be used to control the RX part of an RS485 transceiver. Thereby the active state enables RX during TX.
Maximum number of items (maxItems): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Samsung S3C, S5P, Exynos, and S5L (Apple SoC) SoC UART Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/samsung_uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Each Samsung UART should have an alias correctly numbered in the "aliases" node, according to serialN format, where N is the port number (non-negative decimal integer) as specified by User's Manual of respective SoC.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"apple,s5l-uart","axis,artpec8-uart","google,gs101-uart","samsung,s3c6400-uart","samsung,s5pv210-uart","samsung,exynos4210-uart","samsung,exynos5433-uart","samsung,exynos850-uart","samsung,exynos8895-uart"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"google,gs101-uart"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynos7-uart","tesla,fsd-uart"Item 2
Exact value (
const):"samsung,exynos4210-uart"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"samsung,exynos5433-uart"
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynosautov9-uart","samsung,exynosautov920-uart"Item 2
Exact value (
const):"samsung,exynos850-uart"
Rule 6
Array item rules (
items)Item 1
Allowed values (
enum):"axis,artpec9-uart","samsung,exynos7870-uart","samsung,exynos8890-uart"Item 2
Exact value (
const):"samsung,exynos8895-uart"
reg — required here #
Maximum number of items (maxItems): 1
reg-io-width — not listed as required here #
The size (in bytes) of the IO accesses that should be performed on the device.
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 5
dmas — not listed as required here #
Array item rules (items) #
Item 1
DMA controller phandle and request line for RX
Item 2
DMA controller phandle and request line for TX
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
interrupts — required here #
RX interrupt and optionally TX interrupt.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
samsung,uart-fifosize — not listed as required here #
The fifo size supported by the UART channel.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 16, 64, 256
Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"uart"Item 2
Exact value (
const):"clk_uart_baud2"Item 3
Exact value (
const):"clk_uart_baud3"When the condition does not match (
else) #Properties and child nodes (
properties)
clock-names— not listed as required hereMinimum number of items (
minItems):2Array item rules (
items)Item 1
Exact value (
const):"uart"Item 2
Exact value (
const):"clk_uart_baud0"Item 3
Exact value (
const):"clk_uart_baud1"Item 4
Exact value (
const):"clk_uart_baud2"Item 5
Exact value (
const):"clk_uart_baud3"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"apple,s5l-uart","axis,artpec8-uart","samsung,exynos4210-uart","samsung,exynos5433-uart"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"google,gs101-uart","samsung,exynos8895-uart"When the condition matches (
then) #Required in this object (
required):"samsung,uart-fifosize"Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):2
clock-names— not listed as required hereMaximum number of items (
maxItems):2
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg-io-width— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/samsung,s3c64xx-clock.h>
uart0: serial@7f005000 {
compatible = "samsung,s3c6400-uart";
reg = <0x7f005000 0x100>;
interrupt-parent = <&vic1>;
interrupts = <5>;
clock-names = "uart", "clk_uart_baud2",
"clk_uart_baud3";
clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
<&clocks SCLK_UART>;
samsung,uart-fifosize = <16>;
};
#include <dt-bindings/clock/google,gs101.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>
serial_0: serial@10a00000 {
compatible = "google,gs101-uart";
reg = <0x10a00000 0xc0>;
clocks = <&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP1_PCLK_0>,
<&cmu_peric0 CLK_GOUT_PERIC0_PERIC0_TOP1_IPCLK_0>;
clock-names = "uart", "clk_uart_baud0";
interrupts = <GIC_SPI 634 IRQ_TYPE_LEVEL_HIGH 0>;
pinctrl-0 = <&uart0_bus>;
pinctrl-names = "default";
samsung,uart-fifosize = <256>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Common Properties for Serial-attached Devices
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/serial-peripheral-props.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>", "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Devices connected over serial/UART, expressed as children of a serial controller, might need similar properties, e.g. for configuring the baud rate.
Properties and child nodes (properties) #
max-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The maximum baud rate the device operates at. This should only be present if the maximum is less than the slave device can support. For example, a particular board has some signal quality issue or the host processor can't support higher baud rates.
current-speed — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The current baud rate the device operates at.
This should only be present in case a driver has no chance to know
the baud rate of the slave device.
Examples:
* device supports auto-baud
* the rate is setup by a bootloader and there is no way to reset
the device
* device baud rate is configured by its firmware but there is no
way to request the actual settings
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Serial Interface Generic
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/serial.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>", "Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
This document lists a set of generic properties for describing UARTs in a device tree. Whether these properties apply to a particular device depends on the DT bindings for the actual device. Each enabled UART may have an optional "serialN" alias in the "aliases" node, where N is the port number (non-negative decimal integer) as printed on the label next to the physical port.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^serial(@.*)?$"
label — not listed as required here #
true — No constraints added by this property rule.
cts-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's CTS line.
dcd-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's DCD line.
dsr-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's DSR line.
dtr-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's DTR line.
rng-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's RNG line.
rts-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Must contain a GPIO specifier, referring to the GPIO pin to be used as the UART's RTS line.
uart-has-rtscts — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
The presence of this property indicates that the UART has dedicated lines for RTS/CTS hardware flow control, and that they are available for use (wired and enabled by pinmux configuration). This depends on both the UART hardware and the board wiring.
rx-tx-swap — not listed as required here #
Value type (type): "boolean"
RX and TX pins are swapped.
cts-rts-swap — not listed as required here #
Value type (type): "boolean"
CTS and RTS pins are swapped.
rx-threshold — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
RX FIFO threshold configuration (in bytes).
tx-threshold — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
TX FIFO threshold configuration (in bytes).
Properties matching a name pattern (patternProperties) #
^(bluetooth|bluetooth-gnss|embedded-controller|gnss|gps|mcu|onewire)$ — name matches this regular expression #
Condition (if) #
Value type (
type):"object"
When the condition matches (then) #
Properties not matched by properties or patternProperties in this schema (
additionalProperties)
trueAllowed by this rule.
Shared schema rule (
$ref):serial-peripheral-props.yaml#Serial attached devices shall be a child node of the host UART device the slave device is attached to. It is expected that the attached device is the only child node of the UART device. The slave device node name shall reflect the generic type of device for the node.
Properties and child nodes (
properties)
compatible— required hereCompatible of the device connected to the serial port.
Condition (if) #
When the condition matches (then) #
Properties and child nodes (
properties) #
cts-gpios— not listed as required here #
false— Not permitted by this property rule.
rts-gpios— not listed as required here #
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Examples (examples) #
serial@1234 {
compatible = "ns16550a";
reg = <0x1234 0x20>;
interrupts = <1>;
bluetooth {
compatible = "brcm,bcm4330-bt";
interrupt-parent = <&gpio>;
interrupts = <10>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
SiFive asynchronous serial interface (UART)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/sifive-serial.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Pragnesh Patel <pragnesh.patel@sifive.com>", "Paul Walmsley <paul.walmsley@sifive.com>", "Palmer Dabbelt <palmer@sifive.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"sifive,fu540-c000-uart","sifive,fu740-c000-uart","canaan,k210-uarths"
Item 2
Exact value (
const):"sifive,uart0"
Should be something similar to "sifive,<chip>-uart" for the UART as integrated on a particular chip, and "sifive,uart<version>" for the general UART IP block programming model. UART HDL that corresponds to the IP block version numbers can be found here - https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/uart
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/sifive-fu540-prci.h>
serial@10010000 {
compatible = "sifive,fu540-c000-uart", "sifive,uart0";
interrupt-parent = <&plic0>;
interrupts = <80>;
reg = <0x10010000 0x1000>;
clocks = <&prci FU540_PRCI_CLK_TLCLK>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Synopsys ARC UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/snps,arc-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vineet Gupta <vgupta@kernel.org>"
Synopsys ARC UART is a non-standard UART used in some of the ARC FPGA boards.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "snps,arc-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clock-frequency — required here #
the input clock frequency for the UART
current-speed — required here #
baud rate for UART
Required in this object (required): "compatible", "reg", "interrupts", "clock-frequency", "current-speed"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@c0fc1000 {
compatible = "snps,arc-uart";
reg = <0xc0fc1000 0x100>;
interrupts = <5>;
clock-frequency = <80000000>;
current-speed = <115200>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Synopsys DesignWare ABP UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/snps-dw-apb-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Shared schema rule (
$ref):rs485.yaml#
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereArray item rules (
items)Item 1
This rule adds no constraints.
Item 2
Exact value (
const):"renesas,rzn1-uart"Item 3
Exact value (
const):"snps,dw-apb-uart"When the condition matches (
then) #Properties and child nodes (
properties)
dmas— not listed as required here
false— Not permitted by this property rule.
dma-names— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"starfive,jh7110-uart"When the condition matches (
then) #Properties and child nodes (
properties)
resets— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
resets— not listed as required hereMaximum number of items (
maxItems):1
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a06g032-uart"Item 2
Exact value (
const):"renesas,rzn1-uart"Item 3
Exact value (
const):"snps,dw-apb-uart"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"renesas,r9a06g032-uart"Item 2
Exact value (
const):"renesas,rzn1-uart"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"anlogic,dr1v90-uart","brcm,bcm11351-dw-apb-uart","brcm,bcm21664-dw-apb-uart","rockchip,px30-uart","rockchip,rk1808-uart","rockchip,rk3036-uart","rockchip,rk3066-uart","rockchip,rk3128-uart","rockchip,rk3188-uart","rockchip,rk3288-uart","rockchip,rk3308-uart","rockchip,rk3328-uart","rockchip,rk3368-uart","rockchip,rk3399-uart","rockchip,rk3506-uart","rockchip,rk3528-uart","rockchip,rk3562-uart","rockchip,rk3568-uart","rockchip,rk3576-uart","rockchip,rk3588-uart","rockchip,rv1108-uart","rockchip,rv1126-uart","sophgo,sg2044-uart","starfive,jh7100-hsuart","starfive,jh7100-uart","starfive,jh7110-uart"Item 2
Exact value (
const):"snps,dw-apb-uart"
Rule 4
Exact value (
const):"snps,dw-apb-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"baudclk"
Item 2
Exact value (
const):"apb_pclk"
dmas — not listed as required here #
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"tx"
Item 2
Exact value (
const):"rx"
snps,uart-16550-compatible — not listed as required here #
reflects the value of UART_16550_COMPATIBLE configuration parameter. Define this if your UART does not implement the busy functionality.
Value type (type): "boolean"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
reg-shift — not listed as required here #
true — No constraints added by this property rule.
reg-io-width — not listed as required here #
true — No constraints added by this property rule.
dcd-override — not listed as required here #
Override the DCD modem status signal. This signal will always be reported as active instead of being obtained from the modem status register. Define this if your serial port does not use this pin.
Value type (type): "boolean"
dsr-override — not listed as required here #
Override the DTS modem status signal. This signal will always be reported as active instead of being obtained from the modem status register. Define this if your serial port does not use this pin.
Value type (type): "boolean"
cts-override — not listed as required here #
Override the CTS modem status signal. This signal will always be reported as active instead of being obtained from the modem status register. Define this if your serial port does not use this pin.
Value type (type): "boolean"
ri-override — not listed as required here #
Override the RI modem status signal. This signal will always be reported as inactive instead of being obtained from the modem status register. Define this if your serial port does not use this pin.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@80230000 {
compatible = "snps,dw-apb-uart";
reg = <0x80230000 0x100>;
clock-frequency = <3686400>;
interrupts = <10>;
reg-shift = <2>;
reg-io-width = <4>;
dcd-override;
dsr-override;
cts-override;
ri-override;
};
// Example with one clock:
serial@80230000 {
compatible = "snps,dw-apb-uart";
reg = <0x80230000 0x100>;
clocks = <&baudclk>;
interrupts = <10>;
reg-shift = <2>;
reg-io-width = <4>;
};
// Example with two clocks:
serial@80230000 {
compatible = "snps,dw-apb-uart";
reg = <0x80230000 0x100>;
clocks = <&baudclk>, <&apb_pclk>;
clock-names = "baudclk", "apb_pclk";
interrupts = <10>;
reg-shift = <2>;
reg-io-width = <4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Socionext Milbeaut UART controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/socionext,milbeaut-usio-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sugaya Taichi <sugaya.taichi@socionext.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/serial/serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "socionext,milbeaut-usio-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Array item rules (items) #
Item 1
RX interrupt specifier
Item 2
TX interrupt specifier
interrupt-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
clocks — not listed as required here #
Maximum number of items (maxItems): 1
auto-flow-control — not listed as required here #
Enable automatic flow control.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "interrupts", "interrupt-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@1e700010 {
compatible = "socionext,milbeaut-usio-uart";
reg = <0x1e700010 0x10>;
interrupts = <0 141 0x4>, <0 149 0x4>;
interrupt-names = "rx", "tx";
clocks = <&clk 2>;
auto-flow-control;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
UniPhier UART controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/socionext,uniphier-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Masahiro Yamada <yamada.masahiro@socionext.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "socionext,uniphier-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
auto-flow-control — not listed as required here #
enable automatic flow control support.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
aliases {
serial0 = &serial0;
};
serial0: serial@54006800 {
compatible = "socionext,uniphier-uart";
reg = <0x54006800 0x40>;
interrupts = <0 33 4>;
clocks = <&uart_clk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Spreadtrum serial UART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/sprd-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Orson Zhai <orsonzhai@gmail.com>", "Baolin Wang <baolin.wang7@gmail.com>", "Chunyan Zhang <zhang.lyra@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Item 2
Exact value (
const):"sprd,sc9632-uart"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"sprd,sc9860-uart","sprd,sc9863a-uart","sprd,ums512-uart","sprd,ums9620-uart"Item 2
Exact value (
const):"sprd,sc9836-uart"
Rule 3
Allowed values (
enum):"sprd,sc9632-uart","sprd,sc9836-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
clock-names — not listed as required here #
"enable" for UART module enable clock, "uart" for UART clock, "source" for UART source (parent) clock.
Array item rules (items) #
Item 1
Exact value (
const):"enable"
Item 2
Exact value (
const):"uart"
Item 3
Exact value (
const):"source"
dmas — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@0 {
compatible = "sprd,sc9860-uart", "sprd,sc9836-uart";
reg = <0x0 0x100>;
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
dma-names = "rx", "tx";
dmas = <&ap_dma 19>, <&ap_dma 20>;
clock-names = "enable", "uart", "source";
clocks = <&clk_ap_apb_gates 9>, <&clk_uart0>, <&ext_26m>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2019 Unisoc Inc.
STMicroelectronics STi SoCs Serial Port
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/st,asc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Patrice Chotard <patrice.chotard@foss.st.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,asc"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
st,hw-flow-ctrl — not listed as required here #
When set, enable hardware flow control.
Value type (type): "boolean"
st,force-m1 — not listed as required here #
When set, force asc to be in Mode-1. This is recommended for high bit rates above 19.2K.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stih407-clks.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
serial@9830000 {
compatible = "st,asc";
reg = <0x9830000 0x2c>;
interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
STMicroelectronics STM32 USART
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/st,stm32-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Erwan Le Ray <erwan.leray@foss.st.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,stm32-uart", "st,stm32f7-uart", "st,stm32h7-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
label — not listed as required here #
label associated with this uart
st,hw-flow-ctrl — not listed as required here #
enable hardware flow control (deprecated)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
rx-tx-swap — not listed as required here #
true — No constraints added by this property rule.
dmas — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
dma-names — not listed as required here #
Array item rules (items) #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
cts-gpios — not listed as required here #
true — No constraints added by this property rule.
rts-gpios — not listed as required here #
true — No constraints added by this property rule.
wakeup-source — not listed as required here #
true — No constraints added by this property rule.
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
rx-threshold — not listed as required here #
If value is set to 1, RX FIFO threshold is disabled.
Allowed values (enum): 1, 2, 4, 8, 12, 14, 16
Default value (default): 8
tx-threshold — not listed as required here #
If value is set to 1, TX FIFO threshold is disabled.
Allowed values (enum): 1, 2, 4, 8, 12, 14, 16
Default value (default): 8
access-controllers — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):rs485.yaml#
Rule 2 #
Shared schema rule (
$ref):serial.yaml#
Rule 3 #
Condition (
if) #When the condition matches (
then) #Properties and child nodes (
properties)
cts-gpios— not listed as required here
false— Not permitted by this property rule.
rts-gpios— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"st,stm32-uart"When the condition matches (
then) #Properties and child nodes (
properties)
rx-tx-swap— not listed as required here
false— Not permitted by this property rule.
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
rx-threshold— not listed as required here
false— Not permitted by this property rule.
tx-threshold— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/stm32mp1-clks.h>
usart1: serial@40011000 {
compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>;
interrupts = <37>;
clocks = <&rcc 0 164>;
dmas = <&dma2 2 4 0x414 0x0>,
<&dma2 7 4 0x414 0x0>;
dma-names = "rx", "tx";
rx-threshold = <4>;
tx-threshold = <4>;
rs485-rts-active-low;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 50: cts-gpios and rts-gpios properties can be used instead of 'uart-has-rtscts'
Line 51: or 'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow
Line 52: control instead of dedicated pins.
Line 53:
Line 54: It should be noted that both cts-gpios/rts-gpios and 'uart-has-rtscts' or
Line 55: 'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design.
Sunplus SoC SP7021 UART Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/sunplus,sp7021-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Hammer Hsieh <hammerh0314@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sunplus,sp7021-uart"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
aliases {
serial0 = &uart0;
};
uart0: serial@9c000900 {
compatible = "sunplus,sp7021-uart";
reg = <0x9c000900 0x80>;
interrupt-parent = <&intc>;
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clkc 0x28>;
resets = <&rstc 0x18>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) Sunplus Co., Ltd. 2021
VIA VT8500 and WonderMedia WM8xxx UART Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/via,vt8500-uart.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexey Charkov <alchark@gmail.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "via,vt8500-uart", "wm,wm8880-uart"
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "clocks", "interrupts", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@d8200000 {
compatible = "via,vt8500-uart";
reg = <0xd8200000 0x1040>;
interrupts = <32>;
clocks = <&clkuart0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 19: up to WM8850/WM8950
Line 20: for WM8880 and later
Xilinx Axi Uartlite
Peios Kernel / Hardware and drivers / Device-tree binding reference / Serial bindings
Schema identifier ($id): "http://devicetree.org/schemas/serial/xlnx,opb-uartlite.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Peter Korsgaard <jacmet@sunsite.dk>"
Properties and child nodes (properties) #
compatible — required here #
Rule for matching array elements (contains) #
Allowed values (
enum):"xlnx,xps-uartlite-1.00.a","xlnx,opb-uartlite-1.00.b"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
port-number — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Set Uart port number
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "s_axi_aclk"
current-speed — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
The fixed baud rate that the device was configured for.
xlnx,data-bits — required here #
Allowed values (enum): 5, 6, 7, 8
The fixed number of data bits that the device was configured for.
xlnx,use-parity — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Whether parity checking was enabled when the device was configured.
xlnx,odd-parity — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Whether odd parity was configured.
Required in this object (required): "compatible", "reg", "interrupts", "current-speed", "xlnx,data-bits", "xlnx,use-parity"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):serial.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
xlnx,use-parity— not listed as required hereExact value (
const):1When the condition matches (
then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
serial@800c0000 {
compatible = "xlnx,xps-uartlite-1.00.a";
reg = <0x800c0000 0x10000>;
interrupts = <0x0 0x6e 0x1>;
port-number = <0>;
current-speed = <115200>;
xlnx,data-bits = <8>;
xlnx,use-parity = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause