Re-enable UART on galp5, default to disabled NVIDIA GPU
Change-Id: I7dffdce4d213f083f1742695943fcff0c4859e80
This commit is contained in:
@@ -7,5 +7,5 @@
|
||||
|
||||
void bootblock_mainboard_init(void) {
|
||||
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
|
||||
dgpu_power_enable(1);
|
||||
dgpu_power_enable(0);
|
||||
}
|
||||
|
@@ -280,6 +280,10 @@ chip soc/intel/tigerlake
|
||||
#TODO Disable ME and HECI
|
||||
register "HeciEnabled" = "1"
|
||||
end
|
||||
device ref uart2 on
|
||||
# Debug console
|
||||
register "SerialIoUartMode[PchSerialIoIndexUART2]" = "PchSerialIoPci"
|
||||
end
|
||||
device ref pcie_rp5 on
|
||||
# PCIe root port #5 x4, Clock 2 (NVIDIA GPU)
|
||||
register "PcieRpEnable[4]" = "1"
|
||||
|
@@ -14,6 +14,10 @@
|
||||
|
||||
/* Pad configuration in romstage. */
|
||||
static const struct pad_config early_gpio_table[] = {
|
||||
// UART2_RXD
|
||||
PAD_CFG_NF(GPP_C20, UP_20K, DEEP, NF1),
|
||||
// UART2_TXD
|
||||
PAD_CFG_NF(GPP_C21, UP_20K, DEEP, NF1),
|
||||
// DGPU_RST#_PCH
|
||||
PAD_CFG_TERM_GPO(GPP_U4, 0, NONE, DEEP),
|
||||
// DGPU_PWR_EN
|
||||
@@ -183,9 +187,9 @@ static const struct pad_config gpio_table[] = {
|
||||
// PCH_I2C_SCL
|
||||
PAD_CFG_NF(GPP_C19, NONE, DEEP, NF1),
|
||||
// UART2_RXD
|
||||
PAD_NC(GPP_C20, NONE),
|
||||
PAD_CFG_NF(GPP_C20, UP_20K, DEEP, NF1),
|
||||
// UART2_TXD
|
||||
PAD_NC(GPP_C21, NONE),
|
||||
PAD_CFG_NF(GPP_C21, UP_20K, DEEP, NF1),
|
||||
// LAN_PLT_RST#
|
||||
PAD_CFG_TERM_GPO(GPP_C22, 1, NONE, PLTRST),
|
||||
// PCH_GPP_C23 - 4.7k pull-down
|
||||
|
Reference in New Issue
Block a user