Renesas Serial Communication Interface with FIFO (SCIF)
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