* [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485
@ 2018-07-17 3:38 Baruch Siach
2018-07-17 3:38 ` [PATCH 2/2] ARM: dts: hummingboard2: describe optional can bus Baruch Siach
2018-07-19 2:26 ` [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2018-07-17 3:38 UTC (permalink / raw)
To: linux-arm-kernel
A Hummingboard assembly option provides RS-485 transceiver on UART2
(/dev/ttymxc1). Add DT node for that. Keep it disabled, since RS-485 is
not assembled by default.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index c413f9c3540f..576437936a60 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -501,6 +501,14 @@
>;
};
+ pinctrl_hummingboard2_uart2: hummingboard2-uart2 {
+ fsl,pins = <
+ MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
+ MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
+ MX6QDL_PAD_SD4_DAT6__UART2_CTS_B 0x1b0b1
+ >;
+ };
+
pinctrl_hummingboard2_uart3: hummingboard2-uart3 {
fsl,pins = <
MX6QDL_PAD_EIM_D25__UART3_TX_DATA 0x1b0b1
@@ -565,6 +573,14 @@
status = "okay";
};
+/* Optional RS-485 transceiver */
+&uart2 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard2_uart2>;
+ uart-has-rtscts;
+ status = "disabled";
+};
+
&uart3 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_uart3>;
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: dts: hummingboard2: describe optional can bus
2018-07-17 3:38 [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 Baruch Siach
@ 2018-07-17 3:38 ` Baruch Siach
2018-07-19 2:26 ` [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2018-07-17 3:38 UTC (permalink / raw)
To: linux-arm-kernel
A Hummingboard assembly option provides CAN bus connector for the i.MX6
provided FlexCAN peripheral. Keep disabled by default.
Note the conflict with HDMI pin mux.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
index 576437936a60..8b32a7abf2da 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
@@ -206,6 +206,7 @@
status = "okay";
};
+/* Conflicts with the CAN bus option */
&hdmi {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hummingboard2_hdmi>;
@@ -515,6 +516,13 @@
MX6QDL_PAD_EIM_D24__UART3_RX_DATA 0x40013000
>;
};
+
+ pinctrl_hummingboard2_flexcan1: hummingboard2-flexcan1 {
+ fsl,pins = <
+ MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1
+ MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX 0x1b0b1
+ >;
+ };
};
};
@@ -587,6 +595,13 @@
status = "okay";
};
+/* Optional CAN bus. Conflicts with HDMI CEC. */
+&can1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard2_flexcan1>;
+ status = "disabled";
+};
+
&vcc_3v3 {
vin-supply = <&v_3v2>;
};
--
2.18.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485
2018-07-17 3:38 [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 Baruch Siach
2018-07-17 3:38 ` [PATCH 2/2] ARM: dts: hummingboard2: describe optional can bus Baruch Siach
@ 2018-07-19 2:26 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2018-07-19 2:26 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 17, 2018 at 06:38:02AM +0300, Baruch Siach wrote:
> A Hummingboard assembly option provides RS-485 transceiver on UART2
> (/dev/ttymxc1). Add DT node for that. Keep it disabled, since RS-485 is
> not assembled by default.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Russell,
Are you okay with these two patches?
Shawn
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-19 2:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-17 3:38 [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 Baruch Siach
2018-07-17 3:38 ` [PATCH 2/2] ARM: dts: hummingboard2: describe optional can bus Baruch Siach
2018-07-19 2:26 ` [PATCH 1/2] ARM: dts: hummingboard2: describe optional rs485 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).