1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2023 PHYTEC Messtechnik GmbH 3 * Copyright (C) 2023 PHYTEC Messtechnik GmbH 4 * Author: Jens Lang <j.lang@phytec.de> 4 * Author: Jens Lang <j.lang@phytec.de> 5 * 5 * 6 * Tauri-L RS232 with RTS/CTS hardware flow co 6 * Tauri-L RS232 with RTS/CTS hardware flow control: 7 * - UART4_TX becomes RTS 7 * - UART4_TX becomes RTS 8 * - UART4_RX becomes CTS 8 * - UART4_RX becomes CTS 9 */ 9 */ 10 10 11 #include <dt-bindings/clock/imx8mm-clock.h> 11 #include <dt-bindings/clock/imx8mm-clock.h> 12 #include "imx8mm-pinfunc.h" 12 #include "imx8mm-pinfunc.h" 13 13 14 /dts-v1/; 14 /dts-v1/; 15 /plugin/; 15 /plugin/; 16 16 17 &uart2 { 17 &uart2 { 18 pinctrl-names = "default"; 18 pinctrl-names = "default"; 19 pinctrl-0 = <&pinctrl_uart2>; 19 pinctrl-0 = <&pinctrl_uart2>; 20 assigned-clocks = <&clk IMX8MM_CLK_UAR 20 assigned-clocks = <&clk IMX8MM_CLK_UART2>; 21 assigned-clock-parents = <&clk IMX8MM_ 21 assigned-clock-parents = <&clk IMX8MM_SYS_PLL1_80M>; 22 uart-has-rtscts; 22 uart-has-rtscts; 23 status = "okay"; 23 status = "okay"; 24 }; 24 }; 25 25 26 &iomuxc { 26 &iomuxc { 27 pinctrl_uart2: uart2grp { 27 pinctrl_uart2: uart2grp { 28 fsl,pins = < 28 fsl,pins = < 29 MX8MM_IOMUXC_UART2_RXD 29 MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX 0x00 30 MX8MM_IOMUXC_UART2_TXD 30 MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX 0x00 31 MX8MM_IOMUXC_UART4_RXD 31 MX8MM_IOMUXC_UART4_RXD_UART2_DCE_CTS_B 0x00 32 MX8MM_IOMUXC_UART4_TXD 32 MX8MM_IOMUXC_UART4_TXD_UART2_DCE_RTS_B 0x00 33 >; 33 >; 34 }; 34 }; 35 }; 35 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.