summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShaveta Leekha <shaveta@freescale.com>2014-04-11 14:12:40 +0530
committerYork Sun <yorksun@freescale.com>2014-05-13 08:20:31 -0700
commit652e29b4a0d5ff418a4f1a633912976cd7331758 (patch)
treecf8957efaa646490e873e87dcb825fe40a53b2eb /include
parent4150f24290a4b6a3afe61487413408e5082f33be (diff)
downloadu-boot-imx-652e29b4a0d5ff418a4f1a633912976cd7331758.zip
u-boot-imx-652e29b4a0d5ff418a4f1a633912976cd7331758.tar.gz
u-boot-imx-652e29b4a0d5ff418a4f1a633912976cd7331758.tar.bz2
board/b4qds: VID support
The fuse status register provides the values from on-chip voltage ID efuses programmed at the factory. These values define the voltage requirements for the chip. u-boot reads FUSESR and translates the values into the appropriate commands to set the voltage output value of an external voltage regulator. B4860QDS has a PowerOne ZM7300 programmable digital Power Manager which is programmed as per the value read from the fuses. Reference for this code is taken from t4qds VID implementation. Signed-off-by: Shaveta Leekha <shaveta@freescale.com> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/B4860QDS.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/B4860QDS.h b/include/configs/B4860QDS.h
index df371b7..a612556 100644
--- a/include/configs/B4860QDS.h
+++ b/include/configs/B4860QDS.h
@@ -115,6 +115,17 @@
#define IDT_SERDES1_ADDRESS 0x6E
#define IDT_SERDES2_ADDRESS 0x6C
+/* Voltage monitor on channel 2*/
+#define I2C_MUX_CH_VOL_MONITOR 0xa
+#define I2C_VOL_MONITOR_ADDR 0x40
+#define I2C_VOL_MONITOR_BUS_V_OFFSET 0x2
+#define I2C_VOL_MONITOR_BUS_V_OVF 0x1
+#define I2C_VOL_MONITOR_BUS_V_SHIFT 3
+
+#define CONFIG_ZM7300
+#define I2C_MUX_CH_DPM 0xa
+#define I2C_DPM_ADDR 0x28
+
#define CONFIG_ENV_OVERWRITE
#ifdef CONFIG_SYS_NO_FLASH