diff --git a/src/mainboard/google/skyrim/Kconfig b/src/mainboard/google/skyrim/Kconfig index 63584d7c78..ea485891fc 100644 --- a/src/mainboard/google/skyrim/Kconfig +++ b/src/mainboard/google/skyrim/Kconfig @@ -65,6 +65,7 @@ config MAINBOARD_FAMILY config MAINBOARD_PART_NUMBER default "Skyrim" if BOARD_GOOGLE_SKYRIM + default "Winterhold" if BOARD_GOOGLE_WINTERHOLD config OVERRIDE_DEVICETREE string @@ -73,6 +74,7 @@ config OVERRIDE_DEVICETREE config VARIANT_DIR string default "skyrim" if BOARD_GOOGLE_SKYRIM + default "winterhold" if BOARD_GOOGLE_WINTERHOLD config VBOOT select VBOOT_LID_SWITCH diff --git a/src/mainboard/google/skyrim/Kconfig.name b/src/mainboard/google/skyrim/Kconfig.name index a36235c7be..1587058da8 100644 --- a/src/mainboard/google/skyrim/Kconfig.name +++ b/src/mainboard/google/skyrim/Kconfig.name @@ -3,3 +3,7 @@ comment "Skyrim" config BOARD_GOOGLE_SKYRIM bool "-> Skyrim" select BOARD_GOOGLE_BASEBOARD_SKYRIM + +config BOARD_GOOGLE_WINTERHOLD + bool "-> Winterhold" + select BOARD_GOOGLE_BASEBOARD_SKYRIM diff --git a/src/mainboard/google/skyrim/variants/winterhold/include/variant/ec.h b/src/mainboard/google/skyrim/variants/winterhold/include/variant/ec.h new file mode 100644 index 0000000000..9e61a440cf --- /dev/null +++ b/src/mainboard/google/skyrim/variants/winterhold/include/variant/ec.h @@ -0,0 +1,3 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#include diff --git a/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb new file mode 100644 index 0000000000..e0becd4173 --- /dev/null +++ b/src/mainboard/google/skyrim/variants/winterhold/overridetree.cb @@ -0,0 +1,32 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +chip soc/amd/mendocino + + # I2C Config + #+-------------------+----------------------------+ + #| Field | Value | + #+-------------------+----------------------------+ + #| I2C0 | Trackpad | + #| I2C1 | Touchscreen | + #| I2C2 | Speaker, Codec, P-SAR, USB | + #| I2C3 | D2 TPM | + #+-------------------+----------------------------+ + register "i2c[0]" = "{ + .speed = I2C_SPEED_FAST, + }" + + register "i2c[1]" = "{ + .speed = I2C_SPEED_FAST, + }" + + register "i2c[2]" = "{ + .speed = I2C_SPEED_FAST, + }" + + register "i2c[3]" = "{ + .speed = I2C_SPEED_FAST, + .early_init = true, + }" + + device domain 0 on end +end # chip soc/amd/mendocino