diff options
author | York Sun <yorksun@freescale.com> | 2013-03-25 07:33:22 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-14 16:00:28 -0500 |
commit | 97c7fe61b84bf836ccf3d9aac624d4241f6e3b4c (patch) | |
tree | b9c6d2ace3875abf0b6ea0cb87bbba9a6796446a /include/configs | |
parent | e1d5a2773f30a0b2b8ad3bfd88f118154c7af940 (diff) | |
download | u-boot-imx-97c7fe61b84bf836ccf3d9aac624d4241f6e3b4c.zip u-boot-imx-97c7fe61b84bf836ccf3d9aac624d4241f6e3b4c.tar.gz u-boot-imx-97c7fe61b84bf836ccf3d9aac624d4241f6e3b4c.tar.bz2 |
powerpc/t4240qds: Add voltage ID support
T4240 has voltage ID fuse. Read the fuse and configure the voltage
correctly. Core voltage has higher tolerance on over side than below.
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/t4qds.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/t4qds.h b/include/configs/t4qds.h index c5110c2..dbaa7ea 100644 --- a/include/configs/t4qds.h +++ b/include/configs/t4qds.h @@ -444,11 +444,19 @@ unsigned long get_board_ddr_clk(void); #define I2C_MUX_PCA_ADDR_PRI 0x77 /* I2C bus multiplexer,primary */ #define I2C_MUX_PCA_ADDR_SEC 0x76 /* I2C bus multiplexer,secondary */ -/* VSC Crossbar switches */ -#define CONFIG_VSC_CROSSBAR #define I2C_MUX_CH_DEFAULT 0x8 +#define I2C_MUX_CH_VOL_MONITOR 0xa #define I2C_MUX_CH_VSC3316_FS 0xc #define I2C_MUX_CH_VSC3316_BS 0xd + +/* Voltage monitor on channel 2*/ +#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 + +/* VSC Crossbar switches */ +#define CONFIG_VSC_CROSSBAR #define VSC3316_FSM_TX_ADDR 0x70 #define VSC3316_FSM_RX_ADDR 0x71 |