diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-08-08 13:33:38 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2018-08-14 15:42:00 -0500 |
commit | c9b439863b083e0f2e0a80a24c7522a118b3a9fd (patch) | |
tree | 7d5bcd5a3aeed24df10f29b014f26a9d4caaf342 /configs | |
parent | a76bc70c39ee1c391b13c9d0db27e1a04caa3c88 (diff) | |
download | talos-skeleton-c9b439863b083e0f2e0a80a24c7522a118b3a9fd.tar.gz talos-skeleton-c9b439863b083e0f2e0a80a24c7522a118b3a9fd.zip |
Remove the GPIOs from Palmetto.py
They are now obtained from a JSON file.
Change-Id: Id8ab8c33c6d6f83f2e1dcb865c9479b35b7e0ef9
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/Palmetto.py | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/configs/Palmetto.py b/configs/Palmetto.py index 10fe0bd..1934a2f 100644 --- a/configs/Palmetto.py +++ b/configs/Palmetto.py @@ -83,54 +83,6 @@ ID_LOOKUP = { } } -GPIO_CONFIG = {} -GPIO_CONFIG['FSI_CLK'] = { 'gpio_pin': 'A4', 'direction': 'out' } -GPIO_CONFIG['FSI_DATA'] = { 'gpio_pin': 'A5', 'direction': 'out' } -GPIO_CONFIG['FSI_ENABLE'] = { 'gpio_pin': 'D0', 'direction': 'out' } -GPIO_CONFIG['POWER_PIN'] = { 'gpio_pin': 'E1', 'direction': 'out' } -GPIO_CONFIG['CRONUS_SEL'] = { 'gpio_pin': 'A6', 'direction': 'out' } -GPIO_CONFIG['PGOOD'] = { 'gpio_pin': 'C7', 'direction': 'in' } -GPIO_CONFIG['BMC_THROTTLE'] = { 'gpio_pin': 'J3', 'direction': 'out' } -GPIO_CONFIG['IDBTN'] = { 'gpio_pin': 'Q7', 'direction': 'out' } -GPIO_CONFIG['POWER_BUTTON'] = { 'gpio_pin': 'E0', 'direction': 'both' } -GPIO_CONFIG['PCIE_RESET'] = { 'gpio_pin': 'B5', 'direction': 'out' } -GPIO_CONFIG['USB_RESET'] = { 'gpio_pin': 'B6', 'direction': 'out' } -GPIO_CONFIG['SLOT0_RISER_PRESENT'] = { 'gpio_pin': 'N0', 'direction': 'in' } -GPIO_CONFIG['SLOT1_RISER_PRESENT'] = { 'gpio_pin': 'N1', 'direction': 'in' } -GPIO_CONFIG['SLOT2_RISER_PRESENT'] = { 'gpio_pin': 'N2', 'direction': 'in' } -GPIO_CONFIG['SLOT0_PRESENT'] = { 'gpio_pin': 'N3', 'direction': 'in' } -GPIO_CONFIG['SLOT1_PRESENT'] = { 'gpio_pin': 'N4', 'direction': 'in' } -GPIO_CONFIG['SLOT2_PRESENT'] = { 'gpio_pin': 'N5', 'direction': 'in' } -GPIO_CONFIG['MEZZ0_PRESENT'] = { 'gpio_pin': 'O0', 'direction': 'in' } -GPIO_CONFIG['MEZZ1_PRESENT'] = { 'gpio_pin': 'O1', 'direction': 'in' } -GPIO_CONFIG['CHECKSTOP'] = { 'gpio_pin': 'P5', 'direction': 'falling' } - -GPIO_CONFIGS = { - 'power_config' : { - 'power_good_in' : 'PGOOD', - 'power_up_outs' : [ - ('POWER_PIN', False), - ], - 'reset_outs' : [ - ('USB_RESET', False), - ], - 'pci_reset_outs': [ - # net name, polarity, reset hold - ('PCIE_RESET', False, False), - ], - }, - 'hostctl_config' : { - 'fsi_data' : 'FSI_DATA', - 'fsi_clk' : 'FSI_CLK', - 'fsi_enable' : 'FSI_ENABLE', - 'cronus_sel' : 'CRONUS_SEL', - 'optionals' : [ - ('BMC_THROTTLE', True), - ('IDBTN', False), - ], - }, -} - # Miscellaneous non-poll sensor with system specific properties. # The sensor id is the same as those defined in ID_LOOKUP['SENSOR']. MISC_SENSORS = { |