summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2012-01-02 12:13:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-01-02 13:08:47 +0100
commite2cee7cb67901c3413e802ec29157ee03294b3ee (patch)
tree2676191c71c845fae43c1f3719860ea274c8b238 /arch/arm/mach-mxs
parent0777a18c0f85369cfe479fe48a0510fe90e26b1f (diff)
downloadbarebox-e2cee7cb67901c3413e802ec29157ee03294b3ee.tar.gz
barebox-e2cee7cb67901c3413e802ec29157ee03294b3ee.tar.xz
mxs: add support for mx28-evk
This patch adds basic support for the mx28-evk board. Debug UART, MMC and FEC have been successfully used. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs')
-rw-r--r--arch/arm/mach-mxs/Kconfig7
-rw-r--r--arch/arm/mach-mxs/include/mach/iomux-imx28.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig
index caef7e0225..15f7c74315 100644
--- a/arch/arm/mach-mxs/Kconfig
+++ b/arch/arm/mach-mxs/Kconfig
@@ -5,11 +5,13 @@ config ARCH_TEXT_BASE
default 0x41000000 if MACH_MX23EVK
default 0x42000000 if MACH_CHUMBY
default 0x47000000 if MACH_TX28
+ default 0x47000000 if MACH_MX28EVK
config BOARDINFO
default "Freescale i.MX23-EVK" if MACH_MX23EVK
default "Chumby Falconwing" if MACH_CHUMBY
default "Karo TX28" if MACH_TX28
+ default "Freescale i.MX28-EVK" if MACH_MX28EVK
comment "Freescale i.MX System-on-Chip"
@@ -57,6 +59,11 @@ config MACH_TX28
help
Say Y here if you are using the KARO TX28 CPU module.
+config MACH_MX28EVK
+ bool "mx28-evk"
+ help
+ Say Y here if you are using the Freescale i.MX28-EVK board
+
endchoice
endif
diff --git a/arch/arm/mach-mxs/include/mach/iomux-imx28.h b/arch/arm/mach-mxs/include/mach/iomux-imx28.h
index 1e6d421c22..1557126592 100644
--- a/arch/arm/mach-mxs/include/mach/iomux-imx28.h
+++ b/arch/arm/mach-mxs/include/mach/iomux-imx28.h
@@ -302,6 +302,7 @@
#define PWM2 (FUNC(0) | PORTF(3, 18))
#define PWM1 (FUNC(0) | PORTF(3, 17))
+#define PWM1_DUART_TX (FUNC(2) | PORTF(3, 17))
#define PWM0 (FUNC(0) | PORTF(3, 16))
#define PWM0_I2C1_SCL (FUNC(1) | PORTF(3, 16))