summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2018-01-04 19:23:45 +0000
committerRui Miguel Silva <rui.silva@linaro.org>2018-01-08 11:25:13 +0000
commit39dd955086186f08693cb85f27e43711b9a017d1 (patch)
treec60e7d72bf09488b4e6c60270dc3f9510dc9c9ac
parentbdecd162c65631ffb8da3f2401af839a8646be43 (diff)
ARM: dts: imx7s-warp: enable uart6 on mikroBuslinaro-20180108-001
This patch configures the board to output UART6 to the mikroBus. The NXP WaRP7 board can route UART6 to the mikroBus, where an RS232 click board can be plugged in to get an additional serial port. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org> Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
-rw-r--r--arch/arm/boot/dts/imx7s-warp.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx7s-warp.dts b/arch/arm/boot/dts/imx7s-warp.dts
index e3cc8a5ffa5e..d5ccd032ce96 100644
--- a/arch/arm/boot/dts/imx7s-warp.dts
+++ b/arch/arm/boot/dts/imx7s-warp.dts
@@ -282,6 +282,15 @@
status = "okay";
};
+&uart6 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart6>;
+ assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
+ assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
+ fsl,dte-mode;
+ status = "okay";
+};
+
&usbotg1 {
dr_mode = "peripheral";
status = "okay";
@@ -390,6 +399,13 @@
>;
};
+ pinctrl_uart6: uart6grp {
+ fsl,pins = <
+ MX7D_PAD_ECSPI1_MOSI__UART6_DTE_RX 0x79
+ MX7D_PAD_ECSPI1_SCLK__UART6_DTE_TX 0x79
+ >;
+ };
+
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX7D_PAD_SD1_CMD__SD1_CMD 0x59