Skip to contentSkip to conversation

ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs

PATCH New Alexander Shiyan 3 participants 5 messages Aug 21, 2013 – Aug 29, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs

RTS/CTS pins can be used for different purposes, so create separate definitions for these pins.

---
 arch/arm/boot/dts/imx51-babbage.dts |  4 ++--
 arch/arm/boot/dts/imx51.dtsi        | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx51-babbage.dts +2 -2
index 1d337d9..f13f339 100644
@@ -95,7 +95,7 @@
 
 &uart3 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_uart3_1>;
+	pinctrl-0 = <&pinctrl_uart3_1 &pinctrl_uart3_rtscts_1>;
 	fsl,uart-has-rtscts;
 	status = "okay";
 };
@@ -252,7 +252,7 @@
 
 &uart1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_uart1_1>;
+	pinctrl-0 = <&pinctrl_uart1_1 &pinctrl_uart1_rtscts_1>;
 	fsl,uart-has-rtscts;
 	status = "okay";
 };
arch/arm/boot/dts/imx51.dtsi +10 -0
index a85abb4..b7cda0a 100644
@@ -747,6 +747,11 @@
 			fsl,pins = <
 				MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
 				MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
+			>;
+		};
+
+		pinctrl_uart1_rtscts_1: uart1rtscts-1 {
+			fsl,pins = <
 				MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
 				MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
 			>;
@@ -767,6 +772,11 @@
 			fsl,pins = <
 				MX51_PAD_EIM_D25__UART3_RXD 0x1c5
 				MX51_PAD_EIM_D26__UART3_TXD 0x1c5
+			>;
+		};
+
+		pinctrl_uart3_rtscts_1: uart3rtscts-1 {
+			fsl,pins = <
 				MX51_PAD_EIM_D27__UART3_RTS 0x1c5
 				MX51_PAD_EIM_D24__UART3_CTS 0x1c5
 			>;
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/3 ARM: dts: i.MX51: Add IRAM devicetree node

This patch adds the missing IRAM devicetree node for i.MX51 CPUs.

---
 arch/arm/boot/dts/imx51.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/imx51.dtsi +5 -0
index b7cda0a..09ecf29 100644
@@ -86,6 +86,11 @@
 		interrupt-parent = <&tzic>;
 		ranges;
 
+		iram: iram at 1ffe0000 {
+			compatible = "mmio-sram";
+			reg = <0x1ffe0000 0x20000>;
+		};
+
 		ipu: ipu at 40000000 {
 			#crtc-cells = <1>;
 			compatible = "fsl,imx51-ipu";
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 3/3 ARM: dts: i.MX51: Add W1 devicetree node

In reply to Alexander Shiyan

This patch adds the missing W1 (onewire) devicetree node for i.MX51 CPUs.

---
 arch/arm/boot/dts/imx51.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/imx51.dtsi +8 -0
index 09ecf29..2805132 100644
@@ -379,6 +379,14 @@
 				clocks = <&clks 107>;
 			};
 
+			owire: owire at 83fa4000 {
+				compatible = "fsl,imx51-owire", "fsl,imx21-owire";
+				reg = <0x83fa4000 0x4000>;
+				interrupts = <88>;
+				clocks = <&clks 159>;
+				status = "disabled";
+			};
+
 			ecspi2: ecspi at 83fac000 {
 				#address-cells = <1>;
 				#size-cells = <0>;
Signature · 1 line
1.8.1.5
maintainer
#3 lore raw

PATCH 1/3 ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs

In reply to Alexander Shiyan
Quoted 4 lines · Alexander Shiyan

RTS/CTS pins can be used for different purposes, so create separate definitions for these pins.

This series looks good to me.

Sascha

Quoted 59 lines
---
 arch/arm/boot/dts/imx51-babbage.dts |  4 ++--
 arch/arm/boot/dts/imx51.dtsi        | 10 ++++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx51-babbage.dts +2 -2
index 1d337d9..f13f339 100644
@@ -95,7 +95,7 @@
 
 &uart3 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_uart3_1>;
+	pinctrl-0 = <&pinctrl_uart3_1 &pinctrl_uart3_rtscts_1>;
 	fsl,uart-has-rtscts;
 	status = "okay";
 };
@@ -252,7 +252,7 @@
 
 &uart1 {
 	pinctrl-names = "default";
-	pinctrl-0 = <&pinctrl_uart1_1>;
+	pinctrl-0 = <&pinctrl_uart1_1 &pinctrl_uart1_rtscts_1>;
 	fsl,uart-has-rtscts;
 	status = "okay";
 };
arch/arm/boot/dts/imx51.dtsi +10 -0
index a85abb4..b7cda0a 100644
@@ -747,6 +747,11 @@
 			fsl,pins = <
 				MX51_PAD_UART1_RXD__UART1_RXD 0x1c5
 				MX51_PAD_UART1_TXD__UART1_TXD 0x1c5
+			>;
+		};
+
+		pinctrl_uart1_rtscts_1: uart1rtscts-1 {
+			fsl,pins = <
 				MX51_PAD_UART1_RTS__UART1_RTS 0x1c5
 				MX51_PAD_UART1_CTS__UART1_CTS 0x1c5
 			>;
@@ -767,6 +772,11 @@
 			fsl,pins = <
 				MX51_PAD_EIM_D25__UART3_RXD 0x1c5
 				MX51_PAD_EIM_D26__UART3_TXD 0x1c5
+			>;
+		};
+
+		pinctrl_uart3_rtscts_1: uart3rtscts-1 {
+			fsl,pins = <
 				MX51_PAD_EIM_D27__UART3_RTS 0x1c5
 				MX51_PAD_EIM_D24__UART3_CTS 0x1c5
 			>;
Signature · 1 line
1.8.1.5
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |