summaryrefslogtreecommitdiff
path: root/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
diff options
context:
space:
mode:
authorKevin Chiu <kevin.chiu.17802@gmail.com>2021-06-04 15:58:40 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-07-01 09:41:12 +0000
commit58ff2acb7e1c5f49fef17eb782306ae610384314 (patch)
tree56c26ab51b0c1039d5a93c09b506f45353af9b9a /src/mainboard/google/dedede/variants/drawcia/overridetree.cb
parent856b579fe55696147ab3361e51a042efc4302518 (diff)
mb/google/dedede/var/drawcia: Add LTE modem support for drawper
Add LTE modem to devicetree. Configure GPIO control for LTE modem by fw_config. Update LTE USB port configuration at run-time after probing FW_CONFIG. By default the concerned USB port takes the Type-A port configuration. BUG=b:186393848 TEST=Build image and check with command modem status Change-Id: I20450ae37e5047dba67211316515994bd2a09600 Signed-off-by: Tony Huang <tony-huang@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55181 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/variants/drawcia/overridetree.cb')
-rw-r--r--src/mainboard/google/dedede/variants/drawcia/overridetree.cb20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
index 852af67461..175ed2211e 100644
--- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
+++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb
@@ -144,10 +144,30 @@ chip soc/intel/jasperlake
chip drivers/usb/acpi
device usb 0.0 on
chip drivers/usb/acpi
+ register "desc" = ""Multi-use Port""
+ register "type" = "UPC_TYPE_A"
+ register "group" = "ACPI_PLD_GROUP(2, 2)"
+ device usb 2.3 on
+ probe DB_PORTS DB_PORTS_1A_HDMI
+ probe DB_PORTS DB_PORTS_1C_1A
+ probe DB_PORTS DB_PORTS_1A_HDMI_LTE
+ end
+ end
+ chip drivers/usb/acpi
register "desc" = ""Camera""
register "type" = "UPC_TYPE_INTERNAL"
device usb 2.5 on end
end
+ chip drivers/usb/acpi
+ register "desc" = ""Multi-use Port""
+ register "type" = "UPC_TYPE_USB3_A"
+ register "group" = "ACPI_PLD_GROUP(2, 2)"
+ device usb 3.3 on
+ probe DB_PORTS DB_PORTS_1A_HDMI
+ probe DB_PORTS DB_PORTS_1C_1A
+ probe DB_PORTS DB_PORTS_1A_HDMI_LTE
+ end
+ end
end
end
end # USB xHCI