summaryrefslogtreecommitdiff
path: root/drivers/spi/omap3_spi.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-08-08 14:29:51 -0700
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:18 +0200
commit4c0620bf42172325ea0c6afa0fdd362bb264e31b (patch)
treef6d80d46abe958b5be5aa138313413b77ffb4f80 /drivers/spi/omap3_spi.h
parent6bfca5031b922b29d12c119910c04528173f1d86 (diff)
downloadu-boot-imx-4c0620bf42172325ea0c6afa0fdd362bb264e31b.zip
u-boot-imx-4c0620bf42172325ea0c6afa0fdd362bb264e31b.tar.gz
u-boot-imx-4c0620bf42172325ea0c6afa0fdd362bb264e31b.tar.bz2
am33xx: Add support, update omap3 McSPI driver
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/spi/omap3_spi.h')
-rw-r--r--drivers/spi/omap3_spi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/spi/omap3_spi.h b/drivers/spi/omap3_spi.h
index 0ac801c..bffa43c 100644
--- a/drivers/spi/omap3_spi.h
+++ b/drivers/spi/omap3_spi.h
@@ -30,10 +30,15 @@
#ifndef _OMAP3_SPI_H_
#define _OMAP3_SPI_H_
+#ifdef CONFIG_AM33XX
+#define OMAP3_MCSPI1_BASE 0x48030100
+#define OMAP3_MCSPI2_BASE 0x481A0100
+#else
#define OMAP3_MCSPI1_BASE 0x48098000
#define OMAP3_MCSPI2_BASE 0x4809A000
#define OMAP3_MCSPI3_BASE 0x480B8000
#define OMAP3_MCSPI4_BASE 0x480BA000
+#endif
#define OMAP3_MCSPI_MAX_FREQ 48000000