summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-04-16 17:13:54 +0200
committerTom <Tom@bumblecow.com>2010-05-10 11:21:54 -0500
commit0f12ce637b5b969f4732179ef08d5a0779bab6e2 (patch)
treeace41f331aea1f0e5f4b2c14cea9d4a72430bbec /include
parentf9c7affa9b66498190f309edc4643b4698e21a8c (diff)
downloadu-boot-imx-0f12ce637b5b969f4732179ef08d5a0779bab6e2.zip
u-boot-imx-0f12ce637b5b969f4732179ef08d5a0779bab6e2.tar.gz
u-boot-imx-0f12ce637b5b969f4732179ef08d5a0779bab6e2.tar.bz2
MX31: Add support for PMIC to the QONG module
Add support for the PMIC (MC13783) controller and enables charging of the RTC battery. Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/qong.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/qong.h b/include/configs/qong.h
index baf8481..1a2f19f 100644
--- a/include/configs/qong.h
+++ b/include/configs/qong.h
@@ -54,6 +54,17 @@
#define CONFIG_MX31_GPIO
+#define CONFIG_MXC_SPI
+#define CONFIG_DEFAULT_SPI_BUS 1
+#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_2 | SPI_CS_HIGH)
+#define CONFIG_RTC_MC13783
+
+#define CONFIG_FSL_PMIC
+#define CONFIG_FSL_PMIC_BUS 1
+#define CONFIG_FSL_PMIC_CS 0
+#define CONFIG_FSL_PMIC_CLK 100000
+#define CONFIG_FSL_PMIC_MODE (SPI_MODE_2 | SPI_CS_HIGH)
+
/* FPGA */
#define CONFIG_QONG_FPGA 1
#define CONFIG_FPGA_BASE (CS1_BASE)
@@ -98,6 +109,9 @@
#define CONFIG_CMD_NET
#define CONFIG_CMD_MII
#define CONFIG_CMD_NAND
+#define CONFIG_CMD_SPI
+#define CONFIG_CMD_DATE
+#define BOARD_LATE_INIT
/*
* You can compile in a MAC address and your custom net settings by using