diff mbox series

[2/4] ARM: dts: hummingboard2: add uart3 pinmux for board rev 1.4

Message ID 0e2132b1acbb34449c1e823319be5d63ac71dffd.1548861664.git.baruch@tkos.co.il (mailing list archive)
State New, archived
Headers show
Series ARM: dts: hummingboard2: fixes and improvements | expand

Commit Message

Baruch Siach Jan. 30, 2019, 4:18 p.m. UTC
Hummingboard2 rev 1.4 fixed Rx/Tx swap in the mikroBUS header. Add the
correct pinmux configuration DT node for that board. Leave the current
configuration unchanged.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 913f34ac00dc..fe95fe27e6ef 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -507,6 +507,14 @@ 
 				MX6QDL_PAD_EIM_D24__UART3_RX_DATA	0x1b0b1
 			>;
 		};
+
+		/* In Hummingboard2 rev 1.4 Rx/Tx are not swapped */
+		pinctrl_hummingboard2_rev14_uart3: hummingboard2-rev14-uart3 {
+			fsl,pins = <
+				MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
+				MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
+			>;
+		};
 	};
 };
 
@@ -567,6 +575,7 @@ 
 
 &uart3 {
 	pinctrl-names = "default";
+	/* Use &pinctrl_hummingboard2_rev14_uart3 for HB2 rev 1.4 */
 	pinctrl-0 = <&pinctrl_hummingboard2_uart3>;
 	status = "okay";
 };