summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_14/devicetree.cb2
-rw-r--r--src/mainboard/purism/librem_cnl/variants/librem_14/gpio.c13
2 files changed, 5 insertions, 10 deletions
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_14/devicetree.cb b/src/mainboard/purism/librem_cnl/variants/librem_14/devicetree.cb
index 375aa5dfcc..f61eb2b60a 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_14/devicetree.cb
+++ b/src/mainboard/purism/librem_cnl/variants/librem_14/devicetree.cb
@@ -185,7 +185,7 @@ chip soc/intel/cannonlake
register "generic.hid" = ""HTIX5288""
register "generic.name" = ""TPD0""
register "generic.uid" = "1"
- register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B20_IRQ)"
+ register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
register "hid_desc_reg_offset" = "0x20"
device i2c 2c on end
end
diff --git a/src/mainboard/purism/librem_cnl/variants/librem_14/gpio.c b/src/mainboard/purism/librem_cnl/variants/librem_14/gpio.c
index 49c6b8a767..df8332e158 100644
--- a/src/mainboard/purism/librem_cnl/variants/librem_14/gpio.c
+++ b/src/mainboard/purism/librem_cnl/variants/librem_14/gpio.c
@@ -90,8 +90,8 @@ static const struct pad_config gpio_table[] = {
/* GPP_B2 - VRALERT# */
PAD_CFG_NF(GPP_B2, NONE, PLTRST, NF1),
- /* GPP_B3 - NC */
- PAD_NC(GPP_B3, NONE),
+ /* GPP_B3 - TP_INT# */
+ PAD_CFG_GPI_APIC_LOW(GPP_B3, NONE, PLTRST),
/* GPP_B4 - NC */
PAD_NC(GPP_B4, UP_20K),
@@ -141,13 +141,8 @@ static const struct pad_config gpio_table[] = {
/* GPP_B19 - USB3_P1_PWREN */
PAD_CFG_GPO(GPP_B19, 1, PLTRST),
- /* GPP_B20 - TP_INT#
- *
- * Due to interrupts failing to trigger when correctly configured
- * active-low as PAD_CFG_GPI_APIC_LOW(GPP_B20, NONE, PLTRST),
- * must configure instead as active-high:
- */
- PAD_CFG_GPI_TRIG_OWN(GPP_B20, NONE, PLTRST, LEVEL, ACPI),
+ /* GPP_B20 - NC */
+ PAD_NC(GPP_B20, NONE),
/* GPP_B21 - NC */
PAD_NC(GPP_B21, UP_20K),