1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/serial/samsung_uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C, S5P and Exynos SoC UART Controller
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 Each Samsung UART should have an alias correctly numbered in the "aliases"
15 node, according to serialN format, where N is the port number (non-negative
16 decimal integer) as specified by User's Manual of respective SoC.
22 - samsung,s3c2410-uart
23 - samsung,s3c2412-uart
24 - samsung,s3c2440-uart
25 - samsung,s3c6400-uart
26 - samsung,s5pv210-uart
27 - samsung,exynos4210-uart
37 description: N = 0 is allowed for SoCs without internal baud clock mux.
42 - pattern: '^clk_uart_baud[0-3]$'
43 - pattern: '^clk_uart_baud[0-3]$'
44 - pattern: '^clk_uart_baud[0-3]$'
45 - pattern: '^clk_uart_baud[0-3]$'
48 description: RX interrupt and optionally TX interrupt.
52 samsung,uart-fifosize:
53 description: The fifo size supported by the UART channel.
55 - $ref: /schemas/types.yaml#/definitions/uint32
71 - samsung,s3c2410-uart
72 - samsung,s5pv210-uart
83 - pattern: '^clk_uart_baud[0-1]$'
84 - pattern: '^clk_uart_baud[0-1]$'
91 - samsung,exynos4210-uart
102 - const: clk_uart_baud0
106 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
108 uart0: serial@7f005000 {
109 compatible = "samsung,s3c6400-uart";
110 reg = <0x7f005000 0x100>;
111 interrupt-parent = <&vic1>;
113 clock-names = "uart", "clk_uart_baud2",
115 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
117 samsung,uart-fifosize = <16>;