aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorEnric Balletbo i Serra <eballetbo@iseebcn.com>2014-11-06 07:01:41 -0500
committerTony Lindgren <tony@atomide.com>2014-11-12 10:04:36 -0500
commit86f9abb6ec730441731bc5aff3e3865c9186bb13 (patch)
treebf64db048bd2eb3937f27942ccf29af19dd184ae /arch/arm
parent4f6dec7068de704af072af36ef5b8617841503fc (diff)
ARM: dts: omap3-igep00x0: Fix UART2 pins that aren't common.
UART2 is used to connect the processor with the bluetooth chip, these pins are not common between IGEPv2 boards and IGEP COM MODULE boards. This patch muxes the correct pins for every board and removes UART2 configuration from common omap3-igep.dtsi file. Signed-off-by: Enric Balletbo i Serra <eballetbo@iseebcn.com> Acked-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/omap3-igep.dtsi12
-rw-r--r--arch/arm/boot/dts/omap3-igep0020.dts14
-rw-r--r--arch/arm/boot/dts/omap3-igep0030.dts16
3 files changed, 30 insertions, 12 deletions
diff --git a/arch/arm/boot/dts/omap3-igep.dtsi b/arch/arm/boot/dts/omap3-igep.dtsi
index e2d163bf0619..fb1040da4c9e 100644
--- a/arch/arm/boot/dts/omap3-igep.dtsi
+++ b/arch/arm/boot/dts/omap3-igep.dtsi
@@ -53,13 +53,6 @@
53 >; 53 >;
54 }; 54 };
55 55
56 uart2_pins: pinmux_uart2_pins {
57 pinctrl-single,pins = <
58 0x14a (PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
59 0x148 (PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
60 >;
61 };
62
63 uart3_pins: pinmux_uart3_pins { 56 uart3_pins: pinmux_uart3_pins {
64 pinctrl-single,pins = < 57 pinctrl-single,pins = <
65 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */ 58 0x16e (PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */
@@ -198,11 +191,6 @@
198 pinctrl-0 = <&uart1_pins>; 191 pinctrl-0 = <&uart1_pins>;
199}; 192};
200 193
201&uart2 {
202 pinctrl-names = "default";
203 pinctrl-0 = <&uart2_pins>;
204};
205
206&uart3 { 194&uart3 {
207 pinctrl-names = "default"; 195 pinctrl-names = "default";
208 pinctrl-0 = <&uart3_pins>; 196 pinctrl-0 = <&uart3_pins>;
diff --git a/arch/arm/boot/dts/omap3-igep0020.dts b/arch/arm/boot/dts/omap3-igep0020.dts
index cc9343e836c6..87d77e4ce6f8 100644
--- a/arch/arm/boot/dts/omap3-igep0020.dts
+++ b/arch/arm/boot/dts/omap3-igep0020.dts
@@ -149,6 +149,15 @@
149 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */ 149 0x0da (PIN_OUTPUT | MUX_MODE0) /* dss_data23.dss_data23 */
150 >; 150 >;
151 }; 151 };
152
153 uart2_pins: pinmux_uart2_pins {
154 pinctrl-single,pins = <
155 OMAP3_CORE1_IOPAD(0x2174, PIN_INPUT | MUX_MODE0) /* uart2_cts.uart2_cts */
156 OMAP3_CORE1_IOPAD(0x2176, PIN_OUTPUT | MUX_MODE0) /* uart2_rts .uart2_rts*/
157 OMAP3_CORE1_IOPAD(0x2178, PIN_OUTPUT | MUX_MODE0) /* uart2_tx.uart2_tx */
158 OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
159 >;
160 };
152}; 161};
153 162
154&omap3_pmx_core2 { 163&omap3_pmx_core2 {
@@ -256,6 +265,11 @@
256 }; 265 };
257}; 266};
258 267
268&uart2 {
269 pinctrl-names = "default";
270 pinctrl-0 = <&uart2_pins>;
271};
272
259&usbhshost { 273&usbhshost {
260 port1-mode = "ehci-phy"; 274 port1-mode = "ehci-phy";
261}; 275};
diff --git a/arch/arm/boot/dts/omap3-igep0030.dts b/arch/arm/boot/dts/omap3-igep0030.dts
index 84b74527c544..2df13964f7e7 100644
--- a/arch/arm/boot/dts/omap3-igep0030.dts
+++ b/arch/arm/boot/dts/omap3-igep0030.dts
@@ -46,6 +46,17 @@
46 }; 46 };
47}; 47};
48 48
49&omap3_pmx_core {
50 uart2_pins: pinmux_uart2_pins {
51 pinctrl-single,pins = <
52 OMAP3_CORE1_IOPAD(0x216c, PIN_INPUT | MUX_MODE1) /* mcbsp3_dx.uart2_cts */
53 OMAP3_CORE1_IOPAD(0x216e, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_dr.uart2_rts */
54 OMAP3_CORE1_IOPAD(0x2170, PIN_OUTPUT | MUX_MODE1) /* mcbsp3_clk.uart2_tx */
55 OMAP3_CORE1_IOPAD(0x2172, PIN_INPUT | MUX_MODE1) /* mcbsp3_fsx.uart2_rx */
56 >;
57 };
58};
59
49&omap3_pmx_core2 { 60&omap3_pmx_core2 {
50 leds_pins: pinmux_leds_pins { 61 leds_pins: pinmux_leds_pins {
51 pinctrl-single,pins = < 62 pinctrl-single,pins = <
@@ -104,3 +115,8 @@
104 }; 115 };
105 }; 116 };
106}; 117};
118
119&uart2 {
120 pinctrl-names = "default";
121 pinctrl-0 = <&uart2_pins>;
122};