diff options
-rw-r--r-- | src/mainboard/google/brya/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/ghost/gpio.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/brya/variants/ghost/overridetree.cb | 18 |
3 files changed, 21 insertions, 2 deletions
diff --git a/src/mainboard/google/brya/Kconfig b/src/mainboard/google/brya/Kconfig index 337f6e63d9..14ca85aab7 100644 --- a/src/mainboard/google/brya/Kconfig +++ b/src/mainboard/google/brya/Kconfig @@ -64,6 +64,7 @@ config BOARD_GOOGLE_BASEBOARD_GHOST def_bool n select BOARD_GOOGLE_BASEBOARD_BRYA if BOARD_GOOGLE_GHOST4ADL select BOARD_GOOGLE_BASEBOARD_SKOLAS if !BOARD_GOOGLE_GHOST4ADL + select DRIVERS_I2C_CS42L42 config BOARD_GOOGLE_BASEBOARD_NISSA def_bool n diff --git a/src/mainboard/google/brya/variants/ghost/gpio.c b/src/mainboard/google/brya/variants/ghost/gpio.c index 96a270d893..a26cc72dea 100644 --- a/src/mainboard/google/brya/variants/ghost/gpio.c +++ b/src/mainboard/google/brya/variants/ghost/gpio.c @@ -45,8 +45,8 @@ static const struct pad_config gpio_table[] = { /* GPP_A6 : GPP_A6 ==> ESPI_ALERT1 configured on reset, do not touch */ /* GPP_A7 : No heuristic was found useful */ PAD_NC(GPP_A7, NONE), - /* GPP_A8 : No heuristic was found useful */ - PAD_NC(GPP_A8, NONE), + /* GPP_A8 : HP_RST_ODL */ + PAD_CFG_GPO(GPP_A8, 1, PLTRST), /* GPP_A9 : GPP_A9 ==> ESPI_PCH_CLK_R configured on reset, do not touch */ /* GPP_A10 : GPP_A10 ==> ESPI_PCH_RST_EC_L configured on reset, do not touch */ /* GPP_A11 : [NF6: USB_C_GPP_A11] ==> EN_SPKR_PA */ diff --git a/src/mainboard/google/brya/variants/ghost/overridetree.cb b/src/mainboard/google/brya/variants/ghost/overridetree.cb index d275553d0b..3d401e1796 100644 --- a/src/mainboard/google/brya/variants/ghost/overridetree.cb +++ b/src/mainboard/google/brya/variants/ghost/overridetree.cb @@ -82,6 +82,24 @@ chip soc/intel/alderlake device generic 0 on end end end + device ref i2c0 on + chip drivers/i2c/cs42l42 + register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)" + register "ts_inv" = "true" + register "ts_dbnc_rise" = "RISE_DEB_1000_MS" + register "ts_dbnc_fall" = "FALL_DEB_0_MS" + register "btn_det_init_dbnce" = "100" + register "btn_det_event_dbnce" = "10" + register "bias_lvls[0]" = "15" + register "bias_lvls[1]" = "8" + register "bias_lvls[2]" = "4" + register "bias_lvls[3]" = "1" + register "hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW" + register "hs_bias_sense_disable" = "true" + device i2c 48 on end + end + end device ref i2c1 on chip drivers/i2c/tpm register "hid" = ""GOOG0005"" |