コード例 #1
0
# Copyright 2018-present Facebook. All rights reserved.
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The following table is generated using:
# python minipack_gpio_parser.py data/minipack-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_rev_table = [
    BoardGPIO("GPIOG4", "BMC_CPLD_BOARD_REV_ID0"),
    BoardGPIO("GPIOG5", "BMC_CPLD_BOARD_REV_ID1"),
    BoardGPIO("GPIOG6", "BMC_CPLD_BOARD_REV_ID2"),
]
コード例 #2
0
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python asus_gpio_parser.py data/asus-BMC-GPIO.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v1 = [
    BoardGPIO('GPIOA4', 'ASUS_BMC_CTL_LOCKOUT_N'),
    BoardGPIO('GPIOB1', 'CTL_REQ_POWERUP_N'),
    BoardGPIO('GPIOB6', 'CTL_REQ_RESET_N'),
    BoardGPIO('GPIOE1', 'LED_STA_BMC_N'),
    BoardGPIO('GPIOE2', 'LED_ERR_CPU2_N'),
    BoardGPIO('GPIOE3', 'LED_ERR_CPU1_N'),
    BoardGPIO('GPIOF0', 'CTL_REQ_POWERDOWN_N'),
    BoardGPIO('GPIOF4', 'CTL_REQ_SPD_MUX_S1'),
    BoardGPIO('GPIOF5', 'CTL_REQ_SPD_MUX_S0'),
    BoardGPIO('GPIOG0', 'LED_STA_LOC_N'),
    BoardGPIO('GPIOG1', 'USR_SW_LOC_N'),
    BoardGPIO('GPIOH2', 'STA_LINE_POWER'),
]
コード例 #3
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python galaxy100_gpio_parser.py data/galaxy100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v2 = [
    BoardGPIO("GPIOA2", "BMC_GPIOA2"),
    BoardGPIO("GPIOA3", "BMC_GPIOA3"),
    BoardGPIO("GPIOB0", "UNNAMED_45_AST2400A1TFBGA408_I1"),
    BoardGPIO("GPIOB4", "LPC_RST_N"),
    BoardGPIO("GPIOC2", "BMC_GPIOC2"),
    BoardGPIO("GPIOD0", "BMC_GPIOD0"),
    BoardGPIO("GPIOD1", "BMC_GPIOD1"),
    BoardGPIO("GPIOD2", "BMC_GPIOD2"),
    BoardGPIO("GPIOD3", "BMC_GPIOD3"),
    BoardGPIO("GPIOD4", "BMC_GPIOD4"),
    BoardGPIO("GPIOD5", "BMC_GPIOD5"),
    BoardGPIO("GPIOD6", "VBUS_DET"),
    BoardGPIO("GPIOE0", "UNNAMED_46_AST2400A1TFBGA408_I1"),
    BoardGPIO("GPIOE2", "SWITCH_EEPROM1_WRT"),
    BoardGPIO("GPIOE4", "BUF_PRSNT_SCM_N"),
    BoardGPIO("GPIOF1", "UNNAMED_46_AST2400A1TFBGA408__2"),
コード例 #4
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python lightning_gpio_parse.py data/lightning-BMC-GPIO-DVT.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_tolerance_gpio_table = [
    BoardGPIO('GPIOE0', 'FLA1_WPN', 'high'),
    BoardGPIO('GPIOG0', 'HIGH_HEX_0', 'low'),
    BoardGPIO('GPIOG1', 'HIGH_HEX_1', 'high'),
    BoardGPIO('GPIOG2', 'HIGH_HEX_2', 'low'),
    BoardGPIO('GPIOG3', 'HIGH_HEX_3', 'high'),
    BoardGPIO('GPIOJ0', 'LOW_HEX_0', 'high'),
    BoardGPIO('GPIOJ1', 'LOW_HEX_1', 'low'),
    BoardGPIO('GPIOJ2', 'LOW_HEX_2', 'high'),
    BoardGPIO('GPIOJ3', 'LOW_HEX_3', 'low'),
    BoardGPIO('GPIOP3', 'BMC_UART_SWITCH_1', 'low'),
]
コード例 #5
0
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import, division, print_function, unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python lightning_gpio_parse.py data/lightning-BMC-GPIO-DVT.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_tolerance_gpio_table = [
    BoardGPIO("GPIOE0", "FLA1_WPN", "high"),
    BoardGPIO("GPIOG0", "HIGH_HEX_0", "low"),
    BoardGPIO("GPIOG1", "HIGH_HEX_1", "high"),
    BoardGPIO("GPIOG2", "HIGH_HEX_2", "low"),
    BoardGPIO("GPIOG3", "HIGH_HEX_3", "high"),
    BoardGPIO("GPIOJ0", "LOW_HEX_0", "high"),
    BoardGPIO("GPIOJ1", "LOW_HEX_1", "low"),
    BoardGPIO("GPIOJ2", "LOW_HEX_2", "high"),
    BoardGPIO("GPIOJ3", "LOW_HEX_3", "low"),
    BoardGPIO("GPIOP3", "BMC_UART_SWITCH_1", "low"),
]
コード例 #6
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python galaxy100_gpio_parser.py data/galaxy100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v1 = [
    BoardGPIO('GPIOA2', 'BMC_GPIOA2'),
    BoardGPIO('GPIOA3', 'BMC_GPIOA3'),
    BoardGPIO('GPIOB0', 'UNNAMED_45_AST2400A1TFBGA408_I1'),
    BoardGPIO('GPIOB4', 'LPC_RST_N'),
    BoardGPIO('GPIOC2', 'BMC_GPIOC2'),
    BoardGPIO('GPIOD0', 'BMC_GPIOD0'),
    BoardGPIO('GPIOD1', 'BMC_GPIOD1'),
    BoardGPIO('GPIOD2', 'BMC_GPIOD2'),
    BoardGPIO('GPIOD3', 'BMC_GPIOD3'),
    BoardGPIO('GPIOD4', 'BMC_GPIOD4'),
    BoardGPIO('GPIOD5', 'BMC_GPIOD5'),
    BoardGPIO('GPIOD6', 'VBUS_DET'),
    BoardGPIO('GPIOE0', 'UNNAMED_46_AST2400A1TFBGA408_I1'),
    BoardGPIO('GPIOE2', 'UNNAMED_46_AST2400A1TFBGA408__1'),
    BoardGPIO('GPIOE4', 'BUF_PRSNT_SCM_N'),
    BoardGPIO('GPIOF1', 'UNNAMED_46_AST2400A1TFBGA408__2'),
コード例 #7
0
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO


# The following table is generated using:
# python openbmc_gpio_parser.py data/wedge400-bmc-gpio-evta.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v1_th3 = [
    BoardGPIO("GPIOA3", "BMC_EMMC_RST_N_R"),
    BoardGPIO("GPIOAA0", "DEBUG_PRESENT_N"),
    BoardGPIO("GPIOAA1", "SYS_CPLD_RST_N"),
    BoardGPIO("GPIOAA2", "SYS_CPLD_INT_N"),
    BoardGPIO("GPIOAA3", "BMC_CPLD_TPM_RST_N"),
    BoardGPIO("GPIOAA4", "BMC_TPM_SPI_PIRQ_N"),
    BoardGPIO("GPIOAA7", "BMC_SCM_CPLD_EN"),
    BoardGPIO("GPIOAB0", "CPLD_INT_BMC"),
    BoardGPIO("GPIOAB1", "CPLD_RESERVED_2"),
    BoardGPIO("GPIOAB2", "CPLD_RESERVED_3"),
    BoardGPIO("GPIOAB3", "CPLD_RESERVED_4"),
    BoardGPIO("GPIOAC5", "SCM_LPC_FRAME_N"),
    BoardGPIO("GPIOAC6", "SCM_LPC_SERIRQ_N"),
    BoardGPIO("GPIOAC7", "BMC_LPCRST_N"),
    BoardGPIO("GPIOE2", "TH3_POWER_OK"),
    BoardGPIO("GPIOF4", "CPU_CATERR_MSMI"),
コード例 #8
0
ファイル: board_gpio_table.py プロジェクト: hanzf00/openbmc
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import, division, print_function, unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python lightning_gpio_parse.py data/lightning-BMC-GPIO-DVT.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table = [
    BoardGPIO("ADC0", "ADC_12V"),
    BoardGPIO("ADC1", "ADC_P5V_STBY"),
    BoardGPIO("ADC2", "ADC_P3V3_STBY"),
    BoardGPIO("ADC3", "ADC_P1V8_STBY"),
    BoardGPIO("ADC4", "ADC_P1V53V"),
    BoardGPIO("ADC5", "ADC_P0V9"),
    BoardGPIO("ADC6", "ADC_P0V9_E"),
    BoardGPIO("ADC7", "ADC_P1V26"),
    BoardGPIO("EXTRST#", "RST_BMC_EXTRST_N"),
    BoardGPIO("GPIOA0", "PEER_TRAY_R"),
    BoardGPIO("GPIOA1", "BMC_JTAG_L_EN", "low"),
    BoardGPIO("GPIOA2", "BMC_USB_EN_1", "low"),
    BoardGPIO("GPIOB0", "PE1_PERST_N", "high"),
    BoardGPIO("GPIOB1", "BMC_RESET_N_DDR3", "high"),
    BoardGPIO("GPIOB3", "LAN_SMB_ALERT_N", "high"),
    BoardGPIO("GPIOB4", "FM_PCH_LAN1_DISABLE_N", "high"),
コード例 #9
0
# Copyright 2019-present Facebook. All rights reserved.
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The following table is generated using:
# python openbmc_gpio_parser.py data/wedge400-bmc-gpio-evta.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_rev_table = [
    BoardGPIO('GPIOG4', 'BMC_CPLD_BOARD_REV_ID0'),
    BoardGPIO('GPIOG5', 'BMC_CPLD_BOARD_REV_ID1'),
    BoardGPIO('GPIOG6', 'BMC_CPLD_BOARD_REV_ID2'),
]
コード例 #10
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python wedge100_gpio_parser.py data/wedge100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v2 = [
    BoardGPIO('GPIOB0', 'PANTHER_I2C_ALERT_N'),
    BoardGPIO('GPIOB1', 'MSERV_NIC_SMBUS_ALERT_N'),
    BoardGPIO('GPIOB2', 'DEBUG_PORT_UART_SEL_N'),
    BoardGPIO('GPIOB5', 'LED_POSTCODE_5'),
    BoardGPIO('GPIOB6', 'LED_POSTCODE_6'),
    BoardGPIO('GPIOB7', 'LED_POSTCODE_7'),
    BoardGPIO('GPIOC2', 'ISO_BUF_EN'),
    BoardGPIO('GPIOD0', 'BMC_PWR_BTN_IN_N'),
    BoardGPIO('GPIOD1', 'BMC_PWR_BTN_OUT_N'),
    BoardGPIO('GPIOD2', 'BMC_CPLD_RESET1'),
    BoardGPIO('GPIOD3', 'BMC_CPLD_RESET2'),
    BoardGPIO('GPIOD4', 'BMC_CPLD_RESET3'),
    BoardGPIO('GPIOD5', 'BMC_CPLD_RESET4'),
    BoardGPIO('GPIOD7', 'BMC_CPLD_QSFP_INT'),
    BoardGPIO('GPIOE0', 'DEBUG_UART_SEL_0'),
    BoardGPIO('GPIOE2', 'SWITCH_EEPROM1_WRT'),
コード例 #11
0
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO


# The following table is generated using:
# python minipack_gpio_parser.py data/minipack-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_p1 = [
    BoardGPIO("GPIOB0", "TPM_RST_N"),
    BoardGPIO("GPIOB1", "TPM_INTR"),
    BoardGPIO("GPIOB3", "BMC_eMMC_RST_N"),
    BoardGPIO("GPIOL0", "BIOS_SEL"),
    BoardGPIO("GPIOL2", "SUP_PWR_ON"),
    BoardGPIO("GPIOL3", "CPLD_JTAG_SEL_L"),
]
コード例 #12
0
# Copyright 2015-present Facebook. All rights reserved.
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO


# The following table is generated using:
# python wedge100_gpio_parser.py data/wedge100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_rev_table = [
    BoardGPIO("GPIOY0", "BOARD_REV_ID0"),
    BoardGPIO("GPIOY1", "BOARD_REV_ID1"),
    BoardGPIO("GPIOY2", "BOARD_REV_ID2"),
]
コード例 #13
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python minipack_gpio_parser.py data/minipack-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v3 = [
    BoardGPIO("GPIOA2", "BMC_SPI1_CS1"),
    BoardGPIO("GPIOA3", "BMC_eMMC_RST_N", "high"),
    BoardGPIO("GPIOAA0", "SCM_USB_PRSNT"),
    BoardGPIO("GPIOAA2", "BMC_SCM_CPLD_TMS"),
    BoardGPIO("GPIOAA3", "BMC_SCM_CPLD_TCK"),
    BoardGPIO("GPIOAA4", "BMC_SCM_CPLD_TDI"),
    BoardGPIO("GPIOAA5", "BMC_SCM_CPLD_TDO"),
    BoardGPIO("GPIOAA7", "BMC_SCM_CPLD_EN"),
    BoardGPIO("GPIOAB0", "CPLD_INT_BMC"),
    BoardGPIO("GPIOE2", "TH3_PWR_OK"),
    BoardGPIO("GPIOF0", "BMC10_9548_1_RST", "high"),
    BoardGPIO("GPIOF4", "CPU_CATERR_MSMI"),
    BoardGPIO("GPIOG0", "BMC_CPLD_TDI"),
    BoardGPIO("GPIOG1", "BMC_CPLD_TCK"),
    BoardGPIO("GPIOG2", "BMC_CPLD_TMS"),
    BoardGPIO("GPIOG3", "BMC_CPLD_TDO"),
コード例 #14
0
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python wedge100_gpio_parser.py data/wedge100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_rev_table = [
    BoardGPIO('GPIOY0', 'BOARD_REV_ID0'),
    BoardGPIO('GPIOY1', 'BOARD_REV_ID1'),
    BoardGPIO('GPIOY2', 'BOARD_REV_ID2'),
]
コード例 #15
0
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python lightning_gpio_parse.py data/lightning-BMC-GPIO-DVT.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table = [
    BoardGPIO('ADC0', 'ADC_12V'),
    BoardGPIO('ADC1', 'ADC_P5V_STBY'),
    BoardGPIO('ADC2', 'ADC_P3V3_STBY'),
    BoardGPIO('ADC3', 'ADC_P1V8_STBY'),
    BoardGPIO('ADC4', 'ADC_P1V53V'),
    BoardGPIO('ADC5', 'ADC_P0V9'),
    BoardGPIO('ADC6', 'ADC_P0V9_E'),
    BoardGPIO('ADC7', 'ADC_P1V26'),
    BoardGPIO('EXTRST#', 'RST_BMC_EXTRST_N'),
    BoardGPIO('GPIOA0', 'PEER_TRAY_R'),
    BoardGPIO('GPIOA1', 'BMC_JTAG_L_EN', 'low'),
    BoardGPIO('GPIOA2', 'BMC_USB_EN_1', 'low'),
    BoardGPIO('GPIOB0', 'PE1_PERST_N', 'high'),
    BoardGPIO('GPIOB1', 'BMC_RESET_N_DDR3', 'high'),
    BoardGPIO('GPIOB3', 'LAN_SMB_ALERT_N', 'high'),
    BoardGPIO('GPIOB4', 'FM_PCH_LAN1_DISABLE_N', 'high'),
コード例 #16
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python wedge100_gpio_parser.py data/wedge100-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v2 = [
    BoardGPIO("GPIOB0", "PANTHER_I2C_ALERT_N"),
    BoardGPIO("GPIOB1", "MSERV_NIC_SMBUS_ALERT_N"),
    BoardGPIO("GPIOB2", "DEBUG_PORT_UART_SEL_N"),
    BoardGPIO("GPIOB5", "LED_POSTCODE_5"),
    BoardGPIO("GPIOB6", "LED_POSTCODE_6"),
    BoardGPIO("GPIOB7", "LED_POSTCODE_7"),
    BoardGPIO("GPIOC2", "ISO_BUF_EN"),
    BoardGPIO("GPIOD0", "BMC_PWR_BTN_IN_N"),
    BoardGPIO("GPIOD1", "BMC_PWR_BTN_OUT_N"),
    BoardGPIO("GPIOD2", "BMC_CPLD_RESET1"),
    BoardGPIO("GPIOD3", "BMC_CPLD_RESET2"),
    BoardGPIO("GPIOD4", "BMC_CPLD_RESET3"),
    BoardGPIO("GPIOD5", "BMC_CPLD_RESET4"),
    BoardGPIO("GPIOD7", "BMC_CPLD_QSFP_INT"),
    BoardGPIO("GPIOE0", "DEBUG_UART_SEL_0"),
    BoardGPIO("GPIOE2", "SWITCH_EEPROM1_WRT"),
コード例 #17
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The following table is generated using:
# python openbmc_gpio_parser.py data/wedge400-bmc-gpio-evta.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v1 = [
    BoardGPIO('GPIOA3', 'BMC_EMMC_RST_N_R'),
    BoardGPIO('GPIOAA0', 'DEBUG_PRESENT_N'),
    BoardGPIO('GPIOAA1', 'SYS_CPLD_RST_N'),
    BoardGPIO('GPIOAA2', 'SYS_CPLD_INT_N'),
    BoardGPIO('GPIOAA7', 'BMC_SCM_CPLD_EN'),
    BoardGPIO('GPIOAB0', 'CPLD_INT_BMC'),
    BoardGPIO('GPIOAB1', 'CPLD_RESERVED_2'),
    BoardGPIO('GPIOAB2', 'CPLD_RESERVED_3'),
    BoardGPIO('GPIOAB3', 'CPLD_RESERVED_4'),
    BoardGPIO('GPIOAC5', 'SCM_LPC_FRAME_N'),
    BoardGPIO('GPIOAC6', 'SCM_LPC_SERIRQ_N'),
    BoardGPIO('GPIOAC7', 'BMC_LPCRST_N'),
    BoardGPIO('GPIOE2', 'TH3_POWER_OK'),
    BoardGPIO('GPIOF4', 'CPU_CATERR_MSMI'),
    BoardGPIO('GPIOG0', 'BMC_JTAG_MUX_IN'),
    BoardGPIO('GPIOG1', 'DOM_FPGA1_JTAG_EN_N'),
コード例 #18
0
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

from openbmc_gpio_table import BoardGPIO

# The following table is generated using:
# python minipack_gpio_parser.py data/minipack-BMC-gpio.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_gpio_table_v1 = [
    BoardGPIO('GPIOA2', 'BMC_SPI1_CS1'),
    BoardGPIO('GPIOA3', 'BMC_eMMC_RST_N'),
    BoardGPIO('GPIOAA2', 'BMC_SCM_CPLD_TMS'),
    BoardGPIO('GPIOAA3', 'BMC_SCM_CPLD_TCK'),
    BoardGPIO('GPIOAA4', 'BMC_SCM_CPLD_TDI'),
    BoardGPIO('GPIOAA5', 'BMC_SCM_CPLD_TDO'),
    BoardGPIO('GPIOAA7', 'BMC_SCM_CPLD_EN'),
    BoardGPIO('GPIOB3', 'BMC_eMMC_RCLK'),
    BoardGPIO('GPIOE2', 'TH3_PWR_OK'),
    BoardGPIO('GPIOE5', 'BMC_LED_PWR_BLUE'),
    BoardGPIO('GPIOG0', 'BMC_CPLD_TDI'),
    BoardGPIO('GPIOG1', 'BMC_CPLD_TCK'),
    BoardGPIO('GPIOG2', 'BMC_CPLD_TMS'),
    BoardGPIO('GPIOG3', 'BMC_CPLD_TDO'),
    BoardGPIO('GPIOG7', 'BMC_SPI1_CS2'),
    BoardGPIO('GPIOI4', 'BMC_SPI1_CS0'),
コード例 #19
0
#
# This program file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program in a file named COPYING; if not, write to the
# Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA
from __future__ import absolute_import, division, print_function, unicode_literals

from openbmc_gpio_table import BoardGPIO

# The fallowing table is generated using:
# python lightning_gpio_parse.py data/lightning-BMC-GPIO-DVT.csv
# DO NOT MODIFY THE TABLE!!!
# Manual modification will be overridden!!!

board_passthrough_gpio_table = [
    BoardGPIO("SPICK", "SPICK"),
    BoardGPIO("SPICS0#", "SPICS0_N"),
    BoardGPIO("SPIDI", "SPIDI"),
    BoardGPIO("SPIDO", "SPIDO"),
]