summaryrefslogtreecommitdiff
path: root/include/configs/imx31_litekit.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-04-16 17:11:19 +0200
committerStefano Babic <sbabic@denx.de>2010-05-05 09:48:41 +0200
commitdfe5e14fa263eb8f1a9f087f0284788e7559821d (patch)
treedab89f22049a3df99d302d7e2f5f92fc1f97c49b /include/configs/imx31_litekit.h
parent28bb6d34d3f431b7b00444e2f829b2c04f5daf4d (diff)
MX: RTC13783 uses general function to access PMIC
The RTC is part of the Freescale's PMIC controller. Use general function to access to PMIC internal registers. Signed-off-by: Stefano Babic <sbabic@denx.de> Tested-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'include/configs/imx31_litekit.h')
-rw-r--r--include/configs/imx31_litekit.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
index d58ca8a2a1..49048563cb 100644
--- a/include/configs/imx31_litekit.h
+++ b/include/configs/imx31_litekit.h
@@ -68,10 +68,13 @@
#define CONFIG_DEFAULT_SPI_BUS 1
#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_2 | SPI_CS_HIGH)
+#define CONFIG_FSL_PMIC
+#define CONFIG_FSL_PMIC_BUS 1
+#define CONFIG_FSL_PMIC_CS 0
+#define CONFIG_FSL_PMIC_CLK 1000000
+#define CONFIG_FSL_PMIC_MODE (SPI_MODE_2 | SPI_CS_HIGH)
+
#define CONFIG_RTC_MC13783 1
-/* MC13783 connected to CSPI2 and SS0 */
-#define CONFIG_MC13783_SPI_BUS 1
-#define CONFIG_MC13783_SPI_CS 0
/* allow to overwrite serial and ethaddr */
#define CONFIG_ENV_OVERWRITE