Adriana Kobylak | 50f8846 | 2019-03-19 10:40:36 -0500 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | # For each AVSBus attached power rail set the default boot voltage and then |
| 3 | # program the OPERATION register to switch to AVSBus mode and update default |
| 4 | # start voltage to what was last programmed in VOUT_COMMAND. This should be run |
| 5 | # before power-on. This is platform specific settings that must be |
| 6 | # updated/removed if not Swift. |
| 7 | |
| 8 | i2cset -y 9 0x70 0x00 0x00 b # VDD 0 - PAGE set |
| 9 | i2cset -y 9 0x70 0x21 0xE6 0x00 i # VDD 0 - Set default HW boot voltage to 0.9V |
| 10 | i2cset -y 9 0x70 0x01 0xB0 b # VDD 0 |
| 11 | i2cset -y 9 0x71 0x00 0x01 b # VCS 0 - PAGE set |
| 12 | i2cset -y 9 0x71 0x21 0x00 0x01 i # VCS 0 - Set default HW boot voltage to 1.0V |
| 13 | i2cset -y 9 0x71 0x01 0xB0 b # VCS 0 |
| 14 | i2cset -y 9 0x71 0x00 0x00 b # VDN 0 - PAGE set |
| 15 | i2cset -y 9 0x71 0x21 0xCD 0x00 i # VDN 0 - Set default HW boot voltage to 0.8V |
| 16 | i2cset -y 9 0x71 0x01 0xB0 b # VDN 0 |
| 17 | i2cset -y 10 0x70 0x00 0x00 b # VDD 1 - PAGE set |
| 18 | i2cset -y 10 0x70 0x21 0xE6 0x00 i # VDD 1 - Set default HW boot voltage to 0.9V |
| 19 | i2cset -y 10 0x70 0x01 0xB0 b # VDD 1 |
| 20 | i2cset -y 10 0x71 0x00 0x01 b # VCS 1 - PAGE set |
| 21 | i2cset -y 10 0x71 0x21 0x00 0x01 i # VCS 1 - Set default HW boot voltage to 1.0V |
| 22 | i2cset -y 10 0x71 0x01 0xB0 b # VCS 1 |
| 23 | i2cset -y 10 0x71 0x00 0x00 b # VDN 1 - PAGE set |
| 24 | i2cset -y 10 0x71 0x21 0xCD 0x00 i # VDN 1 - Set default HW boot voltage to 0.8V |
| 25 | i2cset -y 10 0x71 0x01 0xB0 b # VDN 1 |