summaryrefslogtreecommitdiff
path: root/board/toradex/apalis_imx6/pf0100_otp.txt
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2014-01-31 15:00:04 +0100
committerMax Krummenacher <max.krummenacher@toradex.com>2014-01-31 15:00:04 +0100
commita673f6c2479e28db8884d41ccdb10e59390c4acf (patch)
tree62babc0d285008fbc4410bb554e5ed37f6f18e65 /board/toradex/apalis_imx6/pf0100_otp.txt
parent2f1ff393f34aad251ec60f1831b8037f9fb1b42c (diff)
pmic: pmic otp programming, add 'try before buy'
Diffstat (limited to 'board/toradex/apalis_imx6/pf0100_otp.txt')
-rw-r--r--board/toradex/apalis_imx6/pf0100_otp.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/toradex/apalis_imx6/pf0100_otp.txt b/board/toradex/apalis_imx6/pf0100_otp.txt
index dea3e79e69..ff320b9102 100644
--- a/board/toradex/apalis_imx6/pf0100_otp.txt
+++ b/board/toradex/apalis_imx6/pf0100_otp.txt
@@ -57,6 +57,11 @@ WRITE_I2C:D9:07 // Auto gen from Row151
WRITE_I2C:DC:0A // Auto gen from Row154
WRITE_I2C:DD:03 // Auto gen from Row155
WRITE_I2C:E0:05 // Auto gen from Row158
+
+#if 1 /* TBB mode */
+WRITE_I2C:E4:80 // TBB_POR = 1
+DELAY:10
+#else
// Write OTP
WRITE_I2C:E4:02 // FUSE POR1=1
WRITE_I2C:E5:02 // FUSE POR2=1
@@ -182,4 +187,5 @@ WRITE_I2C:D1:00 // Clear
PWRON:LOW // PWRON LOW to reload new OTP data
DELAY:500
PWRON: HIGH
+#endif
}; \ No newline at end of file