1## System states 2## state can change to next state in 2 ways: 3## - a process emits a GotoSystemState signal with state name to goto 4## - objects specified in EXIT_STATE_DEPEND have started 5SYSTEM_STATES = [ 6] 7 8FRU_INSTANCES = { 9 '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, 10} 11 12GPIO_CONFIG = {} 13GPIO_CONFIG['PGOOD'] = {'gpio_pin': 'AB3', 'direction': 'in'} 14GPIO_CONFIG['POWER_BUTTON'] = {'gpio_pin': 'E2', 'direction': 'both'} 15GPIO_CONFIG['POWER_UP_PIN'] = {'gpio_pin': 'E3', 'direction': 'out'} 16GPIO_CONFIG['RESET_BUTTON'] = {'gpio_pin': 'E0', 'direction': 'both'} 17GPIO_CONFIG['RESET_OUT'] = {'gpio_pin': 'E1', 'direction': 'out'} 18GPIO_CONFIG['ID_BUTTON'] = {'gpio_pin': 'S6', 'direction': 'out'} 19 20 21GPIO_CONFIGS = { 22 'power_config' : { 23 'power_good_in' : 'PGOOD', 24 'power_up_outs' : [ 25 ('POWER_UP_PIN', True), 26 ], 27 'reset_outs' : [ 28 ('RESET_OUT', False), 29 ], 30 'pci_reset_outs': [ 31 ], 32 }, 33 34 'hostctl_config' : { 35 'fsi_data' : '', 36 'fsi_clk' : '', 37 'fsi_enable' : '', 38 'cronus_sel' : '', 39 'optionals' : [ 40 ], 41 }, 42} 43