ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs
Subsystems (2)
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
@@ -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
@@ -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
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
@@ -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
PATCH 3/3 ARM: dts: i.MX51: Add W1 devicetree node
In reply to Alexander ShiyanThis 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
@@ -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
Sascha Hauer
maintainerPATCH 1/3 ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs
In reply to Alexander ShiyanQuoted 4 lines · Alexander Shiyan
RTS/CTS pins can be used for different purposes, so create separate definitions for these pins.
Signed-off-by Alexander Shiyan <[email protected]>
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@@ -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@@ -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 |
Shawn Guo
AppliedPATCH 1/3 ARM: dts: i.MX51: Separate TXD/RXD and RTS/CTS pinmux entries for UARTs
In reply to Alexander ShiyanQuoted 4 lines · Alexander Shiyan
RTS/CTS pins can be used for different purposes, so create separate definitions for these pins.
Signed-off-by Alexander Shiyan <[email protected]>
Applied all 3, thanks.
Shawn