]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/serial/renesas,sci-serial.txt
Merge remote-tracking branch 'y2038/y2038'
[karo-tx-linux.git] / Documentation / devicetree / bindings / serial / renesas,sci-serial.txt
1 * Renesas SH-Mobile Serial Communication Interface
2
3 Required properties:
4
5   - compatible: Must contain one of the following:
6
7     - "renesas,scif-r7s72100" for R7S72100 (RZ/A1H) SCIF compatible UART.
8     - "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.
13     - "renesas,scif-r8a7779" for R8A7779 (R-Car H1) SCIF compatible UART.
14     - "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.
18     - "renesas,scif-r8a7791" for R8A7791 (R-Car M2) SCIF compatible UART.
19     - "renesas,scifa-r8a7791" for R8A7791 (R-Car M2) SCIFA compatible UART.
20     - "renesas,scifb-r8a7791" for R8A7791 (R-Car M2) SCIFB compatible UART.
21     - "renesas,hscif-r8a7791" for R8A7791 (R-Car M2) HSCIF compatible UART.
22     - "renesas,scif-r8a7794" for R8A7794 (R-Car E2) SCIF compatible UART.
23     - "renesas,scifa-r8a7794" for R8A7794 (R-Car E2) SCIFA compatible UART.
24     - "renesas,scifb-r8a7794" for R8A7794 (R-Car E2) SCIFB compatible UART.
25     - "renesas,hscif-r8a7794" for R8A7794 (R-Car E2) HSCIF compatible UART.
26     - "renesas,scif-r8a7795" for R8A7795 (R-Car H3) SCIF compatible UART.
27     - "renesas,hscif-r8a7795" for R8A7795 (R-Car H3) HSCIF compatible UART.
28     - "renesas,scifa-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFA compatible UART.
29     - "renesas,scifb-sh73a0" for SH73A0 (SH-Mobile AG5) SCIFB compatible UART.
30     - "renesas,scif" for generic SCIF compatible UART.
31     - "renesas,scifa" for generic SCIFA compatible UART.
32     - "renesas,scifb" for generic SCIFB compatible UART.
33     - "renesas,hscif" for generic HSCIF compatible UART.
34     - "renesas,sci" for generic SCI compatible UART.
35
36     When compatible with the generic version, nodes must list the
37     SoC-specific version corresponding to the platform first followed by the
38     generic version.
39
40   - reg: Base address and length of the I/O registers used by the UART.
41   - interrupts: Must contain an interrupt-specifier for the SCIx interrupt.
42
43   - clocks: Must contain a phandle and clock-specifier pair for each entry
44     in clock-names.
45   - clock-names: Must contain "sci_ick" for the SCIx UART interface clock.
46
47 Note: Each enabled SCIx UART should have an alias correctly numbered in the
48 "aliases" node.
49
50 Optional properties:
51   - dmas: Must contain a list of two references to DMA specifiers, one for
52           transmission, and one for reception.
53   - dma-names: Must contain a list of two DMA names, "tx" and "rx".
54
55 Example:
56         aliases {
57                 serial0 = &scifa0;
58         };
59
60         scifa0: serial@e6c40000 {
61                 compatible = "renesas,scifa-r8a7790", "renesas,scifa";
62                 reg = <0 0xe6c40000 0 64>;
63                 interrupt-parent = <&gic>;
64                 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
65                 clocks = <&mstp2_clks R8A7790_CLK_SCIFA0>;
66                 clock-names = "sci_ick";
67                 dmas = <&dmac0 0x21>, <&dmac0 0x22>;
68                 dma-names = "tx", "rx";
69         };