blob: e85f37ec33f0277b27ab7aa4f39c4b34c4cbfcd2 [file] [log] [blame]
Thomas Abraham26c919e2011-11-06 22:10:44 +05301* Samsung's UART Controller
2
Tomasz Figa9b58bec2014-06-26 13:24:33 +02003The Samsung's UART controller is used for interfacing SoC with serial
4communicaion devices.
Thomas Abraham26c919e2011-11-06 22:10:44 +05305
6Required properties:
Tomasz Figa9b58bec2014-06-26 13:24:33 +02007- compatible: should be one of following:
8 - "samsung,exynos4210-uart" - Exynos4210 SoC,
9 - "samsung,s3c2410-uart" - compatible with ports present on S3C2410 SoC,
10 - "samsung,s3c2412-uart" - compatible with ports present on S3C2412 SoC,
11 - "samsung,s3c2440-uart" - compatible with ports present on S3C2440 SoC,
12 - "samsung,s3c6400-uart" - compatible with ports present on S3C6400 SoC,
13 - "samsung,s5pv210-uart" - compatible with ports present on S5PV210 SoC.
Thomas Abraham26c919e2011-11-06 22:10:44 +053014
15- reg: base physical address of the controller and length of memory mapped
16 region.
17
Tomasz Figa9b58bec2014-06-26 13:24:33 +020018- interrupts: a single interrupt signal to SoC interrupt controller,
19 according to interrupt bindings documentation [1].
20
21- clock-names: input names of clocks used by the controller:
22 - "uart" - controller bus clock,
23 - "clk_uart_baudN" - Nth baud base clock input (N = 0, 1, ...),
24 according to SoC User's Manual (only N = 0 is allowedfor SoCs without
25 internal baud clock mux).
26- clocks: phandles and specifiers for all clocks specified in "clock-names"
27 property, in the same order, according to clock bindings documentation [2].
28
29[1] Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
30[2] Documentation/devicetree/bindings/clock/clock-bindings.txt
31
Naveen Krishna Chatradhi135f07c2014-07-14 17:07:16 +053032Optional properties:
33- samsung,uart-fifosize: The fifo size supported by the UART channel
34
Tomasz Figa9b58bec2014-06-26 13:24:33 +020035Note: Each Samsung UART should have an alias correctly numbered in the
36"aliases" node, according to serialN format, where N is the port number
37(non-negative decimal integer) as specified by User's Manual of respective
38SoC.
39
40Example:
41 aliases {
42 serial0 = &uart0;
43 serial1 = &uart1;
44 serial2 = &uart2;
45 };
46
47Example:
48 uart1: serial@7f005400 {
49 compatible = "samsung,s3c6400-uart";
50 reg = <0x7f005400 0x100>;
51 interrupt-parent = <&vic1>;
52 interrupts = <6>;
53 clock-names = "uart", "clk_uart_baud2",
54 "clk_uart_baud3";
55 clocks = <&clocks PCLK_UART1>, <&clocks PCLK_UART1>,
56 <&clocks SCLK_UART>;
Naveen Krishna Chatradhi135f07c2014-07-14 17:07:16 +053057 samsung,uart-fifosize = <16>;
Tomasz Figa9b58bec2014-06-26 13:24:33 +020058 };