serial: 8250: introduce up_to_u8250p() helper
[deliverable/linux.git] / Documentation / devicetree / bindings / serial / samsung_uart.txt
CommitLineData
26c919e1
TA
1* Samsung's UART Controller
2
9b58bec7
TF
3The Samsung's UART controller is used for interfacing SoC with serial
4communicaion devices.
26c919e1
TA
5
6Required properties:
9b58bec7
TF
7- 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.
26c919e1
TA
14
15- reg: base physical address of the controller and length of memory mapped
16 region.
17
9b58bec7
TF
18- 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
32Note: Each Samsung UART should have an alias correctly numbered in the
33"aliases" node, according to serialN format, where N is the port number
34(non-negative decimal integer) as specified by User's Manual of respective
35SoC.
36
37Example:
38 aliases {
39 serial0 = &uart0;
40 serial1 = &uart1;
41 serial2 = &uart2;
42 };
43
44Example:
45 uart1: serial@7f005400 {
46 compatible = "samsung,s3c6400-uart";
47 reg = <0x7f005400 0x100>;
48 interrupt-parent = <&vic1>;
49 interrupts = <6>;
50 clock-names = "uart", "clk_uart_baud2",
51 "clk_uart_baud3";
52 clocks = <&clocks PCLK_UART1>, <&clocks PCLK_UART1>,
53 <&clocks SCLK_UART>;
54 };
This page took 0.15235 seconds and 5 git commands to generate.