xref: /linux/arch/arm64/boot/dts/freescale/imx8mm-phygate-tauri-l-rs232-rts-cts.dtso (revision 76d9b92e68f2bb55890f935c5143f4fef97a935d)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (C) 2023 PHYTEC Messtechnik GmbH
4 * Author: Jens Lang <j.lang@phytec.de>
5 *
6 * Tauri-L RS232 with RTS/CTS hardware flow control:
7 *  - UART4_TX becomes RTS
8 *  - UART4_RX becomes CTS
9 */
10
11#include <dt-bindings/clock/imx8mm-clock.h>
12#include "imx8mm-pinfunc.h"
13
14/dts-v1/;
15/plugin/;
16
17
18&{/} {
19	compatible = "phytec,imx8mm-phygate-tauri-l";
20
21};
22
23&uart2 {
24	pinctrl-names = "default";
25	pinctrl-0 = <&pinctrl_uart2>;
26	assigned-clocks = <&clk IMX8MM_CLK_UART2>;
27	assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>;
28	uart-has-rtscts;
29	status = "okay";
30};
31
32&iomuxc {
33	pinctrl_uart2: uart2grp {
34		fsl,pins = <
35			MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX	0x00
36			MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX	0x00
37			MX8MM_IOMUXC_UART4_RXD_UART2_DCE_CTS_B	0x00
38			MX8MM_IOMUXC_UART4_TXD_UART2_DCE_RTS_B	0x00
39		>;
40	};
41};
42