diff options
author | Robert Chen <robert.chen@quanta.corp-partner.google.com> | 2023-08-24 04:06:40 -0400 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-09-22 18:45:12 +0000 |
commit | aea0c497f92ded76a9fd17d3dfa30d78255db8d7 (patch) | |
tree | cfb4e4f4a1eab278c8d29980babc8178d508ca25 /src/mainboard | |
parent | 242bed2ec5a07377d34d77e402e57e5435f86052 (diff) |
mb/google/nissa/var/quandiso: Update USB port config
1. Support world facing usb camera on usb2_port7.
2. Update MB/DB fw_config to distinguish LTE and non-LTE devices.
BUG=b:296506936
BRANCH=firmware-nissa-15217.B
TEST=emerge-nissa coreboot chromeos-bootimage
Change-Id: I0c508475fdc86f0d7357f19684bdaae06e77fc27
Signed-off-by: Robert Chen <robert.chen@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77398
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/brya/variants/quandiso/overridetree.cb | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/src/mainboard/google/brya/variants/quandiso/overridetree.cb b/src/mainboard/google/brya/variants/quandiso/overridetree.cb index 7023556b92..0b672fff12 100644 --- a/src/mainboard/google/brya/variants/quandiso/overridetree.cb +++ b/src/mainboard/google/brya/variants/quandiso/overridetree.cb @@ -21,7 +21,7 @@ fw_config end field WFC 11 option WFC_ABSENT 0 - option WFC_MIPI_OVTI8856 1 + option WFC_PRESENT 1 end field WIFI_SAR_ID2 16 19 option INTEL_QUANDISO_LTE 0 @@ -87,11 +87,12 @@ chip soc/intel/alderlake register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" - register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # USB2 WWAN + register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # USB2 WWAN + register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Rear Camera register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for PCIe WLAN register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN - register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3 WWAN + register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3 WWAN # Configure external V1P05/Vnn/VnnSx Rails register "ext_fivr_settings" = "{ @@ -478,16 +479,18 @@ chip soc/intel/alderlake device ref usb2_port3 on end end chip drivers/usb/acpi - register "desc" = ""USB2 Type-A Port A1 (MLB)"" + register "desc" = ""USB2 Type-A Port A1 (DB)"" register "type" = "UPC_TYPE_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" - device ref usb2_port4 on end + device ref usb2_port4 on + probe DB_USB DB_1C_1A + end end chip drivers/usb/acpi register "desc" = ""USB2 WWAN"" register "type" = "UPC_TYPE_INTERNAL" - device ref usb2_port5 on + device ref usb2_port4 on probe DB_USB DB_1C_LTE end end @@ -497,6 +500,13 @@ chip soc/intel/alderlake device ref usb2_port6 on end end chip drivers/usb/acpi + register "desc" = ""USB2 WF Camera"" + register "type" = "UPC_TYPE_INTERNAL" + device ref usb2_port7 on + probe WFC WFC_PRESENT + end + end + chip drivers/usb/acpi register "desc" = ""USB2 Bluetooth"" register "type" = "UPC_TYPE_INTERNAL" register "reset_gpio" = @@ -522,12 +532,14 @@ chip soc/intel/alderlake register "type" = "UPC_TYPE_USB3_A" register "use_custom_pld" = "true" register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" - device ref usb3_port2 on end + device ref usb3_port2 on + probe DB_USB DB_1C_1A + end end chip drivers/usb/acpi register "desc" = ""USB3 WWAN"" register "type" = "UPC_TYPE_INTERNAL" - device ref usb3_port3 on + device ref usb3_port2 on probe DB_USB DB_1C_LTE end end |