1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: "http://devicetree.org/schemas/serial/renesas,scif.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Renesas Serial Communication Interface with FIFO (SCIF)
10 - Geert Uytterhoeven <geert+renesas@glider.be>
20 - renesas,scif-r7s72100 # RZ/A1H
21 - const: renesas,scif # generic SCIF compatible UART
25 - renesas,scif-r7s9210 # RZ/A2
29 - renesas,scif-r8a7778 # R-Car M1
30 - renesas,scif-r8a7779 # R-Car H1
31 - const: renesas,rcar-gen1-scif # R-Car Gen1
32 - const: renesas,scif # generic SCIF compatible UART
36 - renesas,scif-r8a7743 # RZ/G1M
37 - renesas,scif-r8a7744 # RZ/G1N
38 - renesas,scif-r8a7745 # RZ/G1E
39 - renesas,scif-r8a77470 # RZ/G1C
40 - renesas,scif-r8a7790 # R-Car H2
41 - renesas,scif-r8a7791 # R-Car M2-W
42 - renesas,scif-r8a7792 # R-Car V2H
43 - renesas,scif-r8a7793 # R-Car M2-N
44 - renesas,scif-r8a7794 # R-Car E2
45 - const: renesas,rcar-gen2-scif # R-Car Gen2 and RZ/G1
46 - const: renesas,scif # generic SCIF compatible UART
50 - renesas,scif-r8a774a1 # RZ/G2M
51 - renesas,scif-r8a774b1 # RZ/G2N
52 - renesas,scif-r8a774c0 # RZ/G2E
53 - renesas,scif-r8a7795 # R-Car H3
54 - renesas,scif-r8a7796 # R-Car M3-W
55 - renesas,scif-r8a77961 # R-Car M3-W+
56 - renesas,scif-r8a77965 # R-Car M3-N
57 - renesas,scif-r8a77970 # R-Car V3M
58 - renesas,scif-r8a77980 # R-Car V3H
59 - renesas,scif-r8a77990 # R-Car E3
60 - renesas,scif-r8a77995 # R-Car D3
61 - const: renesas,rcar-gen3-scif # R-Car Gen3 and RZ/G2
62 - const: renesas,scif # generic SCIF compatible UART
70 - description: A combined interrupt
72 - description: Error interrupt
73 - description: Receive buffer full interrupt
74 - description: Transmit buffer empty interrupt
75 - description: Transmit End interrupt
77 - description: Error interrupt
78 - description: Receive buffer full interrupt
79 - description: Transmit buffer empty interrupt
80 - description: Break interrupt
81 - description: Data Ready interrupt
82 - description: Transmit End interrupt
108 - fck # UART functional clock
109 - sck # optional external clock input
110 - brg_int # optional internal clock source for BRG frequency divider
111 - scif_clk # optional external clock source for BRG frequency divider
121 Must contain a list of pairs of references to DMA specifiers, one for
122 transmission, and one for reception.
145 - renesas,rcar-gen2-scif
146 - renesas,rcar-gen3-scif
153 #include <dt-bindings/clock/r8a7791-cpg-mssr.h>
154 #include <dt-bindings/interrupt-controller/arm-gic.h>
155 #include <dt-bindings/power/r8a7791-sysc.h>
160 scif0: serial@e6e60000 {
161 compatible = "renesas,scif-r8a7791", "renesas,rcar-gen2-scif",
163 reg = <0xe6e60000 64>;
164 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
165 clocks = <&cpg CPG_MOD 721>, <&cpg CPG_CORE R8A7791_CLK_ZS>,
167 clock-names = "fck", "brg_int", "scif_clk";
168 dmas = <&dmac0 0x29>, <&dmac0 0x2a>, <&dmac1 0x29>, <&dmac1 0x2a>;
169 dma-names = "tx", "rx", "tx", "rx";
170 power-domains = <&sysc R8A7791_PD_ALWAYS_ON>;