From a76bc70c39ee1c391b13c9d0db27e1a04caa3c88 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Wed, 8 Aug 2018 13:33:09 -0500 Subject: Remove the GPIOs from Lanyang.py They are now obtained from a JSON file. Change-Id: I37ef1b6a4bb39a9f06bb29e15083a8d94b2f1eda Signed-off-by: Matt Spinler --- configs/Lanyang.py | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) diff --git a/configs/Lanyang.py b/configs/Lanyang.py index a606532..fa7dc96 100644 --- a/configs/Lanyang.py +++ b/configs/Lanyang.py @@ -312,57 +312,6 @@ ID_LOOKUP = { 'GPIO_PRESENT' : {} } -GPIO_CONFIG = {} -GPIO_CONFIG['SOFTWARE_PGOOD'] = \ - {'gpio_pin': 'M6', 'direction': 'out'} -GPIO_CONFIG['BMC_POWER_UP'] = \ - {'gpio_pin': 'E2', 'direction': 'out'} # BMC_PWR_BTN_OUT_N -GPIO_CONFIG['SYS_PWROK_BUFF'] = \ - {'gpio_pin': 'F6', 'direction': 'in'} # BMC_UCD_PGOOD -GPIO_CONFIG['PHY_RST_N'] = \ - {'gpio_pin': 'D6', 'direction': 'out'} -GPIO_CONFIG['HDD_PWR_EN'] = \ - {'gpio_pin': 'B0', 'direction': 'out'} # BMC_HDD1_PWR_EN -GPIO_CONFIG['CP0_DEVICES_RESET_N'] = \ - {'gpio_pin': 'AA6', 'direction': 'out'} # BMC_CP0_RESET_N -GPIO_CONFIG['BMC_CP0_PERST_ENABLE'] = \ - {'gpio_pin': 'H3', 'direction': 'out'} # BMC_CP0_PERST_ENABLE_R -GPIO_CONFIG['BMC_UCD_LATCH_LE'] = \ - {'gpio_pin': 'P4', 'direction': 'out'} # BMC_UCD90160_GPIO -GPIO_CONFIG['FSI_ENABLE'] = \ - {'gpio_pin': 'D0', 'direction': 'out'} # BMC_FSI_IN_ENA -GPIO_CONFIG['CRONUS_SEL'] = \ - {'gpio_pin': 'H2', 'direction': 'out'} # BMC_FSI_DBG_PRSNT_N -GPIO_CONFIG['POWER_BUTTON'] = \ - {'gpio_pin': 'E4', 'direction': 'both'} # PWR_BTN_D_N -GPIO_CONFIG['RESET_BUTTON'] = \ - {'gpio_pin': 'E3', 'direction': 'both'} # RST_BTN_D_N -GPIO_CONFIG['PE_MEZZB_PRSNT_N'] = \ - {'gpio_pin': 'P6', 'direction': 'in'} -GPIO_CONFIG['CHECKSTOP'] = \ - {'gpio_pin': 'F3', 'direction': 'falling'} # BMC_CPU0_JTAG_PRES_N - -GPIO_CONFIGS = { - 'power_config' : { - 'latch_out': 'BMC_UCD_LATCH_LE', - 'power_good_in' : 'SYS_PWROK_BUFF', - 'power_up_outs' : [ - ('SOFTWARE_PGOOD', True), - ('BMC_POWER_UP', False), - ], - 'reset_outs' : [ - ], - }, - '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']. MISC_SENSORS = { -- cgit v1.2.1