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
34 The size (in bytes) of the IO accesses that should be performed
36 $ref: /schemas/types.yaml#/definitions/uint32
44 description: N = 0 is allowed for SoCs without internal baud clock mux.
49 - pattern: '^clk_uart_baud[0-3]$'
50 - pattern: '^clk_uart_baud[0-3]$'
51 - pattern: '^clk_uart_baud[0-3]$'
52 - pattern: '^clk_uart_baud[0-3]$'
55 description: RX interrupt and optionally TX interrupt.
59 samsung,uart-fifosize:
60 description: The fifo size supported by the UART channel.
61 $ref: /schemas/types.yaml#/definitions/uint32
71 additionalProperties: false
79 - samsung,s3c2410-uart
80 - samsung,s5pv210-uart
91 - pattern: '^clk_uart_baud[0-1]$'
92 - pattern: '^clk_uart_baud[0-1]$'
99 - samsung,exynos4210-uart
110 - const: clk_uart_baud0
114 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
116 uart0: serial@7f005000 {
117 compatible = "samsung,s3c6400-uart";
118 reg = <0x7f005000 0x100>;
119 interrupt-parent = <&vic1>;
121 clock-names = "uart", "clk_uart_baud2",
123 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
125 samsung,uart-fifosize = <16>;