James Feist | 8102f92 | 2017-11-09 14:09:15 -0800 | [diff] [blame] | 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 |
| 5 | SYSTEM_STATES = [ |
| 6 | ] |
| 7 | |
| 8 | FRU_INSTANCES = { |
| 9 | '<inventory_root>/system/chassis/motherboard/bmc' : { 'fru_type' : 'BMC','is_fru' : False, 'manufacturer' : 'ASPEED' }, |
| 10 | } |
| 11 | |
| 12 | GPIO_CONFIG = {} |
| 13 | GPIO_CONFIG['PGOOD'] = {'gpio_pin': 'AB3', 'direction': 'in'} |
| 14 | GPIO_CONFIG['POWER_BUTTON'] = {'gpio_pin': 'E2', 'direction': 'both'} |
| 15 | GPIO_CONFIG['POWER_UP_PIN'] = {'gpio_pin': 'E3', 'direction': 'out'} |
| 16 | GPIO_CONFIG['RESET_BUTTON'] = {'gpio_pin': 'E0', 'direction': 'both'} |
| 17 | GPIO_CONFIG['RESET_OUT'] = {'gpio_pin': 'E1', 'direction': 'out'} |
| 18 | GPIO_CONFIG['ID_BUTTON'] = {'gpio_pin': 'S6', 'direction': 'out'} |
| 19 | |
| 20 | |
| 21 | GPIO_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 | } |