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