summaryrefslogtreecommitdiffstats
path: root/include/configs/ipe337.h
diff options
context:
space:
mode:
authorSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-11 10:21:10 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-09-11 10:21:10 +0200
commit3fc674cc516c005e1b7f1499134c77a1383c725c (patch)
treec8a3bea7e3deed053be427f5fc60e22b5fa57021 /include/configs/ipe337.h
parent70a338bc2748dec8dd8ed8badd2f9fc48f9ca687 (diff)
downloadbarebox-3fc674cc516c005e1b7f1499134c77a1383c725c.tar.gz
barebox-3fc674cc516c005e1b7f1499134c77a1383c725c.tar.xz
add support for the PII bf561 board
Diffstat (limited to 'include/configs/ipe337.h')
-rw-r--r--include/configs/ipe337.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/configs/ipe337.h b/include/configs/ipe337.h
new file mode 100644
index 0000000000..158f078d31
--- /dev/null
+++ b/include/configs/ipe337.h
@@ -0,0 +1,38 @@
+
+/*
+ * Board Layout
+ */
+#define CONFIG_MALLOC_LEN (16384 << 10)
+#define CONFIG_MALLOC_BASE (TEXT_BASE - CONFIG_MALLOC_LEN)
+#define CONFIG_STACKBASE (CONFIG_MALLOC_BASE - 4)
+
+/*
+ * Clock settings
+ */
+
+/* CONFIG_CLKIN_HZ is any value in Hz */
+#define CONFIG_CLKIN_HZ 25000000
+/* CONFIG_CLKIN_HALF controls what is passed to PLL 0=CLKIN */
+/* 1=CLKIN/2 */
+#define CONFIG_CLKIN_HALF 0
+/* CONFIG_PLL_BYPASS controls if the PLL is used 0=don't bypass */
+/* 1=bypass PLL */
+#define CONFIG_PLL_BYPASS 0
+/* CONFIG_VCO_MULT controls what the multiplier of the PLL is. */
+/* Values can range from 1-64 */
+#define CONFIG_VCO_MULT 22
+/* CONFIG_CCLK_DIV controls what the core clock divider is */
+/* Values can be 1, 2, 4, or 8 ONLY */
+#define CONFIG_CCLK_DIV 4
+/* CONFIG_SCLK_DIV controls what the peripheral clock divider is */
+/* Values can range from 1-15 */
+#define CONFIG_SCLK_DIV 7
+
+#define AMGCTLVAL 0x1F
+#define AMBCTL0VAL 0xFFC2FFC2
+#define AMBCTL1VAL 0xFFC2FFC2
+
+#define CONFIG_MEM_MT48LC64M4A2FB_7E 1
+#define CONFIG_MEM_ADD_WDTH 9 /* 8, 9, 10, 11 */
+#define CONFIG_MEM_SIZE 128 /* 128, 64, 32, 16 */
+