summaryrefslogtreecommitdiffstats
path: root/meta-openbmc-machines/meta-openpower/meta-rcs/meta-talos/recipes-phosphor/chassis/avsbus-control/avsbus-enable.sh
blob: 98e585cc26ec2bfe8c4eed9a683bf9837e45106b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

i2cset -y 4 0x70 0x00 0x00 b    # VDD 0  - PAGE set
i2cset -y 4 0x70 0x01 0xB0 b    # VDD 0
i2cset -y 4 0x70 0x00 0x01 b    # VCS 0  - PAGE set
i2cset -y 4 0x70 0x01 0xB0 b    # VCS 0
i2cset -y 4 0x70 0x00 0x00 b    # VCS 0  - PAGE reset
i2cset -y 4 0x73 0x00 0x00 b    # VDN 0  - PAGE set
i2cset -y 4 0x73 0x01 0xB0 b    # VDN 0
i2cset -y 5 0x70 0x00 0x00 b    # VDD 1  - PAGE set
i2cset -y 5 0x70 0x01 0xB0 b    # VDD 1
i2cset -y 5 0x70 0x00 0x01 b    # VCS 1  - PAGE set
i2cset -y 5 0x70 0x01 0xB0 b    # VCS 1
i2cset -y 5 0x70 0x00 0x00 b    # VCS 1  - PAGE reset
i2cset -y 5 0x73 0x00 0x00 b    # VDN 1  - PAGE set
i2cset -y 5 0x73 0x01 0xB0 b    # VDN 1
OpenPOWER on IntegriCloud