summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brox
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/brox')
-rw-r--r--src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb20
-rw-r--r--src/mainboard/google/brox/variants/baseboard/brox/gpio.c2
2 files changed, 21 insertions, 1 deletions
diff --git a/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb b/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb
index be31df6837..8ea21b0dcc 100644
--- a/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb
+++ b/src/mainboard/google/brox/variants/baseboard/brox/devicetree.cb
@@ -168,6 +168,26 @@ chip soc/intel/alderlake
device i2c 0x15 on end
end
end #I2C0
+ device ref i2c1 on
+ chip drivers/i2c/hid
+ register "generic.hid" = ""WACOM4A0D""
+ register "generic.desc" = ""BOE Touchscreen""
+ register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F18_IRQ)"
+ register "generic.detect" = "1"
+ register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F17)"
+ register "generic.reset_delay_ms" = "100"
+ register "generic.reset_off_delay_ms" = "10"
+ register "generic.enable_gpio" =
+ "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_F7)"
+ register "generic.enable_delay_ms" = "6"
+ register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F16)"
+ register "generic.stop_off_delay_ms" = "100"
+ register "generic.has_power_resource" = "1"
+ register "hid_desc_reg_offset" = "0x01"
+ device i2c 0x0A on
+ end
+ end
+ end
device ref i2c4 on
chip drivers/i2c/tpm
register "hid" = ""GOOG0005""
diff --git a/src/mainboard/google/brox/variants/baseboard/brox/gpio.c b/src/mainboard/google/brox/variants/baseboard/brox/gpio.c
index da70da15d1..5432bd1143 100644
--- a/src/mainboard/google/brox/variants/baseboard/brox/gpio.c
+++ b/src/mainboard/google/brox/variants/baseboard/brox/gpio.c
@@ -244,7 +244,7 @@ static const struct pad_config gpio_table[] = {
/* GPP_F6 : [NF1: CNV_PA_BLANKING NF6: USB_C_GPP_F6] ==> SOC_GPP_F6 (NC)*/
PAD_NC(GPP_F6, NONE),
/* GPP_F7 : [NF6: USB_C_GPP_F7] ==> EN_PP3300_TCHSCR */
- PAD_CFG_GPO(GPP_F7, 0, PLTRST),
+ PAD_CFG_GPO(GPP_F7, 1, PLTRST),
/* GPP_F9 : [NF1: BOOTMPC NF6: USB_C_GPP_F9] ==> SSD_PERST_L */
PAD_CFG_GPO(GPP_F9, 1, DEEP),
/* GPP_F10 : GPP_F10 ==> GPP_F10_STRAP (NC) */