aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx3
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2009-05-31 06:57:22 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-06-02 13:28:36 -0400
commit8d9fb9bb89f44a4a06d0e001b16d983b28d571bc (patch)
tree384ecd7a189c656cc492e2a7929f9ac3a09a4413 /arch/arm/mach-mx3
parent0573cb5f45f1b98b74348c3f1ed4f26e56e774e5 (diff)
Support for lilly-1131 modules and baseboards [v2]
On Thu, May 28, 2009 at 08:42:23PM +0200, Sascha Hauer wrote: > > > Mail-Followup-To: Daniel Mack <daniel@caiaq.de>, > > > linux-arm-kernel@lists.arm.linux.org.uk > > > > ... which causes my mutt to only reply to the list. > > Ah, ok. /me hacking in muttrc... Does it work now? Yep :) > > mxc_register_device(&mxc_uart_device0, &uart_pdata); > > + mxc_register_device(&mxc_uart_device1, &uart_pdata); > > + mxc_register_device(&mxc_uart_device2, &uart_pdata); > > What about the RXD3/TXD3 pins? You're right - I got the IOMUX tables wrong and thought UART0 pins are selected unconditionally. But as it turns out TXD1/RXD1 is for UART0 (mxc_uart_device0), TXD2/RXD2 for UART1 (mxc_uart_device1) etc. Below is a new patch. Thanks, Daniel From e7eb5fa0fed09d667a4b2f168fe466e2cc645abb Mon Sep 17 00:00:00 2001 From: Daniel Mack <daniel@caiaq.de> Date: Wed, 27 May 2009 12:22:51 +0200 Subject: [PATCH] ARM: MX3: add two more UARTs to lilly-1131-db Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r--arch/arm/mach-mx3/mx31lilly-db.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx31lilly-db.c b/arch/arm/mach-mx3/mx31lilly-db.c
index 99b0a6e30b29..3b3a78f49c23 100644
--- a/arch/arm/mach-mx3/mx31lilly-db.c
+++ b/arch/arm/mach-mx3/mx31lilly-db.c
@@ -56,6 +56,14 @@ static unsigned int lilly_db_board_pins[] __initdata = {
56 MX31_PIN_RTS1__RTS1, 56 MX31_PIN_RTS1__RTS1,
57 MX31_PIN_TXD1__TXD1, 57 MX31_PIN_TXD1__TXD1,
58 MX31_PIN_RXD1__RXD1, 58 MX31_PIN_RXD1__RXD1,
59 MX31_PIN_CTS2__CTS2,
60 MX31_PIN_RTS2__RTS2,
61 MX31_PIN_TXD2__TXD2,
62 MX31_PIN_RXD2__RXD2,
63 MX31_PIN_CSPI3_MOSI__RXD3,
64 MX31_PIN_CSPI3_MISO__TXD3,
65 MX31_PIN_CSPI3_SCLK__RTS3,
66 MX31_PIN_CSPI3_SPI_RDY__CTS3,
59 MX31_PIN_SD1_DATA3__SD1_DATA3, 67 MX31_PIN_SD1_DATA3__SD1_DATA3,
60 MX31_PIN_SD1_DATA2__SD1_DATA2, 68 MX31_PIN_SD1_DATA2__SD1_DATA2,
61 MX31_PIN_SD1_DATA1__SD1_DATA1, 69 MX31_PIN_SD1_DATA1__SD1_DATA1,
@@ -200,6 +208,8 @@ void __init mx31lilly_db_init(void)
200 ARRAY_SIZE(lilly_db_board_pins), 208 ARRAY_SIZE(lilly_db_board_pins),
201 "development board pins"); 209 "development board pins");
202 mxc_register_device(&mxc_uart_device0, &uart_pdata); 210 mxc_register_device(&mxc_uart_device0, &uart_pdata);
211 mxc_register_device(&mxc_uart_device1, &uart_pdata);
212 mxc_register_device(&mxc_uart_device2, &uart_pdata);
203 mxc_register_device(&mxcsdhc_device0, &mmc_pdata); 213 mxc_register_device(&mxcsdhc_device0, &mmc_pdata);
204 mx31lilly_init_fb(); 214 mx31lilly_init_fb();
205} 215}