blob: 7a0e15053db97481dbdd22b5bb56c134870210f1 [file] [log] [blame]
Laurent Pinchart334bc112013-12-06 10:59:53 +01001* Renesas SH-Mobile Serial Communication Interface
2
3Required properties:
4
Geert Uytterhoeven598604f2015-12-11 12:48:15 +01005 - compatible: Must contain one or more of the following:
Laurent Pinchart334bc112013-12-06 10:59:53 +01006
Geert Uytterhoeven681b05f2014-11-14 16:59:32 +01007 - "renesas,scif-r7s72100" for R7S72100 (RZ/A1H) SCIF compatible UART.
Simon Horman34c4eda2014-07-11 11:11:08 +02008 - "renesas,scifa-r8a73a4" for R8A73A4 (R-Mobile APE6) SCIFA compatible UART.
9 - "renesas,scifb-r8a73a4" for R8A73A4 (R-Mobile APE6) SCIFB compatible UART.
10 - "renesas,scifa-r8a7740" for R8A7740 (R-Mobile A1) SCIFA compatible UART.
11 - "renesas,scifb-r8a7740" for R8A7740 (R-Mobile A1) SCIFB compatible UART.
12 - "renesas,scif-r8a7778" for R8A7778 (R-Car M1) SCIF compatible UART.
Simon Horman81bd1eb2014-05-15 20:00:58 +090013 - "renesas,scif-r8a7779" for R8A7779 (R-Car H1) SCIF compatible UART.
Laurent Pinchart334bc112013-12-06 10:59:53 +010014 - "renesas,scif-r8a7790" for R8A7790 (R-Car H2) SCIF compatible UART.
15 - "renesas,scifa-r8a7790" for R8A7790 (R-Car H2) SCIFA compatible UART.
16 - "renesas,scifb-r8a7790" for R8A7790 (R-Car H2) SCIFB compatible UART.
17 - "renesas,hscif-r8a7790" for R8A7790 (R-Car H2) HSCIF compatible UART.
Ulrich Hecht456ad4a2015-10-19 14:31:49 +020018 - "renesas,scif-r8a7791" for R8A7791 (R-Car M2-W) SCIF compatible UART.
19 - "renesas,scifa-r8a7791" for R8A7791 (R-Car M2-W) SCIFA compatible UART.
20 - "renesas,scifb-r8a7791" for R8A7791 (R-Car M2-W) SCIFB compatible UART.
21 - "renesas,hscif-r8a7791" for R8A7791 (R-Car M2-W) HSCIF compatible UART.
Simon Horman02064172016-01-11 10:39:20 +090022 - "renesas,scif-r8a7792" for R8A7792 (R-Car V2H) SCIF compatible UART.
23 - "renesas,hscif-r8a7792" for R8A7792 (R-Car V2H) HSCIF compatible UART.
Ulrich Hecht456ad4a2015-10-19 14:31:49 +020024 - "renesas,scif-r8a7793" for R8A7793 (R-Car M2-N) SCIF compatible UART.
25 - "renesas,scifa-r8a7793" for R8A7793 (R-Car M2-N) SCIFA compatible UART.
26 - "renesas,scifb-r8a7793" for R8A7793 (R-Car M2-N) SCIFB compatible UART.
27 - "renesas,hscif-r8a7793" for R8A7793 (R-Car M2-N) HSCIF compatible UART.
Ulrich Hechtc5565222014-11-14 16:59:31 +010028 - "renesas,scif-r8a7794" for R8A7794 (R-Car E2) SCIF compatible UART.
29 - "renesas,scifa-r8a7794" for R8A7794 (R-Car E2) SCIFA compatible UART.
30 - "renesas,scifb-r8a7794" for R8A7794 (R-Car E2) SCIFB compatible UART.
31 - "renesas,hscif-r8a7794" for R8A7794 (R-Car E2) HSCIF compatible UART.
Kuninori Morimoto3575b852015-09-30 11:57:33 +020032 - "renesas,scif-r8a7795" for R8A7795 (R-Car H3) SCIF compatible UART.
33 - "renesas,hscif-r8a7795" for R8A7795 (R-Car H3) HSCIF compatible UART.
Geert Uytterhoeven681b05f2014-11-14 16:59:32 +010034 - "renesas,scifa-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFA compatible UART.
35 - "renesas,scifb-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFB compatible UART.
Geert Uytterhoeven598604f2015-12-11 12:48:15 +010036 - "renesas,rcar-gen1-scif" for R-Car Gen1 SCIF compatible UART,
37 - "renesas,rcar-gen2-scif" for R-Car Gen2 SCIF compatible UART,
38 - "renesas,rcar-gen3-scif" for R-Car Gen3 SCIF compatible UART,
39 - "renesas,rcar-gen2-scifa" for R-Car Gen2 SCIFA compatible UART,
40 - "renesas,rcar-gen2-scifb" for R-Car Gen2 SCIFB compatible UART,
41 - "renesas,rcar-gen1-hscif" for R-Car Gen1 HSCIF compatible UART,
42 - "renesas,rcar-gen2-hscif" for R-Car Gen2 HSCIF compatible UART,
43 - "renesas,rcar-gen3-hscif" for R-Car Gen3 HSCIF compatible UART,
Laurent Pinchart334bc112013-12-06 10:59:53 +010044 - "renesas,scif" for generic SCIF compatible UART.
45 - "renesas,scifa" for generic SCIFA compatible UART.
46 - "renesas,scifb" for generic SCIFB compatible UART.
47 - "renesas,hscif" for generic HSCIF compatible UART.
Yoshinori Satoe1d0be62015-01-28 02:53:55 +090048 - "renesas,sci" for generic SCI compatible UART.
Laurent Pinchart334bc112013-12-06 10:59:53 +010049
50 When compatible with the generic version, nodes must list the
Geert Uytterhoeven598604f2015-12-11 12:48:15 +010051 SoC-specific version corresponding to the platform first, followed by the
52 family-specific and/or generic versions.
Laurent Pinchart334bc112013-12-06 10:59:53 +010053
54 - reg: Base address and length of the I/O registers used by the UART.
55 - interrupts: Must contain an interrupt-specifier for the SCIx interrupt.
56
57 - clocks: Must contain a phandle and clock-specifier pair for each entry
58 in clock-names.
Laurent Pincharta9ec81f2015-09-14 15:14:23 +030059 - clock-names: Must contain "fck" for the SCIx UART functional clock.
Geert Uytterhoeven9a040c92015-11-12 13:44:29 +010060 Apart from the divided functional clock, there may be other possible
61 sources for the sampling clock, depending on SCIx variant.
62 On (H)SCI(F) and some SCIFA, an additional clock may be specified:
63 - "hsck" for the optional external clock input (on HSCIF),
64 - "sck" for the optional external clock input (on other variants).
Geert Uytterhoeven176ae5f2015-10-26 09:43:22 +010065 On UARTs equipped with a Baud Rate Generator for External Clock (BRG)
66 (some SCIF and HSCIF), additional clocks may be specified:
67 - "brg_int" for the optional internal clock source for the frequency
68 divider (typically the (AXI or SHwy) bus clock),
69 - "scif_clk" for the optional external clock source for the frequency
70 divider (SCIF_CLK).
Laurent Pinchart334bc112013-12-06 10:59:53 +010071
72Note: Each enabled SCIx UART should have an alias correctly numbered in the
73"aliases" node.
74
Geert Uytterhoeven3c991212015-05-20 19:46:24 +020075Optional properties:
76 - dmas: Must contain a list of two references to DMA specifiers, one for
77 transmission, and one for reception.
78 - dma-names: Must contain a list of two DMA names, "tx" and "rx".
Geert Uytterhoeven0c529b32016-06-03 12:00:01 +020079 - {cts,dsr,dcd,rng,rts,dtr}-gpios: Specify GPIOs for modem lines, cfr. the
80 generic serial DT bindings in serial.txt.
Geert Uytterhoevenb0405dc2016-06-03 12:00:02 +020081 - uart-has-rtscts: Indicates dedicated lines for RTS/CTS hardware flow
82 control, cfr. the generic serial DT bindings in serial.txt.
Geert Uytterhoeven3c991212015-05-20 19:46:24 +020083
Laurent Pinchart334bc112013-12-06 10:59:53 +010084Example:
85 aliases {
86 serial0 = &scifa0;
87 };
88
89 scifa0: serial@e6c40000 {
Geert Uytterhoeven598604f2015-12-11 12:48:15 +010090 compatible = "renesas,scifa-r8a7790",
91 "renesas,rcar-gen2-scifa", "renesas,scifa";
Laurent Pinchart334bc112013-12-06 10:59:53 +010092 reg = <0 0xe6c40000 0 64>;
93 interrupt-parent = <&gic>;
94 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
95 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
Laurent Pincharta9ec81f2015-09-14 15:14:23 +030096 clock-names = "fck";
Geert Uytterhoeven3c991212015-05-20 19:46:24 +020097 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
98 dma-names = "tx", "rx";
Laurent Pinchart334bc112013-12-06 10:59:53 +010099 };