Renesas Serial Communications Interface with FIFO A (SCIFA)
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