blob: 334798ca53f72621bf346992be0884072268b191 [file] [log] [blame]
Karthikeyan Pasupathi36f035b2022-08-28 17:35:29 +05301#!/bin/bash
2
3export POWER_BTN_HIGH=0xFF
4export POWER_BTN_LOW=0xFE
Delphine CC Chiu0528ecd2022-11-03 15:40:43 +08005export RESET_BTN_HIGH=0xFF
6export RESET_BTN_LOW=0xFD
Karthikeyan Pasupathi36f035b2022-08-28 17:35:29 +05307export power_seq=( "$POWER_BTN_HIGH" "$POWER_BTN_LOW" "$POWER_BTN_HIGH" )
Delphine CC Chiu0528ecd2022-11-03 15:40:43 +08008export reset_seq=( "$RESET_BTN_HIGH" "$RESET_BTN_LOW" "$RESET_BTN_HIGH")
Karthikeyan Pasupathi36f035b2022-08-28 17:35:29 +05309export SERVICE="xyz.openbmc_project.Ipmi.Channel.Ipmb"
10export OBJECT_PATH="/xyz/openbmc_project/Ipmi/Channel/Ipmb"
11export INTERFACE="org.openbmc.Ipmb"
12export DATA_LEN=0x05
13export NETFN=0x06
14export LUN=0x00
15export CMD=0x52
16export STATE_OFF=0
17export STATE_ON=1
18export BUS_NUM=12
19export POW_ON_SLOT=0x01
20export POW_OFF_SLOT=0x00
21export CPLD_PWR_CTRL_ADDR=0xf
22export PWRGD_SYS_PWROK_INDEX=12