summaryrefslogtreecommitdiff
path: root/board/mvblm7/mvblm7.h
diff options
context:
space:
mode:
authorAndre Schwarz <andre.schwarz@matrix-vision.de>2008-06-10 09:14:05 +0200
committerKim Phillips <kim.phillips@freescale.com>2008-06-10 13:07:58 -0500
commita1293e549b56da135ef32ffca5b9d35a16aa6802 (patch)
treef4c3933f400f5fc0ed51a55ec01fd1652bf141cc /board/mvblm7/mvblm7.h
parentc005b93925ba49f07da2aa748527996d927e172f (diff)
downloadu-boot-imx-a1293e549b56da135ef32ffca5b9d35a16aa6802.zip
u-boot-imx-a1293e549b56da135ef32ffca5b9d35a16aa6802.tar.gz
u-boot-imx-a1293e549b56da135ef32ffca5b9d35a16aa6802.tar.bz2
add MPC8343 based board mvBlueLYNX-M7 (board+make files)
Add MPC8343 based board mvBlueLYNX-M7. It's a single board stereo camera system. Please read doc/README.mvblm7 for details. Signed-off-by: Andre Schwarz <andre.schwarz@matrix-vision.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board/mvblm7/mvblm7.h')
-rw-r--r--board/mvblm7/mvblm7.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/board/mvblm7/mvblm7.h b/board/mvblm7/mvblm7.h
new file mode 100644
index 0000000..03e9f41
--- /dev/null
+++ b/board/mvblm7/mvblm7.h
@@ -0,0 +1,21 @@
+#ifndef __MVBC_H__
+#define __MVBC_H__
+
+#define MV_GPIO
+
+#define FPGA_CONFIG 0x80000000
+#define FPGA_CCLK 0x40000000
+#define FPGA_DIN 0x20000000
+#define FPGA_STATUS 0x10000000
+#define FPGA_CONF_DONE 0x08000000
+#define MMC_CS 0x04000000
+
+#define WD_WDI 0x00400000
+#define WD_TS 0x00200000
+#define MAN_RST 0x00100000
+
+#define MV_GPIO_DAT (WD_TS)
+#define MV_GPIO_OUT (FPGA_CONFIG|FPGA_DIN|FPGA_CCLK|WD_TS|WD_WDI|MMC_CS)
+#define MV_GPIO_ODE (FPGA_CONFIG|MAN_RST)
+
+#endif