summaryrefslogtreecommitdiff
path: root/board/peppy/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/peppy/board.h')
-rw-r--r--board/peppy/board.h80
1 files changed, 1 insertions, 79 deletions
diff --git a/board/peppy/board.h b/board/peppy/board.h
index b586816fc9..e3a85db5bc 100644
--- a/board/peppy/board.h
+++ b/board/peppy/board.h
@@ -57,85 +57,7 @@
/* USB ports */
#define USB_PORT_COUNT 2
-/* GPIO signal definitions. */
-enum gpio_signal {
- /* Inputs with interrupt handlers are first for efficiency */
- GPIO_POWER_BUTTON_L = 0, /* Power button */
- GPIO_LID_OPEN, /* Lid switch */
- GPIO_AC_PRESENT, /* AC power present */
- GPIO_PCH_BKLTEN, /* Backlight enable signal from PCH */
- GPIO_PCH_SLP_S0_L, /* SLP_S0# signal from PCH */
- GPIO_PCH_SLP_S3_L, /* SLP_S3# signal from PCH */
- GPIO_PCH_SLP_S5_L, /* SLP_S5# signal from PCH */
- GPIO_PCH_SLP_SUS_L, /* SLP_SUS# signal from PCH */
- GPIO_PP1050_PGOOD, /* Power good on 1.05V */
- GPIO_PP1350_PGOOD, /* Power good on 1.35V (DRAM) */
- GPIO_PP5000_PGOOD, /* Power good on 5V */
- GPIO_VCORE_PGOOD, /* Power good on core VR */
- GPIO_PCH_EDP_VDD_EN, /* PCH wants EDP enabled */
- GPIO_RECOVERY_L, /* Recovery signal from servo */
- GPIO_WP_L, /* Write protect input */
- GPIO_JTAG_TCK, /* JTAG clock input */
- GPIO_UART0_RX, /* UART0 RX input */
-
- /* Other inputs */
- GPIO_FAN_ALERT_L, /* From thermal sensor */
- GPIO_PCH_SUSWARN_L, /* SUSWARN# signal from PCH */
- GPIO_USB1_OC_L, /* USB port overcurrent warning */
- GPIO_USB2_OC_L, /* USB port overcurrent warning */
- GPIO_BOARD_VERSION1, /* Board version stuffing resistor 1 */
- GPIO_BOARD_VERSION2, /* Board version stuffing resistor 2 */
- GPIO_BOARD_VERSION3, /* Board version stuffing resistor 3 */
- GPIO_CPU_PGOOD, /* Power good to the CPU */
- GPIO_BAT_PRESENT_L, /* Battery present. Repurposed BAT_TEMP */
-
- /* Outputs */
- GPIO_CPU_PROCHOT, /* Force CPU to think it's overheated */
- GPIO_PP1350_EN, /* Enable 1.35V supply */
- GPIO_PP3300_DX_EN, /* Enable power to lots of peripherals */
- GPIO_PP3300_LTE_EN, /* Enable LTE radio */
- GPIO_PP3300_WLAN_EN, /* Enable WiFi power */
- GPIO_SUSP_VR_EN, /* Enable 1.05V regulator */
- GPIO_VCORE_EN, /* Stuffing option - not connected */
- GPIO_PP5000_EN, /* Enable 5V supply */
- GPIO_PP5000_FAN_EN, /* Enable fan power rail */
- GPIO_SYS_PWROK, /* EC thinks everything is up and ready */
- GPIO_WLAN_OFF_L, /* Disable WiFi radio */
- GPIO_CHARGE_L, /* Allow battery to charge when on AC */
-
- GPIO_ENABLE_BACKLIGHT, /* Enable backlight power */
- GPIO_ENABLE_TOUCHPAD, /* Enable touchpad power */
- GPIO_ENTERING_RW, /* Indicate when EC is entering RW code */
- GPIO_PCH_DPWROK, /* Indicate when VccDSW is good */
-
- GPIO_PCH_HDA_SDO, /* HDA_SDO signal to PCH; when high, ME
- * ignores security descriptor */
- GPIO_PCH_WAKE_L, /* Wake signal from EC to PCH */
- GPIO_PCH_NMI_L, /* Non-maskable interrupt pin to PCH */
- GPIO_PCH_PWRBTN_L, /* Power button output to PCH */
- GPIO_PCH_PWROK, /* PWROK / APWROK signals to PCH */
- GPIO_PCH_RCIN_L, /* RCIN# line to PCH (for 8042 emulation) */
- GPIO_PCH_RSMRST_L, /* Reset PCH resume power plane logic */
- GPIO_PCH_SMI_L, /* System management interrupt to PCH */
- GPIO_TOUCHSCREEN_RESET_L, /* Reset touch screen */
- GPIO_EC_EDP_VDD_EN, /* Enable EDP (passthru from PCH) */
- GPIO_LPC_CLKRUN_L, /* Dunno. Probably important, though. */
-
- GPIO_USB1_ENABLE, /* USB port 1 output power enable */
- GPIO_USB2_ENABLE, /* USB port 2 output power enable */
-
- GPIO_PCH_SUSACK_L, /* Acknowledge PCH SUSWARN# signal */
- GPIO_PCH_RTCRST_L, /* Not supposed to be here */
- GPIO_PCH_SRTCRST_L, /* Not supposed to be here */
-
- GPIO_BAT_LED0_L, /* Battery charging LED - blue */
- GPIO_BAT_LED1_L, /* Battery charging LED - orange */
- GPIO_PWR_LED0_L, /* Power LED - blue */
- GPIO_PWR_LED1_L, /* Power LED - orange */
-
- /* Number of GPIOs; not an actual GPIO */
- GPIO_COUNT
-};
+#include "gpio_signal.h"
/* power signal definitions */
enum power_signal {