* [PATCH] ARM: dts: imx6dl-yapp4: Enable UART2
@ 2019-10-16 13:49 Michal Vokáč
2019-10-28 2:02 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Michal Vokáč @ 2019-10-16 13:49 UTC (permalink / raw)
To: Rob Herring, Shawn Guo
Cc: Mark Rutland, Pengutronix Kernel Team, Fabio Estevam, devicetree,
linux-kernel, Michal Vokáč
The second UART is needed for 3D or MFD printer control.
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
---
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
index e8d800fec637..663a72a96b6c 100644
--- a/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
+++ b/arch/arm/boot/dts/imx6dl-yapp4-common.dtsi
@@ -447,6 +447,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
@@ -532,6 +539,12 @@
status = "okay";
};
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_uart2>;
+ status = "okay";
+};
+
&usbh1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM: dts: imx6dl-yapp4: Enable UART2
2019-10-16 13:49 [PATCH] ARM: dts: imx6dl-yapp4: Enable UART2 Michal Vokáč
@ 2019-10-28 2:02 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-10-28 2:02 UTC (permalink / raw)
To: Michal Vokáč
Cc: Rob Herring, Mark Rutland, Pengutronix Kernel Team,
Fabio Estevam, devicetree, linux-kernel
On Wed, Oct 16, 2019 at 03:49:22PM +0200, Michal Vokáč wrote:
> The second UART is needed for 3D or MFD printer control.
>
> Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-28 2:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-16 13:49 [PATCH] ARM: dts: imx6dl-yapp4: Enable UART2 Michal Vokáč
2019-10-28 2:02 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).