From 1c6722360875724766c4d49609fc9dcea89d949f Mon Sep 17 00:00:00 2001 From: Brandon Wyman Date: Thu, 24 Oct 2019 18:08:13 -0500 Subject: Rainier power supply presence detects Update rainier.conf to indicate the four power supply instances. Update bbappend for Rainier SYSTEMD_LINK and SYSTEMD_ENVIRONMENT_FILE. Add in subdirectory and power supply configuration files for GPIO presence detect of the Rainier power supplies. Use aspeed-gpio.sh from https://github.com/bradbishop/gpio-keys to determine gpio-key values. Use 7-bit I2C addresses on BMC. +-----+--------+----------+----+ | PSU | GPIO | gpio-key | AA | +-----+--------+----------+----+ | ps0 | GPIOS0 | 144 | 68 | +-----+--------+----------+----+ | ps1 | GPIOS1 | 145 | 69 | +-----+--------+----------+----+ | ps2 | GPIOS2 | 146 | 6a | +-----+--------+----------+----+ | ps3 | GPIOS3 | 147 | 6b | +-----+--------+----------+----+ (From meta-ibm rev: 3e8f174546cf440fda56ce47523030d4d403edbd) Change-Id: Ia55f80e4d857e7a477385d73c12f9719e3065f95 Signed-off-by: Brandon Wyman Signed-off-by: Brad Bishop --- meta-ibm/meta-witherspoon/conf/machine/rainier.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-ibm/meta-witherspoon/conf/machine/rainier.conf') diff --git a/meta-ibm/meta-witherspoon/conf/machine/rainier.conf b/meta-ibm/meta-witherspoon/conf/machine/rainier.conf index 628a45a22..78ffbbc82 100644 --- a/meta-ibm/meta-witherspoon/conf/machine/rainier.conf +++ b/meta-ibm/meta-witherspoon/conf/machine/rainier.conf @@ -1,6 +1,8 @@ KERNEL_DEVICETREE = "aspeed-bmc-ibm-rainier.dtb" UBOOT_MACHINE = "evb-ast2600_defconfig" +OBMC_POWER_SUPPLY_INSTANCES = "0 1 2 3" + require conf/machine/include/ast2600.inc require conf/machine/include/obmc-bsp-common.inc require conf/machine/include/openpower.inc -- cgit v1.2.3