aboutsummaryrefslogtreecommitdiff
path: root/include/configs/mx53loco.h
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2012-04-30 08:12:04 +0000
committerJohn Rigby <john.rigby@linaro.org>2012-05-02 19:44:15 -0600
commit2b1a445b1be9675b78ff652708656fb117d5ca8b (patch)
tree737ffdf6adf80ee13ef7e1cb126091a5071ce498 /include/configs/mx53loco.h
parent5bba013622b119b68411711f65ce4b105198d2f3 (diff)
mx53loco: Add support for 1GHz operation for DA9053-based boards2012.05.12012.05-12012.05
There are two types of mx53loco boards: initial boards were built with a Dialog DA9053 PMIC and more recent version is based on a Freescale MC34708 PMIC. Add DA9053 PMIC support and adjust the required voltages and clocks for running the CPU at 1GHz. Tested on both versions of mx53loco boards. In the case of a MC34708-based board the CPU operating voltage remains at 800MHz. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx53loco.h')
-rw-r--r--include/configs/mx53loco.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index bc4aba915..7cca599b2 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -41,6 +41,7 @@
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2 * 1024 * 1024)
#define CONFIG_BOARD_EARLY_INIT_F
+#define CONFIG_BOARD_LATE_INIT
#define CONFIG_MXC_GPIO
#define CONFIG_MXC_UART
@@ -98,6 +99,19 @@
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0
+/* I2C Configs */
+#define CONFIG_HARD_I2C
+#define CONFIG_I2C_MXC
+#define CONFIG_SYS_I2C_MX53_PORT1
+#define CONFIG_SYS_I2C_SPEED 100000
+#define CONFIG_SYS_I2C_SLAVE 0xfe
+
+/* PMIC Controller */
+#define CONFIG_PMIC
+#define CONFIG_PMIC_I2C
+#define CONFIG_DIALOG_PMIC
+#define CONFIG_SYS_DIALOG_PMIC_I2C_ADDR 0x48
+
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE
#define CONFIG_CONS_INDEX 1