mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 04:46:01 +01:00
colibri_imx6: change pmic fusing according to hw 1.1 requirements
Colibri iMX6 V1.1 HW can use the PMIC GEN3 to power the NVCC_SD1. Change the settings fused into the PMIC's OTP to powerup with GEN3 set to output 3.3V. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
This commit is contained in:
parent
08621424ce
commit
cbcdf4da82
@ -5,16 +5,17 @@
|
|||||||
|
|
||||||
// Register Output for PF0100 programmer
|
// Register Output for PF0100 programmer
|
||||||
// Customer: Toradex AG
|
// Customer: Toradex AG
|
||||||
// Program: Colibri iMX6
|
// Program: Colibri iMX6 V1.1
|
||||||
// Sample marking:
|
// Sample marking:
|
||||||
// Date: 24.07.2015
|
// Date: 01.05.2017
|
||||||
// Time: 10:52:58
|
// Time: 16:22:32
|
||||||
// Generated from Spreadsheet Revision: P1.8
|
// Generated from Spreadsheet Revision: P1.8
|
||||||
|
|
||||||
/* sed commands to get from programmer script to struct */
|
/* sed commands to get from programmer script to struct content */
|
||||||
/* sed -e 's/^WRITE_I2C:\(..\):\(..\)/\{pmic_i2c, 0x\1, 0x\2\},/g' -e 's/^DELAY:\([0-9]*\)/\{pmic_delay, 0, \1\},/g' pf0100_otp_Colibri_iMX6.txt > pf0100_otp.inc
|
/* sed -e 's/^WRITE_I2C:\(..\):\(..\)/\{pmic_i2c, 0x\1, 0x\2\},/g' -e 's/^DELAY:\([0-9]*\)/\{pmic_delay, 0, \1\},/g' pf0100_otp_Colibri_iMX6.txt > pf0100_otp.inc
|
||||||
sed -i -e 's/^VPGM:ON/\{pmic_vpgm, 0, 1},/g' -e 's/^VPGM:OFF/\{pmic_vpgm, 0, 0},/g' pf0100_otp.inc
|
sed -i -e 's/^VPGM:ON/\{pmic_vpgm, 0, 1},/g' -e 's/^VPGM:OFF/\{pmic_vpgm, 0, 0},/g' pf0100_otp.inc
|
||||||
sed -i -e 's/^PWRON: HIGH/\{pmic_pwr, 0, 1},/g' -e 's/^PWRON:LOW/\{pmic_pwr, 0, 0},/g' pf0100_otp.inc */
|
sed -i -e 's/^PWRON: HIGH/\{pmic_pwr, 0, 1},/g' -e 's/^PWRON:LOW/\{pmic_pwr, 0, 0},/g' pf0100_otp.inc
|
||||||
|
*/
|
||||||
|
|
||||||
enum { pmic_i2c, pmic_delay, pmic_vpgm, pmic_pwr };
|
enum { pmic_i2c, pmic_delay, pmic_vpgm, pmic_pwr };
|
||||||
struct pmic_otp_prog_t{
|
struct pmic_otp_prog_t{
|
||||||
@ -47,7 +48,8 @@ struct pmic_otp_prog_t pmic_otp_prog[] = {
|
|||||||
{pmic_i2c, 0xC8, 0x0E}, // Auto gen from Row134
|
{pmic_i2c, 0xC8, 0x0E}, // Auto gen from Row134
|
||||||
{pmic_i2c, 0xCC, 0x0E}, // Auto gen from Row138
|
{pmic_i2c, 0xCC, 0x0E}, // Auto gen from Row138
|
||||||
{pmic_i2c, 0xCD, 0x05}, // Auto gen from Row139
|
{pmic_i2c, 0xCD, 0x05}, // Auto gen from Row139
|
||||||
{pmic_i2c, 0xD0, 0x0C}, // Auto gen from Row142
|
{pmic_i2c, 0xD0, 0x0F}, // Auto gen from Row142
|
||||||
|
{pmic_i2c, 0xD1, 0x05}, // Auto gen from Row143
|
||||||
{pmic_i2c, 0xD5, 0x07}, // Auto gen from Row147
|
{pmic_i2c, 0xD5, 0x07}, // Auto gen from Row147
|
||||||
{pmic_i2c, 0xD8, 0x07}, // Auto gen from Row150
|
{pmic_i2c, 0xD8, 0x07}, // Auto gen from Row150
|
||||||
{pmic_i2c, 0xD9, 0x06}, // Auto gen from Row151
|
{pmic_i2c, 0xD9, 0x06}, // Auto gen from Row151
|
||||||
|
Loading…
x
Reference in New Issue
Block a user