Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
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)