mb/google/brya/var/volmar: enable RTD3 for PCIe-eMMC bridge

1. Enable RTD3 driver for PCIe-eMMC bridge
2. Add fw_config entries for boot device.

BUG=b:211362308
TEST=Build and boot into eMMC storage

Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com>
Change-Id: Ic9ef372fa963b040c5196aaf13f2ffde27c168d6
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61712
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
David Wu 2022-02-08 17:24:18 +08:00 committed by Tim Wawrzynczak
parent ababf01e0e
commit 110e5ced75
1 changed files with 15 additions and 0 deletions

View File

@ -11,6 +11,14 @@ fw_config
option AUDIO_UNKNOWN 0
option MAX98373_NAU88L25B_I2S 1
end
field BOOT_NVME_MASK 8
option BOOT_NVME_DISABLED 0
option BOOT_NVME_ENABLED 1
end
field BOOT_EMMC_MASK 9
option BOOT_EMMC_DISABLED 0
option BOOT_EMMC_ENABLED 1
end
end
chip soc/intel/alderlake
register "SaGv" = "SaGv_Enabled"
@ -181,6 +189,7 @@ chip soc/intel/alderlake
.clk_src = 0,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
probe BOOT_NVME_MASK BOOT_NVME_ENABLED
end
device ref cnvi_wifi on
chip drivers/wifi/generic
@ -283,12 +292,18 @@ chip soc/intel/alderlake
end
end
device ref pcie_rp3 on
chip soc/intel/common/block/pcie/rtd3
register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B4)"
register "srcclk_pin" = "4"
device generic 0 alias emmc_rtd3 on end
end
# Enable PCIe-to-eMMC bridge PCIE 3 using clk 4
register "pch_pcie_rp[PCH_RP(3)]" = "{
.clk_src = 4,
.clk_req = 4,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
probe BOOT_EMMC_MASK BOOT_EMMC_ENABLED
end #PCIE3 BH799BB
device ref pcie_rp6 off end # PCIE6 WWAN
device ref pcie_rp8 off end # PCIE8 SD card