mb/google/nissa/var/sundance: Add FW_CONFIG probe for WWAN devices
Add FW_CONFIG probe based on sundance boxster of below devices:
WWAN
Schematic version: NEC_SHIKIBU_ADL_N_MB_EVT_20240330
BUG=b:332978681
TEST=Boot to OS and verify the WWAN devices is set based on
fw_config.
Change-Id: I14339201d8ee21c85fefa96a49323e0c25cb8eca
Signed-off-by: Leo Chou <leo.chou@lcfc.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83041
Reviewed-by: Eric Lai <ericllai@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/mainboard/google/brya/variants/sundance/overridetree.cb b/src/mainboard/google/brya/variants/sundance/overridetree.cb
index b4c7b5e..2c4a63d 100644
--- a/src/mainboard/google/brya/variants/sundance/overridetree.cb
+++ b/src/mainboard/google/brya/variants/sundance/overridetree.cb
@@ -1,3 +1,10 @@
+fw_config
+ field WWAN 3 4
+ option LTE_ABSENT 0
+ option LTE_PRESENT 1
+ end
+end
+
chip soc/intel/alderlake
# Acoustic settings
register "acoustic_noise_mitigation" = "1"
@@ -275,7 +282,9 @@
chip drivers/usb/acpi
register "desc" = ""USB2 WWAN""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb2_port5 on end
+ device ref usb2_port5 on
+ probe WWAN LTE_PRESENT
+ end
end
chip drivers/usb/acpi
register "desc" = ""USB2 UFC""
@@ -304,7 +313,9 @@
chip drivers/usb/acpi
register "desc" = ""USB3 WWAN""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb3_port3 on end
+ device ref usb3_port3 on
+ probe WWAN LTE_PRESENT
+ end
end
end
end