summaryrefslogtreecommitdiff
path: root/include/configs/T208xRDB.h
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2015-03-10 14:21:36 +0800
committerYork Sun <yorksun@freescale.com>2015-04-20 10:15:29 -0700
commite5abb92c0b5dd8bd37b0b7a0881e60d82616099f (patch)
tree2587cd0a5295e336c19e1fb5438416c718d28478 /include/configs/T208xRDB.h
parent9ca0d35f24b1b1e21c609a521933fd4d6598f9ff (diff)
board/t208xrdb: 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. Signed-off-by: Ying Zhang <b40530@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/T208xRDB.h')
-rw-r--r--include/configs/T208xRDB.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/T208xRDB.h b/include/configs/T208xRDB.h
index faaf22c9bf..453cb88289 100644
--- a/include/configs/T208xRDB.h
+++ b/include/configs/T208xRDB.h
@@ -448,6 +448,17 @@ unsigned long get_board_ddr_clk(void);
#define I2C_MUX_PCA_ADDR_SEC2 0x76 /* I2C bus multiplexer,secondary 2 */
#define I2C_MUX_CH_DEFAULT 0x8
+#define I2C_MUX_CH_VOL_MONITOR 0xa
+
+#define CONFIG_VID_FLS_ENV "t208xrdb_vdd_mv"
+#ifndef CONFIG_SPL_BUILD
+#define CONFIG_VID
+#endif
+#define CONFIG_VOL_MONITOR_IR36021_SET
+#define CONFIG_VOL_MONITOR_IR36021_READ
+/* The lowest and highest voltage allowed for T208xRDB */
+#define VDD_MV_MIN 819
+#define VDD_MV_MAX 1212
/*
* RapidIO