From 893498a5ebd32a024759ba019a79a61f41bd5c9b Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 8 Aug 2018 13:31:31 -0500 Subject: Remove the GPIOs from Witherspoon.py They are now obtained from a JSON file. Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b Signed-off-by: Matt Spinler --- configs/Witherspoon.py | 69 -------------------------------------------------- 1 file changed, 69 deletions(-) diff --git a/configs/Witherspoon.py b/configs/Witherspoon.py index b0002f1..0887586 100644 --- a/configs/Witherspoon.py +++ b/configs/Witherspoon.py @@ -296,75 +296,6 @@ ID_LOOKUP = { 'GPIO_PRESENT' : {} } -GPIO_CONFIG = {} -GPIO_CONFIG['BMC_POWER_UP'] = \ - {'gpio_pin': 'D1', 'direction': 'out'} -GPIO_CONFIG['SOFTWARE_PGOOD'] = \ - {'gpio_pin': 'R1', 'direction': 'out'} -GPIO_CONFIG['SYS_PWROK_BUFF'] = \ - {'gpio_pin': 'D2', 'direction': 'in'} - -# PV_CP_MD_JTAG_ATTENTION_N -GPIO_CONFIG['CHECKSTOP'] = \ - {'gpio_pin': 'J2', 'direction': 'falling'} - -GPIO_CONFIG['BMC_CP0_RESET_N'] = \ - {'gpio_pin': 'A1', 'direction': 'out'} -# pcie switch reset -GPIO_CONFIG['BMC_VS1_PERST_N'] = \ - {'gpio_pin': 'B7', 'direction': 'out'} -# pcie slots reset - not connected? -GPIO_CONFIG['BMC_CP0_PERST_ENABLE_R'] = \ - {'gpio_pin': 'A3', 'direction': 'out'} - -# SOFT_FSI_DAT -GPIO_CONFIG['FSI_DATA'] = \ - {'gpio_pin': 'E0', 'direction': 'out'} -# SOFT_FSI_CLK -GPIO_CONFIG['FSI_CLK'] = \ - {'gpio_pin': 'AA0', 'direction': 'out'} -# BMC_FSI_IN_ENA -GPIO_CONFIG['FSI_ENABLE'] = \ - {'gpio_pin': 'D0', 'direction': 'out'} -# FSI_JMFG0_PRSNT_N -GPIO_CONFIG['CRONUS_SEL'] = \ - {'gpio_pin': 'A6', 'direction': 'out'} - -# FP_PWR_BTN_N -GPIO_CONFIG['POWER_BUTTON'] = \ - {'gpio_pin': 'I3', 'direction': 'both'} -# BMC_NMIBTN_IN_N -GPIO_CONFIG['RESET_BUTTON'] = \ - {'gpio_pin': 'J1', 'direction': 'both'} - -# FIXME: needed for Witherspoon? -# Tracked by openbmc/openbmc#814 -# FP_ID_BTN_N -GPIO_CONFIG['IDBTN'] = \ - {'gpio_pin': 'Q7', 'direction': 'out'} - -# TODO openbmc/openbmc#2288 - Determine if any pci resets needed -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'SYS_PWROK_BUFF', - 'power_up_outs' : [ - ('SOFTWARE_PGOOD', True), - ('BMC_POWER_UP', True), - ], - 'reset_outs' : [ - ('BMC_CP0_RESET_N', False), - ], - }, - 'hostctl_config' : { - 'fsi_data' : 'FSI_DATA', - 'fsi_clk' : 'FSI_CLK', - 'fsi_enable' : 'FSI_ENABLE', - 'cronus_sel' : 'CRONUS_SEL', - 'optionals' : [ - ], - }, -} - # Miscellaneous non-poll sensor with system specific properties. # The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. -- cgit v1.2.1