summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
diff options
context:
space:
mode:
authorMichal Vokáč <michal.vokac@ysoft.com>2019-10-16 15:49:22 +0200
committerShawn Guo <shawnguo@kernel.org>2019-10-28 10:01:39 +0800
commite55274bfb99a814057a8b30e20aae6d29c27e615 (patch)
tree9cc26838efaf75aafdc5cf7f9a912b24988d8924 /arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
parent568a0a96649fd9bae173a5abb8e05a6fc4577b38 (diff)
ARM: dts: imx6dl-yapp4: Enable UART2
The second UART is needed for 3D or MFD printer control. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6dl-yapp4-common.dtsi')
-rw-r--r--arch/arm/boot/dts/imx6dl-yapp4-common.dtsi13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index 6507bfc0141a..21f388ecf138 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -460,6 +460,13 @@
>;
};
+ pinctrl_uart2: uart2grp {
+ fsl,pins = <
+ MX6QDL_PAD_GPIO_7__UART2_TX_DATA 0x1b098
+ MX6QDL_PAD_GPIO_8__UART2_RX_DATA 0x1b098
+ >;
+ };
+
pinctrl_usbh1: usbh1grp {
fsl,pins = <
MX6QDL_PAD_EIM_D30__USB_H1_OC 0x1b098
@@ -545,6 +552,12 @@
status = "okay";
};
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart2>;
+ status = "okay";
+};
+
&usbh1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;