From 4088ec386cba731b02981984640bad2c1576cd27 Mon Sep 17 00:00:00 2001 From: Xo Wang Date: Thu, 22 Sep 2016 13:00:58 -0700 Subject: configs: Add POWER_CONFIG for machines Add configs that address differences in naming, polarity, and number of GPIOs used to control power sequencing and standby reset holds. These are based on existing per-machine patches to op-pwrctl. Signed-off-by: Xo Wang Change-Id: I9b1b076cda58899bec466f94ae8a9c87f9ed4124 --- configs/Garrison.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'configs/Garrison.py') diff --git a/configs/Garrison.py b/configs/Garrison.py index 133bad8..8d29750 100644 --- a/configs/Garrison.py +++ b/configs/Garrison.py @@ -451,6 +451,23 @@ HWMON_CONFIG = { }, } + +POWER_CONFIG = { + 'power_good_in' : 'SYS_PWROK_BUFF', + 'power_up_outs' : [ + ('BMC_POWER_UP', True), + ], + 'reset_outs' : [ + ('CM1_OE_R_N', True), + ('BMC_CP0_RESET_N', False), + ('BMC_CFAM_RESET_N_R', False), + ('PEX8718_DEVICES_RESET_N', False), + ('CP0_DEVICES_RESET_N', False), + ('CP1_DEVICES_RESET_N', False), + ], +} + + # Miscellaneous non-poll sensor with system specific properties. # The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. MISC_SENSORS = { -- cgit v1.2.1