// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Copyright (C) 2022 Atmark Techno, Inc. All Rights Reserved. */ /dts-v1/; /plugin/; #include #include #include #include "imx8mp-pinfunc.h" &pinctrl_customize { fsl,pins = < MX8MP_IOMUXC_ECSPI2_MOSI__UART4_DCE_TX 0x0140 // CON11_11 MX8MP_IOMUXC_ECSPI2_SCLK__UART4_DCE_RX 0x0140 // CON11_13 MX8MP_IOMUXC_ECSPI2_SS0__GPIO5_IO13 0x0140// CON11_15 >; }; &pinctrl_uart3{ fsl,pins = < MX8MP_IOMUXC_ECSPI1_MOSI__UART3_DCE_TX 0x0140 // CON11_8 MX8MP_IOMUXC_ECSPI1_SCLK__UART3_DCE_RX 0x0140 // CON11_10 >; }; &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_customize>; status = "okay"; rts-gpios = <&gpio5 13 GPIO_ACTIVE_HIGH>; linux,rs485-enabled-at-boot-time; /* rs485-rts-delay = <1 1>; */ }; &uart3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; status = "okay"; }; / { };