Renesas High Speed Serial Communication Interface with FIFO (HSCIF)
Schema identifier ($id): "http://devicetree.org/schemas/serial/renesas,hscif.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,hscif-r8a7778","renesas,hscif-r8a7779"Item 2
Exact value (
const):"renesas,rcar-gen1-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a7742","renesas,hscif-r8a7743","renesas,hscif-r8a7744","renesas,hscif-r8a7745","renesas,hscif-r8a77470","renesas,hscif-r8a7790","renesas,hscif-r8a7791","renesas,hscif-r8a7792","renesas,hscif-r8a7793","renesas,hscif-r8a7794"Item 2
Exact value (
const):"renesas,rcar-gen2-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a774a1","renesas,hscif-r8a774b1","renesas,hscif-r8a774c0","renesas,hscif-r8a774e1","renesas,hscif-r8a7795","renesas,hscif-r8a7796","renesas,hscif-r8a77961","renesas,hscif-r8a77965","renesas,hscif-r8a77970","renesas,hscif-r8a77980","renesas,hscif-r8a77990","renesas,hscif-r8a77995"Item 2
Exact value (
const):"renesas,rcar-gen3-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 4
Array item rules (
items)Item 1
Allowed values (
enum):"renesas,hscif-r8a779a0","renesas,hscif-r8a779f0","renesas,hscif-r8a779g0","renesas,hscif-r8a779h0"Item 2
Exact value (
const):"renesas,rcar-gen4-hscif"Item 3
Exact value (
const):"renesas,hscif"
Rule 5
Array item rules (
items)Item 1
Item 2
Exact value (
const):"renesas,rcar-gen5-hscif"Item 3
Exact value (
const):"renesas,hscif"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
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"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Allowed values (
enum):"renesas,rcar-gen2-hscif","renesas,rcar-gen3-hscif","renesas,rcar-gen4-hscif","renesas,rcar-gen5-hscif"
When the condition matches (then) #
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/r8a7795-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a7795-sysc.h>
aliases {
serial1 = &hscif1;
};
hscif1: serial@e6550000 {
compatible = "renesas,hscif-r8a7795", "renesas,rcar-gen3-hscif",
"renesas,hscif";
reg = <0xe6550000 96>;
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cpg CPG_MOD 519>, <&cpg CPG_CORE R8A7795_CLK_S3D1>,
<&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk";
dmas = <&dmac1 0x33>, <&dmac1 0x32>, <&dmac2 0x33>, <&dmac2 0x32>;
dma-names = "tx", "rx", "tx", "rx";
power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
resets = <&cpg 519>;
uart-has-rtscts;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 20: R-Car M1
Line 21: R-Car H1
Line 22: R-Car Gen1
Line 23: generic HSCIF compatible UART
Line 27: RZ/G1H
Line 28: RZ/G1M
Line 29: RZ/G1N
Line 30: RZ/G1E
Line 31: RZ/G1C
Line 32: R-Car H2
Line 33: R-Car M2-W
Line 34: R-Car V2H
Line 35: R-Car M2-N
Line 36: R-Car E2
Line 37: R-Car Gen2 and RZ/G1
Line 38: generic HSCIF compatible UART
Line 42: RZ/G2M
Line 43: RZ/G2N
Line 44: RZ/G2E
Line 45: RZ/G2H
Line 46: R-Car H3
Line 47: R-Car M3-W
Line 48: R-Car M3-W+
Line 49: R-Car M3-N
Line 50: R-Car V3M
Line 51: R-Car V3H
Line 52: R-Car E3
Line 53: R-Car D3
Line 54: R-Car Gen3 and RZ/G2
Line 55: generic HSCIF compatible UART
Line 59: R-Car V3U
Line 60: R-Car S4-8
Line 61: R-Car V4H
Line 62: R-Car V4M
Line 63: R-Car Gen4
Line 64: generic HSCIF compatible UART
Line 68: R-Car X5H
Line 69: R-Car Gen5
Line 70: generic HSCIF compatible UART
Line 87: UART functional clock
Line 88: optional external clock input
Line 89: optional internal clock source for BRG frequency divider
Line 90: optional external clock source for BRG frequency divider