ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Subsystems (2)
PATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
From: Markus Kueffner <[email protected]>
Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
--- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/imx6qdl-udoo.dtsi +13 -0
@@ -195,6 +195,13 @@ >; }; + pinctrl_uart4: uart4grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 + >; + }; + pinctrl_usbh: usbhgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000
@@ -265,6 +272,12 @@ status = "okay"; }; +&uart4 { // iMX6-Arduino internal serial port - ttymxc3 + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; + status = "okay"; +}; + &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>;
Signature · 1 line
2.7.4
PATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Add a few udoo board users for comment.
Quoted 43 lines · Markus Kueffner
From: Markus Kueffner <[email protected]>
Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
Signed-off-by Markus Kueffner <[email protected]>--- arch/arm/boot/dts/imx6qdl-udoo.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)arch/arm/boot/dts/imx6qdl-udoo.dtsi +13
-0@@ -195,6 +195,13 @@ >; }; + pinctrl_uart4: uart4grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 + >; + }; + pinctrl_usbh: usbhgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000@@ -265,6 +272,12 @@ status = "okay"; }; +&uart4 { // iMX6-Arduino internal serial port - ttymxc3 + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; + status = "okay"; +}; + &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>;Signature · 1 line
2.7.4
PATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Quoted 6 lines · Shawn Guo
Add a few udoo board users for comment.
Quoted 3 lines · Markus Kueffner
From: Markus Kueffner <[email protected]>
Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
Although I can't test this patch on a real board, verifying it with UDOO schematic and docs suggests that this change does make sense.
Maciej
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
In reply to Markus KueffnerQuoted 6 lines · Markus Kueffner
From: Markus Kueffner <[email protected]>
Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
Signed-off-by Markus Kueffner <[email protected]>
Looks good as per the schematics:
Quoted 1 line
+&uart4 { // iMX6-Arduino internal serial port - ttymxc3
Minor nit: // style comment should be avoided.
Actually the whole comment could de dropped IMHO.
PATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Quoted 1 line
From
b25738867245688e0a1eafeb78379efc6a73b66eMon Sep 17 00:00:00 2001
From: Markus Kueffner <[email protected]>
Date: Wed, 10 Oct 2018 08:32:09 +0200
Subject: [PATCH v2] ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
---
Changes in v2:
- Removed // style Comment.
arch/arm/boot/dts/imx6qdl-udoo.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)
arch/arm/boot/dts/imx6qdl-udoo.dtsi +13 -0
@@ -195,6 +195,13 @@ >; }; + pinctrl_uart4: uart4grp { + fsl,pins = < + MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1 + MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 + >; + }; + pinctrl_usbh: usbhgrp { fsl,pins = < MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x80000000
@@ -265,6 +272,12 @@ status = "okay"; }; +&uart4 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart4>; + status = "okay"; +}; + &usbh1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usbh>;
Signature · 1 line
2.1.4
Fabio Estevam
reviewerPATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
Quoted 9 lines · Markus Kueffner
From
b25738867245688e0a1eafeb78379efc6a73b66eMon Sep 17 00:00:00 2001
From: Markus Kueffner <[email protected]>
Date: Wed, 10 Oct 2018 08:32:09 +0200
Subject: [PATCH v2] ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
Signed-off-by Markus Kueffner <[email protected]>
Shawn Guo
AppliedPATCH 1/1 ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4
In reply to Markus KueffnerQuoted 7 lines · Markus Kueffner
From: Markus Kueffner <[email protected]>
Date: Wed, 10 Oct 2018 08:32:09 +0200
Subject: [PATCH v2] ARM: dts: imx6qdl-udoo: Add Pincfgs for UART4Add Pincfgs for UART4 to enable Communication with the onboard SAM3X
Signed-off-by Markus Kueffner <[email protected]>
Applied, thanks.