summaryrefslogtreecommitdiff
path: root/include/configs/MPC8560ADS.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-10-20 23:52:58 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-10-20 23:52:58 +0200
commitd67c14c0f4e390dc7069bbe852f5ec8ea1acc8fc (patch)
tree8eecbb0f2c98e2619abe8eafb3cbae188d4e6e30 /include/configs/MPC8560ADS.h
parentba999c531ed16ec749b2b6f4b0133cee38842b91 (diff)
parent3acb7727ce6aa403e938e7cf3761924590bead47 (diff)
downloadu-boot-imx-d67c14c0f4e390dc7069bbe852f5ec8ea1acc8fc.zip
u-boot-imx-d67c14c0f4e390dc7069bbe852f5ec8ea1acc8fc.tar.gz
u-boot-imx-d67c14c0f4e390dc7069bbe852f5ec8ea1acc8fc.tar.bz2
Merge with http://www.jdl.com/software/u-boot-86xx.git
Diffstat (limited to 'include/configs/MPC8560ADS.h')
-rw-r--r--include/configs/MPC8560ADS.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 2d5031b..835bf5c 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -290,12 +290,28 @@
#define CFG_PROMPT_HUSH_PS2 "> "
#endif
-/* I2C */
-#define CONFIG_HARD_I2C /* I2C with hardware support*/
+/* pass open firmware flat tree */
+#define CONFIG_OF_FLAT_TREE 1
+#define CONFIG_OF_BOARD_SETUP 1
+
+/* maximum size of the flat tree (8K) */
+#define OF_FLAT_TREE_MAX_SIZE 8192
+
+#define OF_CPU "PowerPC,8560@0"
+#define OF_SOC "soc8560@e0000000"
+#define OF_TBCLK (bd->bi_busfreq / 8)
+#define OF_STDOUT_PATH "/soc8560@e0000000/serial@4500"
+
+/*
+ * I2C
+ */
+#define CONFIG_FSL_I2C /* Use FSL common I2C driver */
+#define CONFIG_HARD_I2C /* I2C with hardware support*/
#undef CONFIG_SOFT_I2C /* I2C bit-banged */
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_SLAVE 0x7F
#define CFG_I2C_NOPROBES {0x69} /* Don't probe these addrs */
+#define CFG_I2C_OFFSET 0x3000
/* RapidIO MMU */
#define CFG_RIO_MEM_BASE 0xc0000000 /* base address */