summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2020-06-28 11:28:46 +0300
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-07-24 23:42:41 +0000
commitd46c023a22e4765de86f5057d6cd02fe9c1f8f6c (patch)
tree92e67f7233735b846be2cb882712cc55aa2fdcc4 /src
parent16fd9d6864e062402729724e3a5f431540c84aa5 (diff)
mb/supermicro/x11-lga1151: Clean up gpio.h
- remove comments (except the GPIO group), because it does not contain useful information that helps to understand the circuit, which we do not have; - remove empty lines between macros; - use a shorter PAD_CFG_GPI_INT() macro instead of PAD_CFG_GPI_TRIG_OWN() to set DRIVER mode. Change-Id: Ia7111341aab6f400da70d936849e4d4c9406905b Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43409 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h458
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h468
2 files changed, 44 insertions, 882 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h
index 3c5b26528b..bbaad7d8c6 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h
+++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssh-tf/include/variant/gpio.h
@@ -6,645 +6,237 @@
#include <soc/gpe.h>
#include <soc/gpio.h>
-/* Pad configuration was generated automatically using intelp2m utility. */
static const struct pad_config gpio_table[] = {
- /* GPP_A0 - RCIN# */
+ /* GPIO Group GPP_A */
PAD_CFG_NF(GPP_A0, NONE, DEEP, NF1),
-
- /* GPP_A1 - LAD0 */
PAD_CFG_NF(GPP_A1, NONE, DEEP, NF1),
-
- /* GPP_A2 - LAD1 */
PAD_CFG_NF(GPP_A2, NONE, DEEP, NF1),
-
- /* GPP_A3 - LAD2 */
PAD_CFG_NF(GPP_A3, NONE, DEEP, NF1),
-
- /* GPP_A4 - LAD3 */
PAD_CFG_NF(GPP_A4, NONE, DEEP, NF1),
-
- /* GPP_A5 - LFRAME# */
PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1),
-
- /* GPP_A6 - SERIRQ */
PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1),
-
- /* GPP_A7 - PIRQA# */
PAD_CFG_NF(GPP_A7, NONE, DEEP, NF1),
-
- /* GPP_A8 - CLKRUN# */
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
-
- /* GPP_A9 - CLKOUT_LPC0 */
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
-
- /* GPP_A10 - CLKOUT_LPC1 */
PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1),
-
- /* GPP_A11 - PME# */
PAD_CFG_NF(GPP_A11, NONE, DEEP, NF1),
-
- /* GPP_A12 - GPIO */
PAD_CFG_GPO(GPP_A12, 1, PLTRST),
-
- /* GPP_A13 - SUSWARN# */
PAD_CFG_NF(GPP_A13, NONE, DEEP, NF1),
-
- /* GPP_A14 - SUS_STAT# */
PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1),
-
- /* GPP_A15 - SUS_ACK# */
PAD_CFG_NF(GPP_A15, NONE, DEEP, NF1),
-
- /* GPP_A16 - CLKOUT_48 */
PAD_CFG_NF(GPP_A16, NONE, DEEP, NF1),
-
- /* GPP_A17 - GPIO */
PAD_NC(GPP_A17, NONE),
-
- /* GPP_A18 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_A18, NONE, PLTRST, OFF, ACPI),
-
+ PAD_CFG_GPI_INT(GPP_A18, NONE, PLTRST, OFF),
/* GPP_A19 - RESERVED */
-
- /* GPP_A20 - GPIO */
PAD_NC(GPP_A20, NONE),
-
- /* GPP_A21 - GPIO */
PAD_NC(GPP_A21, NONE),
-
- /* GPP_A22 - GPIO */
PAD_NC(GPP_A22, NONE),
-
- /* GPP_A23 - GPIO */
PAD_NC(GPP_A23, NONE),
-
- /* GPP_B0 - GPIO */
PAD_CFG_GPO(GPP_B0, 1, DEEP),
-
- /* GPP_B1 - GPIO */
PAD_CFG_GPO(GPP_B1, 1, DEEP),
-
- /* GPP_B2 - GPIO */
PAD_NC(GPP_B2, NONE),
-
- /* GPP_B3 - GPIO */
PAD_NC(GPP_B3, NONE),
-
- /* GPP_B4 - GPIO */
PAD_NC(GPP_B4, NONE),
-
- /* GPP_B5 - GPIO */
PAD_NC(GPP_B5, NONE),
-
- /* GPP_B6 - GPIO */
PAD_NC(GPP_B6, NONE),
-
- /* GPP_B7 - GPIO */
PAD_NC(GPP_B7, NONE),
-
- /* GPP_B8 - GPIO */
PAD_NC(GPP_B8, NONE),
-
- /* GPP_B9 - GPIO */
PAD_NC(GPP_B9, NONE),
-
- /* GPP_B10 - GPIO */
PAD_NC(GPP_B10, NONE),
-
- /* GPP_B11 - GPIO */
PAD_CFG_GPO(GPP_B11, 0, DEEP),
-
- /* GPP_B12 - SLP_S0# */
PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1),
-
- /* GPP_B13 - PLTRST# */
PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1),
-
- /* GPP_B14 - SPKR */
PAD_CFG_NF(GPP_B14, NONE, PLTRST, NF1),
-
- /* GPP_B15 - GPIO */
PAD_NC(GPP_B15, NONE),
-
- /* GPP_B16 - GPIO */
PAD_NC(GPP_B16, NONE),
-
- /* GPP_B17 - GPIO */
PAD_NC(GPP_B17, NONE),
-
- /* GPP_B18 - GPIO */
PAD_NC(GPP_B18, NONE),
-
- /* GPP_B19 - GPIO */
PAD_NC(GPP_B19, NONE),
-
- /* GPP_B20 - GPIO */
PAD_CFG_GPO(GPP_B20, 1, PLTRST),
-
- /* GPP_B21 - GPIO */
PAD_NC(GPP_B21, NONE),
-
- /* GPP_B22 - GPIO */
PAD_NC(GPP_B22, NONE),
-
- /* GPP_B23 - PCHHOT# */
PAD_CFG_NF(GPP_B23, NONE, DEEP, NF2),
+ /* GPIO Group GPP_C */
/* GPP_C0 - RESERVED */
-
/* GPP_C1 - RESERVED */
-
- /* GPP_C2 - GPIO */
PAD_NC(GPP_C2, NONE),
-
/* GPP_C3 - RESERVED */
-
/* GPP_C4 - RESERVED */
-
- /* GPP_C5 - GPIO */
PAD_CFG_GPO(GPP_C5, 1, DEEP),
-
/* GPP_C6 - RESERVED */
-
/* GPP_C7 - RESERVED */
-
- /* GPP_C8 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C8, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_C9 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C9, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_C10 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C10, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_C11 - GPIO */
+ PAD_CFG_GPI_INT(GPP_C8, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_C9, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_C10, NONE, PLTRST, OFF),
PAD_NC(GPP_C11, NONE),
-
- /* GPP_C12 - GPIO */
PAD_NC(GPP_C12, NONE),
-
- /* GPP_C13 - GPIO */
PAD_NC(GPP_C13, NONE),
-
- /* GPP_C14 - GPIO */
PAD_NC(GPP_C14, NONE),
-
- /* GPP_C15 - GPIO */
PAD_NC(GPP_C15, NONE),
-
- /* GPP_C16 - GPIO */
PAD_NC(GPP_C16, NONE),
-
- /* GPP_C17 - GPIO */
PAD_NC(GPP_C17, NONE),
-
- /* GPP_C18 - GPIO */
PAD_NC(GPP_C18, NONE),
-
- /* GPP_C19 - GPIO */
PAD_NC(GPP_C19, NONE),
-
- /* GPP_C20 - GPIO */
PAD_NC(GPP_C20, NONE),
-
- /* GPP_C21 - GPIO */
PAD_NC(GPP_C21, NONE),
-
- /* GPP_C22 - GPIO */
PAD_CFG_GPI_ACPI_SMI(GPP_C22, 20K_PU, DEEP, NONE),
-
- /* GPP_C23 - GPIO */
PAD_NC(GPP_C23, NONE),
- /* GPP_D0 - GPIO */
+ /* GPIO Group GPP_D */
PAD_NC(GPP_D0, NONE),
-
- /* GPP_D1 - GPIO */
PAD_CFG_GPO(GPP_D1, 1, DEEP),
-
- /* GPP_D2 - GPIO */
PAD_CFG_GPI_NMI(GPP_D2, 20K_PU, DEEP, EDGE_SINGLE, NONE),
-
- /* GPP_D3 - GPIO */
PAD_NC(GPP_D3, NONE),
-
- /* GPP_D4 - GPIO */
PAD_CFG_GPO(GPP_D4, 0, PLTRST),
-
- /* GPP_D5 - GPIO */
PAD_NC(GPP_D5, NONE),
-
- /* GPP_D6 - GPIO */
PAD_NC(GPP_D6, NONE),
-
- /* GPP_D7 - GPIO */
PAD_NC(GPP_D7, NONE),
-
- /* GPP_D8 - GPIO */
PAD_NC(GPP_D8, NONE),
-
- /* GPP_D9 - GPIO */
PAD_NC(GPP_D9, NONE),
-
- /* GPP_D10 - GPIO */
PAD_NC(GPP_D10, NONE),
-
- /* GPP_D11 - GPIO */
PAD_NC(GPP_D11, NONE),
-
- /* GPP_D12 - GPIO */
PAD_NC(GPP_D12, NONE),
-
- /* GPP_D13 - GPIO */
PAD_NC(GPP_D13, NONE),
-
- /* GPP_D14 - GPIO */
PAD_NC(GPP_D14, NONE),
-
- /* GPP_D15 - GPIO */
PAD_NC(GPP_D15, NONE),
-
- /* GPP_D16 - GPIO */
PAD_NC(GPP_D16, NONE),
-
- /* GPP_D17 - GPIO */
PAD_NC(GPP_D17, NONE),
-
- /* GPP_D18 - GPIO */
PAD_CFG_GPO(GPP_D18, 1, PLTRST),
-
- /* GPP_D19 - GPIO */
PAD_CFG_GPO(GPP_D19, 1, PLTRST),
-
- /* GPP_D20 - GPIO */
PAD_NC(GPP_D20, NONE),
-
- /* GPP_D21 - GPIO */
PAD_CFG_GPO(GPP_D21, 0, DEEP),
-
- /* GPP_D22 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, RSMRST, OFF, ACPI),
-
- /* GPP_D23 - GPIO */
+ PAD_CFG_GPI_INT(GPP_D22, NONE, RSMRST, OFF),
PAD_NC(GPP_D23, NONE),
- /* GPP_E0 - SATAXPCIE0 */
+ /* GPIO Group GPP_E */
PAD_CFG_NF(GPP_E0, NONE, DEEP, NF1),
-
- /* GPP_E1 - GPIO */
PAD_NC(GPP_E1, NONE),
-
- /* GPP_E2 - GPIO */
PAD_NC(GPP_E2, NONE),
-
- /* GPP_E3 - GPIO */
PAD_NC(GPP_E3, NONE),
-
- /* GPP_E4 - GPIO */
PAD_NC(GPP_E4, NONE),
-
- /* GPP_E5 - GPIO */
PAD_NC(GPP_E5, NONE),
-
- /* GPP_E6 - GPIO */
PAD_CFG_GPI_NMI(GPP_E6, 20K_PU, PLTRST, EDGE_SINGLE, NONE),
-
- /* GPP_E7 - GPIO */
PAD_NC(GPP_E7, NONE),
-
- /* GPP_E8 - SATA_LED# */
PAD_CFG_NF(GPP_E8, NONE, DEEP, NF1),
-
- /* GPP_E9 - USB_OC0# */
PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
-
- /* GPP_E10 - USB_OC1# */
PAD_CFG_NF(GPP_E10, NONE, DEEP, NF1),
-
- /* GPP_E11 - USB_OC2# */
PAD_CFG_NF(GPP_E11, NONE, DEEP, NF1),
-
- /* GPP_E12 - USB_OC3# */
PAD_CFG_NF(GPP_E12, NONE, DEEP, NF1),
- /* GPP_F0 - GPIO */
+ /* GPIO Group GPP_F */
PAD_NC(GPP_F0, NONE),
-
- /* GPP_F1 - GPIO */
PAD_NC(GPP_F1, NONE),
-
- /* GPP_F2 - GPIO */
PAD_NC(GPP_F2, NONE),
-
- /* GPP_F3 - GPIO */
PAD_NC(GPP_F3, NONE),
-
- /* GPP_F4 - GPIO */
PAD_NC(GPP_F4, NONE),
-
- /* GPP_F5 - GPIO */
PAD_CFG_GPI_APIC(GPP_F5, NONE, PLTRST),
-
- /* GPP_F6 - GPIO */
PAD_CFG_GPO(GPP_F6, 1, PLTRST),
-
- /* GPP_F7 - GPIO */
PAD_CFG_GPO(GPP_F7, 1, PLTRST),
-
- /* GPP_F8 - GPIO */
PAD_CFG_GPO(GPP_F8, 1, PLTRST),
-
- /* GPP_F9 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_F9, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_F10 - SATA_SCLOCK */
+ PAD_CFG_GPI_INT(GPP_F9, NONE, PLTRST, OFF),
PAD_CFG_NF(GPP_F10, NONE, DEEP, NF1),
-
- /* GPP_F11 - SATA_SLOAD */
PAD_CFG_NF(GPP_F11, NONE, DEEP, NF1),
-
- /* GPP_F12 - SATA_SDATAOUT1 */
PAD_CFG_NF(GPP_F12, NONE, DEEP, NF1),
-
- /* GPP_F13 - SATA_SDATAOUT2 */
PAD_CFG_NF(GPP_F13, NONE, DEEP, NF1),
-
- /* GPP_F14 - GPIO */
PAD_NC(GPP_F14, NONE),
-
- /* GPP_F15 - USB_OC4# */
PAD_CFG_NF(GPP_F15, NONE, DEEP, NF1),
-
- /* GPP_F16 - USB_OC5# */
PAD_CFG_NF(GPP_F16, NONE, DEEP, NF1),
-
- /* GPP_F17 - GPIO */
PAD_NC(GPP_F17, NONE),
-
- /* GPP_F18 - GPIO */
PAD_NC(GPP_F18, NONE),
-
- /* GPP_F19 - GPIO */
PAD_NC(GPP_F19, NONE),
-
- /* GPP_F20 - GPIO */
PAD_NC(GPP_F20, NONE),
-
- /* GPP_F21 - GPIO */
PAD_NC(GPP_F21, NONE),
-
- /* GPP_F22 - GPIO */
PAD_NC(GPP_F22, NONE),
-
- /* GPP_F23 - GPIO */
PAD_CFG_GPO(GPP_F23, 0, RSMRST),
-
- /* GPP_G0 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G0, NONE, DEEP, OFF, ACPI),
-
- /* GPP_G1 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G1, NONE, DEEP, OFF, ACPI),
-
- /* GPP_G2 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G2, NONE, DEEP, OFF, ACPI),
-
- /* GPP_G3 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G3, NONE, DEEP, OFF, ACPI),
-
- /* GPP_G4 - GPIO */
+ PAD_CFG_GPI_INT(GPP_G0, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G1, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G2, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G3, NONE, DEEP, OFF),
PAD_NC(GPP_G4, NONE),
-
- /* GPP_G5 - GPIO */
PAD_NC(GPP_G5, NONE),
-
- /* GPP_G6 - GPIO */
PAD_NC(GPP_G6, NONE),
-
- /* GPP_G7 - GPIO */
PAD_NC(GPP_G7, NONE),
-
- /* GPP_G8 - GPIO */
PAD_NC(GPP_G8, NONE),
-
- /* GPP_G9 - GPIO */
PAD_NC(GPP_G9, NONE),
-
- /* GPP_G10 - GPIO */
PAD_NC(GPP_G10, NONE),
-
- /* GPP_G11 - GPIO */
PAD_NC(GPP_G11, NONE),
-
- /* GPP_G12 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G12, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_G13 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G13, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_G14 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G14, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_G15 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G15, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_G16 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G16, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_G17 - GPIO */
+ PAD_CFG_GPI_INT(GPP_G12, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G13, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G14, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G15, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G16, NONE, PLTRST, OFF),
PAD_NC(GPP_G17, NONE),
-
- /* GPP_G18 - NMI# */
PAD_CFG_NF(GPP_G18, NONE, DEEP, NF1),
-
- /* GPP_G19 - SMI# */
PAD_CFG_NF(GPP_G19, NONE, DEEP, NF1),
-
- /* GPP_G20 - GPIO */
PAD_NC(GPP_G20, NONE),
-
- /* GPP_G21 - GPIO */
PAD_NC(GPP_G21, NONE),
-
- /* GPP_G22 - GPIO */
PAD_NC(GPP_G22, NONE),
-
- /* GPP_G23 - GPIO */
PAD_NC(GPP_G23, NONE),
-
- /* GPP_H0 - GPIO */
PAD_CFG_GPO(GPP_H0, 1, DEEP),
-
- /* GPP_H1 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_H1, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_H2 - GPIO */
+ PAD_CFG_GPI_INT(GPP_H1, NONE, PLTRST, OFF),
PAD_CFG_GPO(GPP_H2, 1, DEEP),
-
- /* GPP_H3 - SRCCLKREQ9# */
PAD_CFG_NF(GPP_H3, NONE, DEEP, NF1),
-
- /* GPP_H4 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_H4, NONE, PLTRST, OFF, ACPI),
-
- /* GPP_H5 - GPIO */
+ PAD_CFG_GPI_INT(GPP_H4, NONE, PLTRST, OFF),
PAD_CFG_GPO(GPP_H5, 1, PLTRST),
-
- /* GPP_H6 - GPIO */
PAD_CFG_GPO(GPP_H6, 1, PLTRST),
-
- /* GPP_H7 - GPIO */
PAD_CFG_GPO(GPP_H7, 1, PLTRST),
-
- /* GPP_H8 - GPIO */
PAD_CFG_GPO(GPP_H8, 1, PLTRST),
-
- /* GPP_H9 - GPIO */
PAD_CFG_GPO(GPP_H9, 1, PLTRST),
-
- /* GPP_H10 - SML2CLK */
PAD_CFG_NF(GPP_H10, NONE, DEEP, NF1),
-
- /* GPP_H11 - SML2DATA */
PAD_CFG_NF(GPP_H11, NONE, DEEP, NF1),
-
- /* GPP_H12 - GPIO */
PAD_NC(GPP_H12, NONE),
-
- /* GPP_H13 - SML3CLK */
PAD_CFG_NF(GPP_H13, NONE, DEEP, NF1),
-
- /* GPP_H14 - SML3DATA */
PAD_CFG_NF(GPP_H14, NONE, DEEP, NF1),
-
- /* GPP_H15 - GPIO */
PAD_NC(GPP_H15, NONE),
-
- /* GPP_H16 - SML4CLK */
PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1),
-
- /* GPP_H17 - SML4DATA */
PAD_CFG_NF(GPP_H17, NONE, DEEP, NF1),
-
- /* GPP_H18 - GPIO */
PAD_NC(GPP_H18, NONE),
-
- /* GPP_H19 - GPIO */
PAD_CFG_GPO(GPP_H19, 1, PLTRST),
-
- /* GPP_H20 - GPIO */
PAD_CFG_GPO(GPP_H20, 1, PLTRST),
-
- /* GPP_H21 - GPIO */
PAD_CFG_GPO(GPP_H21, 1, PLTRST),
-
- /* GPP_H22 - GPIO */
PAD_CFG_GPO(GPP_H22, 1, PLTRST),
-
- /* GPP_H23 - GPIO */
PAD_CFG_GPO(GPP_H23, 1, PLTRST),
- /* GPD0 - GPIO */
+ /* GPIO Group GPD */
PAD_NC(GPD0, NONE),
-
- /* GPD1 - GPIO */
PAD_NC(GPD1, NONE),
-
- /* GPD2 - LAN_WAKE# */
PAD_CFG_NF(GPD2, NONE, PWROK, NF1),
-
- /* GPD3 - PWRBTN# */
PAD_CFG_NF(GPD3, NONE, PWROK, NF1),
-
- /* GPD4 - SLP_S3# */
PAD_CFG_NF(GPD4, NONE, PWROK, NF1),
-
- /* GPD5 - SLP_S4# */
PAD_CFG_NF(GPD5, NONE, PWROK, NF1),
-
- /* GPD6 - SLP_A# */
PAD_CFG_NF(GPD6, NONE, PWROK, NF1),
-
- /* GPD7 - GPIO */
PAD_NC(GPD7, NONE),
-
- /* GPD8 - SUSCLK */
PAD_CFG_NF(GPD8, NONE, PWROK, NF1),
-
- /* GPD9 - GPIO */
PAD_NC(GPD9, NONE),
-
- /* GPD10 - GPIO */
PAD_NC(GPD10, NONE),
-
- /* GPD11 - GPIO */
PAD_NC(GPD11, NONE),
- /* GPP_I0 - DDPB_HPD0 */
+ /* GPIO Group GPP_I */
PAD_CFG_NF(GPP_I0, NONE, DEEP, NF1),
-
- /* GPP_I1 - DDPC_HPD1 */
PAD_CFG_NF(GPP_I1, NONE, DEEP, NF1),
-
- /* GPP_I2 - DDPD_HPD2 */
PAD_CFG_NF(GPP_I2, NONE, DEEP, NF1),
-
- /* GPP_I3 - DDPE_HPD3 */
PAD_CFG_NF(GPP_I3, NONE, PLTRST, NF1),
-
- /* GPP_I4 - GPIO */
PAD_NC(GPP_I4, NONE),
-
- /* GPP_I5 - DDPB_CTRLCLK */
PAD_CFG_NF(GPP_I5, NONE, DEEP, NF1),
-
- /* GPP_I6 - DDPB_CTRLDATA */
PAD_CFG_NF(GPP_I6, NONE, DEEP, NF1),
-
- /* GPP_I7 - DDPC_CTRLCLK */
PAD_CFG_NF(GPP_I7, NONE, DEEP, NF1),
-
- /* GPP_I8 - DDPC_CTRLDATA */
PAD_CFG_NF(GPP_I8, NONE, DEEP, NF1),
-
- /* GPP_I9 - DDPD_CTRLCLK */
PAD_CFG_NF(GPP_I9, NONE, DEEP, NF1),
-
- /* GPP_I10 - DDPD_CTRLDATA */
PAD_CFG_NF(GPP_I10, NONE, DEEP, NF1),
};
-
/*** XXX TODO XXX */
-/* Early pad configuration in romstage. */
static const struct pad_config early_gpio_table[] = {
- /* LPC */
-
- /* GPP_A1 - LAD0 */
+ /* Early LPC configuration in romstage */
PAD_CFG_NF(GPP_A1, NONE, DEEP, NF1),
-
- /* GPP_A2 - LAD1 */
PAD_CFG_NF(GPP_A2, NONE, DEEP, NF1),
-
- /* GPP_A3 - LAD2 */
PAD_CFG_NF(GPP_A3, NONE, DEEP, NF1),
-
- /* GPP_A4 - LAD3 */
PAD_CFG_NF(GPP_A4, NONE, DEEP, NF1),
-
- /* GPP_A5 - LFRAME# */
PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1),
-
- /* GPP_A6 - SERIRQ */
PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1),
-
- /* GPP_A8 - CLKRUN# */
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
-
- /* GPP_A9 - CLKOUT_LPC0 */
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
-
- /* GPP_A10 - CLKOUT_LPC1 */
PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1),
};
diff --git a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h
index 1236e65ff9..f5e71ad45e 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h
+++ b/src/mainboard/supermicro/x11-lga1151-series/variants/x11ssm-f/include/variant/gpio.h
@@ -6,672 +6,242 @@
#include <soc/gpe.h>
#include <soc/gpio.h>
-/* Pad configuration was generated automatically using intelp2m utility. */
static const struct pad_config gpio_table[] = {
/* GPIO Group GPP_A */
-
- /* GPP_A0 - RCIN# */
PAD_CFG_NF(GPP_A0, NONE, DEEP, NF1),
-
- /* GPP_A1 - LAD0 */
PAD_CFG_NF(GPP_A1, NONE, DEEP, NF1),
-
- /* GPP_A2 - LAD1 */
PAD_CFG_NF(GPP_A2, NONE, DEEP, NF1),
-
- /* GPP_A3 - LAD2 */
PAD_CFG_NF(GPP_A3, NONE, DEEP, NF1),
-
- /* GPP_A4 - LAD3 */
PAD_CFG_NF(GPP_A4, NONE, DEEP, NF1),
-
- /* GPP_A5 - LFRAME# */
PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1),
-
- /* GPP_A6 - SERIRQ */
PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1),
-
- /* GPP_A7 - PIRQA# */
PAD_CFG_NF(GPP_A7, NONE, DEEP, NF1),
-
- /* GPP_A8 - CLKRUN# */
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
-
- /* GPP_A9 - CLKOUT_LPC0 */
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
-
- /* GPP_A10 - CLKOUT_LPC1 */
PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1),
-
- /* GPP_A11 - PME# */
PAD_CFG_NF(GPP_A11, NONE, DEEP, NF1),
-
- /* GPP_A12 - GPIO */
PAD_NC(GPP_A12, NONE),
-
- /* GPP_A13 - SUSWARN#/SUSPWRDNACK */
PAD_CFG_NF(GPP_A13, NONE, DEEP, NF1),
-
- /* GPP_A14 - SUS_STAT# */
PAD_CFG_NF(GPP_A14, NONE, DEEP, NF1),
-
- /* GPP_A15 - SUS_ACK# */
PAD_CFG_NF(GPP_A15, NONE, DEEP, NF1),
-
- /* GPP_A16 - CLKOUT_48 */
PAD_CFG_NF(GPP_A16, NONE, DEEP, NF1),
-
- /* GPP_A17 - GPIO */
PAD_NC(GPP_A17, NONE),
-
- /* GPP_A18 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_A18, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_A19 - ISH_GP1 (RESERVED) */
-
- /* GPP_A20 - GPIO */
+ PAD_CFG_GPI_INT(GPP_A18, NONE, PLTRST, OFF),
+ /* GPP_A19 - RESERVED */
PAD_NC(GPP_A20, NONE),
-
- /* GPP_A21 - GPIO */
PAD_NC(GPP_A21, NONE),
-
- /* GPP_A22 - GPIO */
PAD_NC(GPP_A22, NONE),
-
- /* GPP_A23 - GPIO */
PAD_NC(GPP_A23, NONE),
/* GPIO Group GPP_B */
-
- /* GPP_B0 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_B0, 1, DEEP, NONE),
-
- /* GPP_B1 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_B1, 1, DEEP, NONE),
-
- /* GPP_B2 - GPIO */
PAD_NC(GPP_B2, NONE),
-
- /* GPP_B3 - GPIO */
PAD_NC(GPP_B3, NONE),
-
- /* GPP_B4 - GPIO */
PAD_NC(GPP_B4, NONE),
-
- /* GPP_B5 - GPIO */
PAD_NC(GPP_B5, NONE),
-
- /* GPP_B6 - GPIO */
PAD_NC(GPP_B6, NONE),
-
- /* GPP_B7 - GPIO */
PAD_NC(GPP_B7, NONE),
-
- /* GPP_B8 - GPIO */
PAD_NC(GPP_B8, NONE),
-
- /* GPP_B9 - GPIO */
PAD_NC(GPP_B9, NONE),
-
- /* GPP_B10 - GPIO */
PAD_NC(GPP_B10, NONE),
-
- /* GPP_B11 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_B11, 0, DEEP, NONE),
-
- /* GPP_B12 - SLP_S0# */
PAD_CFG_NF(GPP_B12, NONE, DEEP, NF1),
-
- /* GPP_B13 - PLTRST# */
PAD_CFG_NF(GPP_B13, NONE, DEEP, NF1),
-
- /* GPP_B14 - SPKR */
PAD_CFG_NF(GPP_B14, NONE, PLTRST, NF1),
-
- /* GPP_B15 - GPIO */
PAD_NC(GPP_B15, NONE),
-
- /* GPP_B16 - GPIO */
PAD_NC(GPP_B16, NONE),
-
- /* GPP_B17 - GPIO */
PAD_NC(GPP_B17, NONE),
-
- /* GPP_B18 - GPIO */
PAD_NC(GPP_B18, NONE),
-
- /* GPP_B19 - GPIO */
PAD_NC(GPP_B19, NONE),
-
- /* GPP_B20 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_B20, 1, PLTRST, NONE),
-
- /* GPP_B21 - GPIO */
PAD_NC(GPP_B21, NONE),
-
- /* GPP_B22 - GPIO */
PAD_NC(GPP_B22, NONE),
-
- /* GPP_B23 - PCHHOT# */
PAD_CFG_NF(GPP_B23, NONE, DEEP, NF2),
/* GPIO Group GPP_C */
-
- /* GPP_C0 - SMBCLK (RESERVED) */
// PAD_CFG_NF(GPP_C0, NONE, DEEP, NF1),
-
- /* GPP_C1 - SMBDATA (RESERVED) */
// PAD_CFG_NF(GPP_C1, NONE, DEEP, NF1),
-
- /* GPP_C2 - GPIO */
PAD_NC(GPP_C2, NONE),
-
- /* GPP_C3 - SML0CLK (RESERVED) */
// PAD_CFG_NF(GPP_C3, NONE, DEEP, NF1),
-
- /* GPP_C4 - SML0DATA (RESERVED) */
// PAD_CFG_NF(GPP_C4, NONE, DEEP, NF1),
-
- /* GPP_C5 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_C5, 1, DEEP, NONE),
-
- /* GPP_C6 - SML1CLK (RESERVED) */
// PAD_CFG_NF(GPP_C6, NONE, DEEP, NF1),
-
- /* GPP_C7 - SML1DATA (RESERVED) */
// PAD_CFG_NF(GPP_C7, NONE, DEEP, NF1),
-
- /* GPP_C8 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C8, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_C9 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C9, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_C10 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_C10, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_C11 - GPIO */
+ PAD_CFG_GPI_INT(GPP_C8, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_C9, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_C10, NONE, PLTRST, OFF),
PAD_NC(GPP_C11, NONE),
-
- /* GPP_C12 - GPIO */
PAD_NC(GPP_C12, NONE),
-
- /* GPP_C13 - GPIO */
PAD_NC(GPP_C13, NONE),
-
- /* GPP_C14 - GPIO */
PAD_NC(GPP_C14, NONE),
-
- /* GPP_C15 - GPIO */
PAD_NC(GPP_C15, NONE),
-
- /* GPP_C16 - GPIO */
PAD_NC(GPP_C16, NONE),
-
- /* GPP_C17 - GPIO */
PAD_NC(GPP_C17, NONE),
-
- /* GPP_C18 - GPIO */
PAD_NC(GPP_C18, NONE),
-
- /* GPP_C19 - GPIO */
PAD_NC(GPP_C19, NONE),
-
- /* GPP_C20 - GPIO */
PAD_NC(GPP_C20, NONE),
-
- /* GPP_C21 - GPIO */
PAD_NC(GPP_C21, NONE),
-
- /* GPP_C22 - GPIO */
PAD_CFG_GPI_ACPI_SMI(GPP_C22, 20K_PU, DEEP, NONE),
-
- /* GPP_C23 - GPIO */
PAD_NC(GPP_C23, NONE),
/* GPIO Group GPP_D */
-
- /* GPP_D0 - GPIO */
PAD_NC(GPP_D0, NONE),
-
- /* GPP_D1 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_D1, 1, DEEP, NONE),
-
- /* GPP_D2 - GPIO */
PAD_CFG_GPI_NMI(GPP_D2, 20K_PU, DEEP, EDGE_SINGLE, NONE),
-
- /* GPP_D3 - GPIO */
PAD_NC(GPP_D3, NONE),
-
- /* GPP_D4 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_D4, 0, PLTRST, NONE),
-
- /* GPP_D5 - GPIO */
PAD_NC(GPP_D5, NONE),
-
- /* GPP_D6 - GPIO */
PAD_NC(GPP_D6, NONE),
-
- /* GPP_D7 - GPIO */
PAD_NC(GPP_D7, NONE),
-
- /* GPP_D8 - GPIO */
PAD_NC(GPP_D8, NONE),
-
- /* GPP_D9 - GPIO */
PAD_NC(GPP_D9, NONE),
-
- /* GPP_D10 - GPIO */
PAD_NC(GPP_D10, NONE),
-
- /* GPP_D11 - GPIO */
PAD_NC(GPP_D11, NONE),
-
- /* GPP_D12 - GPIO */
PAD_NC(GPP_D12, NONE),
-
- /* GPP_D13 - GPIO */
PAD_NC(GPP_D13, NONE),
-
- /* GPP_D14 - GPIO */
PAD_NC(GPP_D14, NONE),
-
- /* GPP_D15 - GPIO */
PAD_NC(GPP_D15, NONE),
-
- /* GPP_D16 - GPIO */
PAD_NC(GPP_D16, NONE),
-
- /* GPP_D17 - GPIO */
PAD_NC(GPP_D17, NONE),
-
- /* GPP_D18 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_D18, 1, PLTRST, NONE),
-
- /* GPP_D19 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_D19, 1, PLTRST, NONE),
-
- /* GPP_D20 - GPIO */
PAD_NC(GPP_D20, NONE),
-
- /* GPP_D21 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_D21, 0, DEEP, NONE),
-
- /* GPP_D22 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_D22, NONE, RSMRST, OFF, DRIVER),
-
- /* GPP_D23 - GPIO */
+ PAD_CFG_GPI_INT(GPP_D22, NONE, RSMRST, OFF),
PAD_NC(GPP_D23, NONE),
/* GPIO Group GPP_E */
-
- /* GPP_E0 - GPIO */
PAD_NC(GPP_E0, NONE),
-
- /* GPP_E1 - GPIO */
PAD_NC(GPP_E1, NONE),
-
- /* GPP_E2 - GPIO */
PAD_NC(GPP_E2, NONE),
-
- /* GPP_E3 - GPIO */
PAD_NC(GPP_E3, NONE),
-
- /* GPP_E4 - GPIO */
PAD_NC(GPP_E4, NONE),
-
- /* GPP_E5 - GPIO */
PAD_NC(GPP_E5, NONE),
-
- /* GPP_E6 - GPIO */
PAD_CFG_GPI_NMI(GPP_E6, 20K_PU, PLTRST, EDGE_SINGLE, NONE),
-
- /* GPP_E7 - GPIO */
PAD_NC(GPP_E7, NONE),
-
- /* GPP_E8 - SATA_LED# */
PAD_CFG_NF(GPP_E8, NONE, DEEP, NF1),
-
- /* GPP_E9 - USB_OC0# */
PAD_CFG_NF(GPP_E9, NONE, DEEP, NF1),
-
- /* GPP_E10 - USB_OC1# */
PAD_CFG_NF(GPP_E10, NONE, DEEP, NF1),
-
- /* GPP_E11 - USB_OC2# */
PAD_CFG_NF(GPP_E11, NONE, DEEP, NF1),
-
- /* GPP_E12 - USB_OC3# */
PAD_CFG_NF(GPP_E12, NONE, DEEP, NF1),
/* GPIO Group GPP_F */
-
- /* GPP_F0 - GPIO */
PAD_NC(GPP_F0, NONE),
-
- /* GPP_F1 - GPIO */
PAD_NC(GPP_F1, NONE),
-
- /* GPP_F2 - GPIO */
PAD_NC(GPP_F2, NONE),
-
- /* GPP_F3 - GPIO */
PAD_NC(GPP_F3, NONE),
-
- /* GPP_F4 - GPIO */
PAD_NC(GPP_F4, NONE),
-
- /* GPP_F5 - GPIO */
PAD_CFG_GPI_APIC(GPP_F5, NONE, PLTRST),
-
- /* GPP_F6 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_F6, 1, PLTRST, NONE),
-
- /* GPP_F7 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_F7, 1, PLTRST, NONE),
-
- /* GPP_F8 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_F8, 1, PLTRST, NONE),
-
- /* GPP_F9 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_F9, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_F10 - SATA_SCLOCK */
+ PAD_CFG_GPI_INT(GPP_F9, NONE, PLTRST, OFF),
PAD_CFG_NF(GPP_F10, NONE, DEEP, NF1),
-
- /* GPP_F11 - SATA_SLOAD */
PAD_CFG_NF(GPP_F11, NONE, DEEP, NF1),
-
- /* GPP_F12 - SATA_SDATAOUT1 */
PAD_CFG_NF(GPP_F12, NONE, DEEP, NF1),
-
- /* GPP_F13 - SATA_SDATAOUT2 */
PAD_CFG_NF(GPP_F13, NONE, DEEP, NF1),
-
- /* GPP_F14 - GPIO */
PAD_NC(GPP_F14, NONE),
-
- /* GPP_F15 - USB_OC4# */
PAD_CFG_NF(GPP_F15, NONE, DEEP, NF1),
-
- /* GPP_F16 - USB_OC5# */
PAD_CFG_NF(GPP_F16, NONE, DEEP, NF1),
-
- /* GPP_F17 - GPIO */
PAD_NC(GPP_F17, NONE),
-
- /* GPP_F18 - GPIO */
PAD_NC(GPP_F18, NONE),
-
- /* GPP_F19 - GPIO */
PAD_NC(GPP_F19, NONE),
-
- /* GPP_F20 - GPIO */
PAD_NC(GPP_F20, NONE),
-
- /* GPP_F21 - GPIO */
PAD_NC(GPP_F21, NONE),
-
- /* GPP_F22 - GPIO */
PAD_NC(GPP_F22, NONE),
-
- /* GPP_F23 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_F23, 0, RSMRST, NONE),
/* GPIO Group GPP_G */
-
- /* GPP_G0 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G0, NONE, DEEP, OFF, DRIVER),
-
- /* GPP_G1 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G1, NONE, DEEP, OFF, DRIVER),
-
- /* GPP_G2 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G2, NONE, DEEP, OFF, DRIVER),
-
- /* GPP_G3 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G3, NONE, DEEP, OFF, DRIVER),
-
- /* GPP_G4 - GPIO */
+ PAD_CFG_GPI_INT(GPP_G0, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G1, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G2, NONE, DEEP, OFF),
+ PAD_CFG_GPI_INT(GPP_G3, NONE, DEEP, OFF),
PAD_NC(GPP_G4, NONE),
-
- /* GPP_G5 - GPIO */
PAD_NC(GPP_G5, NONE),
-
- /* GPP_G6 - GPIO */
PAD_NC(GPP_G6, NONE),
-
- /* GPP_G7 - GPIO */
PAD_NC(GPP_G7, NONE),
-
- /* GPP_G8 - GPIO */
PAD_NC(GPP_G8, NONE),
-
- /* GPP_G9 - GPIO */
PAD_NC(GPP_G9, NONE),
-
- /* GPP_G10 - GPIO */
PAD_NC(GPP_G10, NONE),
-
- /* GPP_G11 - GPIO */
PAD_NC(GPP_G11, NONE),
-
- /* GPP_G12 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G12, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_G13 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G13, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_G14 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G14, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_G15 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G15, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_G16 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_G16, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_G17 - GPIO */
+ PAD_CFG_GPI_INT(GPP_G12, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G13, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G14, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G15, NONE, PLTRST, OFF),
+ PAD_CFG_GPI_INT(GPP_G16, NONE, PLTRST, OFF),
PAD_NC(GPP_G17, NONE),
-
- /* GPP_G18 - NMI# */
PAD_CFG_NF(GPP_G18, NONE, DEEP, NF1),
-
- /* GPP_G19 - SMI# */
PAD_CFG_NF(GPP_G19, NONE, DEEP, NF1),
-
- /* GPP_G20 - GPIO */
PAD_NC(GPP_G20, NONE),
-
- /* GPP_G21 - GPIO */
PAD_NC(GPP_G21, NONE),
-
- /* GPP_G22 - GPIO */
PAD_NC(GPP_G22, NONE),
-
- /* GPP_G23 - GPIO */
PAD_NC(GPP_G23, NONE),
/* GPIO Group GPP_H */
-
- /* GPP_H0 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H0, 1, DEEP, NONE),
-
- /* GPP_H1 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_H1, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_H2 - GPIO */
+ PAD_CFG_GPI_INT(GPP_H1, NONE, PLTRST, OFF),
PAD_CFG_GPO_GPIO_DRIVER(GPP_H2, 1, DEEP, NONE),
-
- /* GPP_H3 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H3, 1, DEEP, NONE),
-
- /* GPP_H4 - GPIO */
- PAD_CFG_GPI_TRIG_OWN(GPP_H4, NONE, PLTRST, OFF, DRIVER),
-
- /* GPP_H5 - GPIO */
+ PAD_CFG_GPI_INT(GPP_H4, NONE, PLTRST, OFF),
PAD_CFG_GPO_GPIO_DRIVER(GPP_H5, 1, PLTRST, NONE),
-
- /* GPP_H6 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H6, 1, PLTRST, NONE),
-
- /* GPP_H7 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H7, 1, PLTRST, NONE),
-
- /* GPP_H8 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H8, 1, PLTRST, NONE),
-
- /* GPP_H9 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H9, 1, PLTRST, NONE),
-
- /* GPP_H10 - SML2CLK */
PAD_CFG_NF(GPP_H10, NONE, DEEP, NF1),
-
- /* GPP_H11 - SML2DATA */
PAD_CFG_NF(GPP_H11, NONE, DEEP, NF1),
-
- /* GPP_H12 - GPIO */
PAD_NC(GPP_H12, NONE),
-
- /* GPP_H13 - SML3CLK */
PAD_CFG_NF(GPP_H13, NONE, DEEP, NF1),
-
- /* GPP_H14 - SML3DATA */
PAD_CFG_NF(GPP_H14, NONE, DEEP, NF1),
-
- /* GPP_H15 - GPIO */
PAD_NC(GPP_H15, NONE),
-
- /* GPP_H16 - SML4CLK */
PAD_CFG_NF(GPP_H16, NONE, DEEP, NF1),
-
- /* GPP_H17 - SML4DATA */
PAD_CFG_NF(GPP_H17, NONE, DEEP, NF1),
-
- /* GPP_H18 - GPIO */
PAD_NC(GPP_H18, NONE),
-
- /* GPP_H19 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H19, 1, PLTRST, NONE),
-
- /* GPP_H20 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H20, 1, PLTRST, NONE),
-
- /* GPP_H21 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H21, 1, PLTRST, NONE),
-
- /* GPP_H22 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H22, 1, PLTRST, NONE),
-
- /* GPP_H23 - GPIO */
PAD_CFG_GPO_GPIO_DRIVER(GPP_H23, 1, PLTRST, NONE),
/* GPIO Group GPP_I */
-
- /* GPP_I0 - DDPB_HPD0 */
PAD_CFG_NF(GPP_I0, NONE, DEEP, NF1),
-
- /* GPP_I1 - DDPC_HPD1 */
PAD_CFG_NF(GPP_I1, NONE, DEEP, NF1),
-
- /* GPP_I2 - DDPD_HPD2 */
PAD_CFG_NF(GPP_I2, NONE, DEEP, NF1),
-
- /* GPP_I3 - DDPE_HPD3 */
PAD_CFG_NF(GPP_I3, NONE, PLTRST, NF1),
-
- /* GPP_I4 - GPIO */
PAD_NC(GPP_I4, NONE),
-
- /* GPP_I5 - DDPB_CTRLCLK */
PAD_CFG_NF(GPP_I5, NONE, DEEP, NF1),
-
- /* GPP_I6 - DDPB_CTRLDATA */
PAD_CFG_NF(GPP_I6, NONE, DEEP, NF1),
-
- /* GPP_I7 - DDPC_CTRLCLK */
PAD_CFG_NF(GPP_I7, NONE, DEEP, NF1),
-
- /* GPP_I8 - DDPC_CTRLDATA */
PAD_CFG_NF(GPP_I8, NONE, DEEP, NF1),
-
- /* GPP_I9 - DDPD_CTRLCLK */
PAD_CFG_NF(GPP_I9, NONE, DEEP, NF1),
-
- /* GPP_I10 - DDPD_CTRLDATA */
PAD_CFG_NF(GPP_I10, NONE, DEEP, NF1),
/* GPIO Group GPD */
-
- /* GPD0 - GPIO */
PAD_NC(GPD0, NONE),
-
- /* GPD1 - GPIO */
PAD_NC(GPD1, NONE),
-
- /* GPD2 - LAN_WAKE# */
PAD_CFG_NF(GPD2, NONE, PWROK, NF1),
-
- /* GPD3 - PWRBTN# */
PAD_CFG_NF(GPD3, NONE, PWROK, NF1),
-
- /* GPD4 - SLP_S3# */
PAD_CFG_NF(GPD4, NONE, PWROK, NF1),
-
- /* GPD5 - SLP_S4# */
PAD_CFG_NF(GPD5, NONE, PWROK, NF1),
-
- /* GPD6 - SLP_A# */
PAD_CFG_NF(GPD6, NONE, PWROK, NF1),
-
- /* GPD7 - GPIO */
PAD_NC(GPD7, NONE),
-
- /* GPD8 - SUSCLK */
PAD_CFG_NF(GPD8, NONE, PWROK, NF1),
-
- /* GPD9 - GPIO */
PAD_NC(GPD9, NONE),
-
- /* GPD10 - GPIO */
PAD_NC(GPD10, NONE),
-
- /* GPD11 - GPIO */
PAD_NC(GPD11, NONE),
};
-/* Early pad configuration in romstage. */
static const struct pad_config early_gpio_table[] = {
- /* GPIO Group GPP_A */
- /* LPC */
-
- /* GPP_A1 - LAD0 */
+ /* Early LPC configuration in romstage */
PAD_CFG_NF(GPP_A1, NONE, DEEP, NF1),
-
- /* GPP_A2 - LAD1 */
PAD_CFG_NF(GPP_A2, NONE, DEEP, NF1),
-
- /* GPP_A3 - LAD2 */
PAD_CFG_NF(GPP_A3, NONE, DEEP, NF1),
-
- /* GPP_A4 - LAD3 */
PAD_CFG_NF(GPP_A4, NONE, DEEP, NF1),
-
- /* GPP_A5 - LFRAME# */
PAD_CFG_NF(GPP_A5, NONE, DEEP, NF1),
-
- /* GPP_A8 - CLKRUN# */
PAD_CFG_NF(GPP_A8, NONE, DEEP, NF1),
-
- /* GPP_A9 - CLKOUT_LPC0 */
PAD_CFG_NF(GPP_A9, NONE, DEEP, NF1),
-
- /* GPP_A10 - CLKOUT_LPC1 */
PAD_CFG_NF(GPP_A10, NONE, DEEP, NF1),
-
- /* Serial interrupt */
-
- /* GPP_A6 - SERIRQ */
PAD_CFG_NF(GPP_A6, NONE, DEEP, NF1),
};