Renesas Serial Communication Interface
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