Eric Lai has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75819?usp=email )
Change subject: mb/google/myst: Update WWAN usb entry ......................................................................
mb/google/myst: Update WWAN usb entry
USB3 is used for both typeA and WWAN based on different DB.
BUG=b:287159026 TEST=change FW config and check typeA and WWAN can work.
Signed-off-by: Eric Lai eric_lai@quanta.corp-partner.google.com Change-Id: I5ad3973a9519350794a661ad00f71c0eb34edfba --- M src/mainboard/google/myst/variants/baseboard/devicetree.cb 1 file changed, 16 insertions(+), 20 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/75819/1
diff --git a/src/mainboard/google/myst/variants/baseboard/devicetree.cb b/src/mainboard/google/myst/variants/baseboard/devicetree.cb index 01a4389..173cc26 100644 --- a/src/mainboard/google/myst/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/myst/variants/baseboard/devicetree.cb @@ -254,7 +254,21 @@ register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))" register "group" = "ACPI_PLD_GROUP(1, 2)" - device ref usb3_port3 on end + device ref usb3_port3 on + probe DAUGHTERBOARD DB_B + end + end + chip drivers/usb/acpi + register "desc" = ""USB3 WWAN"" + register "type" = "UPC_TYPE_INTERNAL" + register "has_power_resource" = "1" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_6)" + register "enable_delay_ms" = "20" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_11)" + register "reset_off_delay_ms" = "20" + device ref usb3_port3 on + probe WWAN WWAN_FM101GL + end end chip drivers/usb/acpi register "desc" = ""USB2 Type-A Port A0 (MLB)"" @@ -293,25 +307,7 @@ end end end - device ref xhci_1 on - chip drivers/usb/acpi - register "type" = "UPC_TYPE_HUB" - device ref xhci_1_root_hub on - chip drivers/usb/acpi - register "desc" = ""USB3 WWAN"" - register "type" = "UPC_TYPE_INTERNAL" - register "has_power_resource" = "1" - register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_6)" - register "enable_delay_ms" = "20" - register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_11)" - register "reset_off_delay_ms" = "20" - device ref usb3_port7 on - probe WWAN WWAN_FM101GL - end - end - end - end - end + device ref xhci_1 on end device ref acp on end # Audio Processor (ACP) device ref mp2 on end # Sensor Fusion Hub (MP2) end