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, Exynos, and S5L (Apple SoC) 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.
25 - samsung,s3c6400-uart
26 - samsung,s5pv210-uart
27 - samsung,exynos4210-uart
28 - samsung,exynos5433-uart
29 - samsung,exynos850-uart
32 - samsung,exynos7-uart
34 - const: samsung,exynos4210-uart
37 - samsung,exynos7885-uart
38 - const: samsung,exynos5433-uart
41 - samsung,exynosautov9-uart
42 - samsung,exynosautov920-uart
43 - const: samsung,exynos850-uart
50 The size (in bytes) of the IO accesses that should be performed
59 description: N = 0 is allowed for SoCs without internal baud clock mux.
63 - pattern: '^clk_uart_baud[0-3]$'
64 - pattern: '^clk_uart_baud[0-3]$'
65 - pattern: '^clk_uart_baud[0-3]$'
66 - pattern: '^clk_uart_baud[0-3]$'
70 - description: DMA controller phandle and request line for RX
71 - description: DMA controller phandle and request line for TX
79 description: RX interrupt and optionally TX interrupt.
86 samsung,uart-fifosize:
87 description: The fifo size supported by the UART channel.
88 $ref: /schemas/types.yaml#/definitions/uint32
106 - samsung,s5pv210-uart
116 - pattern: '^clk_uart_baud[0-1]$'
117 - pattern: '^clk_uart_baud[0-1]$'
126 - samsung,exynos4210-uart
127 - samsung,exynos5433-uart
135 - const: clk_uart_baud0
145 - samsung,uart-fifosize
147 unevaluatedProperties: false
151 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
153 uart0: serial@7f005000 {
154 compatible = "samsung,s3c6400-uart";
155 reg = <0x7f005000 0x100>;
156 interrupt-parent = <&vic1>;
158 clock-names = "uart", "clk_uart_baud2",
160 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
162 samsung,uart-fifosize = <16>;