Commit cbcdf4da820cc091a1e568e4dcefa95c345f9db1

Authored by Max Krummenacher
Committed by Stefano Babic
1 parent 08621424ce

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>

Showing 1 changed file with 9 additions and 7 deletions Side-by-side Diff

board/toradex/colibri_imx6/pf0100_otp.inc
... ... @@ -5,16 +5,17 @@
5 5  
6 6 // Register Output for PF0100 programmer
7 7 // Customer: Toradex AG
8   -// Program: Colibri iMX6
  8 +// Program: Colibri iMX6 V1.1
9 9 // Sample marking:
10   -// Date: 24.07.2015
11   -// Time: 10:52:58
  10 +// Date: 01.05.2017
  11 +// Time: 16:22:32
12 12 // Generated from Spreadsheet Revision: P1.8
13 13  
14   -/* sed commands to get from programmer script to struct */
  14 +/* sed commands to get from programmer script to struct content */
15 15 /* 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
16 16 sed -i -e 's/^VPGM:ON/\{pmic_vpgm, 0, 1},/g' -e 's/^VPGM:OFF/\{pmic_vpgm, 0, 0},/g' pf0100_otp.inc
17   - sed -i -e 's/^PWRON: HIGH/\{pmic_pwr, 0, 1},/g' -e 's/^PWRON:LOW/\{pmic_pwr, 0, 0},/g' pf0100_otp.inc */
  17 + sed -i -e 's/^PWRON: HIGH/\{pmic_pwr, 0, 1},/g' -e 's/^PWRON:LOW/\{pmic_pwr, 0, 0},/g' pf0100_otp.inc
  18 +*/
18 19  
19 20 enum { pmic_i2c, pmic_delay, pmic_vpgm, pmic_pwr };
20 21 struct pmic_otp_prog_t{
... ... @@ -47,7 +48,8 @@
47 48 {pmic_i2c, 0xC8, 0x0E}, // Auto gen from Row134
48 49 {pmic_i2c, 0xCC, 0x0E}, // Auto gen from Row138
49 50 {pmic_i2c, 0xCD, 0x05}, // Auto gen from Row139
50   -{pmic_i2c, 0xD0, 0x0C}, // Auto gen from Row142
  51 +{pmic_i2c, 0xD0, 0x0F}, // Auto gen from Row142
  52 +{pmic_i2c, 0xD1, 0x05}, // Auto gen from Row143
51 53 {pmic_i2c, 0xD5, 0x07}, // Auto gen from Row147
52 54 {pmic_i2c, 0xD8, 0x07}, // Auto gen from Row150
53 55 {pmic_i2c, 0xD9, 0x06}, // Auto gen from Row151