From d2e698056e389d5c05b98abb79b0d87411463232 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 2 Apr 2025 08:46:32 +0000 Subject: [PATCH] mb/google/bluey: Set correct Kconfig defaults for peripherals Update the default Kconfig values for the google/bluey mainboard to specify the correct hardware instances/buses used for various peripherals as per bluey schematics (dated 04/15). Changes: - TPM I2C bus set to 0x10. - ChromeEC SPI bus set to 0xb. Removes previous TODO placeholders. BUG=b:404985109 TEST=Successfully built google/bluey with the Qualcomm x1p42100 SoC. Change-Id: I48283e9f5b9dc1d2f203dadbdf6d4e27566f0a83 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/87094 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal --- src/mainboard/google/bluey/Kconfig | 4 ++-- src/mainboard/google/bluey/board.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/google/bluey/Kconfig b/src/mainboard/google/bluey/Kconfig index a22cae6bab..0746970bc5 100644 --- a/src/mainboard/google/bluey/Kconfig +++ b/src/mainboard/google/bluey/Kconfig @@ -49,13 +49,13 @@ config MAINBOARD_PART_NUMBER config DRIVER_TPM_I2C_BUS depends on I2C_TPM hex - default 0x00 # TODO + default 0x10 config DRIVER_TPM_I2C_ADDR default 0x50 config EC_GOOGLE_CHROMEEC_SPI_BUS hex - default 0x0 # TODO + default 0xb endif # BOARD_GOOGLE_BLUEY_COMMON diff --git a/src/mainboard/google/bluey/board.h b/src/mainboard/google/bluey/board.h index e6de22ef48..f7c4f23d91 100644 --- a/src/mainboard/google/bluey/board.h +++ b/src/mainboard/google/bluey/board.h @@ -6,8 +6,8 @@ #include #include -#define GPIO_AP_EC_INT GPIO(0) -#define GPIO_GSC_AP_INT GPIO(0) +#define GPIO_AP_EC_INT GPIO(67) +#define GPIO_GSC_AP_INT GPIO(34) void setup_chromeos_gpios(void);