diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-08-08 13:31:31 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2018-08-14 15:42:00 -0500 |
commit | 893498a5ebd32a024759ba019a79a61f41bd5c9b (patch) | |
tree | 91556c1b7b726ef6283c87004d49f7d922bfd12a /configs | |
parent | c4390deea38d281eaa0743e97449a598f222c683 (diff) | |
download | talos-skeleton-893498a5ebd32a024759ba019a79a61f41bd5c9b.tar.gz talos-skeleton-893498a5ebd32a024759ba019a79a61f41bd5c9b.zip |
Remove the GPIOs from Witherspoon.py
They are now obtained from a JSON file.
Change-Id: I8ca4ac94e2907fadc9a444e42b20df576bd1e95b
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/Witherspoon.py | 69 |
1 files changed, 0 insertions, 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']. |