summaryrefslogtreecommitdiff
path: root/include/configs/mx31pdk.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2011-10-08 11:04:22 +0200
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:32 +0200
commit877a438a1af9a25b797676944d75786cd97cc460 (patch)
tree8f36ba4329f2c729398222c63eef801045e8b016 /include/configs/mx31pdk.h
parentd7d6780fd1129a77df32c83017be73721bac528e (diff)
MX31: mx31pdk: use new pmic driver
Switch to new pmic generic driver. Signed-off-by: Stefano Babic <sbabic@denx.de> CC: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'include/configs/mx31pdk.h')
-rw-r--r--include/configs/mx31pdk.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
index 8c5730ac21..b72f30b634 100644
--- a/include/configs/mx31pdk.h
+++ b/include/configs/mx31pdk.h
@@ -70,11 +70,15 @@
#define CONFIG_DEFAULT_SPI_BUS 1
#define CONFIG_DEFAULT_SPI_MODE (SPI_MODE_0 | SPI_CS_HIGH)
-#define CONFIG_FSL_PMIC
+/* PMIC Controller */
+#define CONFIG_PMIC
+#define CONFIG_PMIC_SPI
+#define CONFIG_PMIC_FSL
#define CONFIG_FSL_PMIC_BUS 1
#define CONFIG_FSL_PMIC_CS 2
#define CONFIG_FSL_PMIC_CLK 1000000
#define CONFIG_FSL_PMIC_MODE (SPI_MODE_0 | SPI_CS_HIGH)
+#define CONFIG_FSL_PMIC_BITLEN 32
#define CONFIG_RTC_MC13783
/* allow to overwrite serial and ethaddr */