Robert Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/62771 )
Change subject: mb/google/brya/vell: Add companion device name to WWAN PCIe generic device ......................................................................
mb/google/brya/vell: Add companion device name to WWAN PCIe generic device
This is to merge PCIe ACPI code to WWAN device. Also, PCI and RTD3 devices are add to overridetree.cb where WWAN is present for vell.
BUG=b:224214465 BRANCH=firmware-brya-14505.B TEST=emerge-brya coreboot
Signed-off-by: Robert Chen robert.chen@quanta.corp-partner.google.com Change-Id: If27abcf31ed948899bfaecbe8ef494fe8a80609b --- M src/mainboard/google/brya/variants/vell/overridetree.cb 1 file changed, 30 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/71/62771/1
diff --git a/src/mainboard/google/brya/variants/vell/overridetree.cb b/src/mainboard/google/brya/variants/vell/overridetree.cb index 9250dc6..02a7673 100644 --- a/src/mainboard/google/brya/variants/vell/overridetree.cb +++ b/src/mainboard/google/brya/variants/vell/overridetree.cb @@ -154,6 +154,36 @@ device generic 0 on end end end + device ref pcie_rp6 on + # Enable WWAN PCIE 6 using clk 5 + register "pch_pcie_rp[PCH_RP(6)]" = "{ + .clk_src = 5, + .clk_req = 5, + .flags = PCIE_RP_LTR | PCIE_RP_AER, + }" + chip soc/intel/common/block/pcie/rtd3 + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" + register "reset_off_delay_ms" = "20" + # register "reset_delay_ms" = "1000" + register "srcclk_pin" = "5" + register "ext_pm_support" = "ACPI_PCIE_RP_EMIT_ALL" + register "skip_on_off_support" = "true" + device generic 0 alias rp6_rtd3 on end + end + chip drivers/pcie/generic + register "is_untrusted" = "1" + use rp6_wwan as companion_dev + device pci 0 on end + end + chip drivers/wwan/fm + register "fcpo_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F21)" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E16)" + register "perst_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E0)" + register "wake_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A7)" + use rp6_rtd3 as rtd3dev + device generic 0 alias rp6_wwan on end + end + end device ref pcie_rp8 off end device ref pcie_rp9 off end device ref tcss_dma0 on