summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/starbook/variants
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2024-07-23 20:48:44 +0100
committerFelix Held <felix-coreboot@felixheld.de>2024-08-06 17:16:33 +0000
commit31afd9afe9d438326e4b62342fb134fc0d90ce7e (patch)
tree06e0a2dc5b2f06551eb0be3c6a68ef785422adf6 /src/mainboard/starlabs/starbook/variants
parent84101434c0aae2562bab0231877f166a58ab2b95 (diff)
mb/starlabs/starbook/rpl: Add USB ACPI to devicetree
Use the USB ACPI to add entries for the USB and TCSS ports. Change-Id: Iab8b6e03c8c05e459fb354bc008109c873a4846f Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83623 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/starbook/variants')
-rw-r--r--src/mainboard/starlabs/starbook/variants/rpl/devicetree.cb62
1 files changed, 61 insertions, 1 deletions
diff --git a/src/mainboard/starlabs/starbook/variants/rpl/devicetree.cb b/src/mainboard/starlabs/starbook/variants/rpl/devicetree.cb
index c3930196c2..989035c2ef 100644
--- a/src/mainboard/starlabs/starbook/variants/rpl/devicetree.cb
+++ b/src/mainboard/starlabs/starbook/variants/rpl/devicetree.cb
@@ -54,7 +54,17 @@ chip soc/intel/alderlake
end
end
device ref tbt_pcie_rp0 on end
- device ref tcss_xhci on end
+ device ref tcss_xhci on
+ chip drivers/usb/acpi
+ device ref tcss_root_hub on
+ chip drivers/usb/acpi
+ register "desc" = ""USB Type-C""
+ register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
+ device ref tcss_usb3_port1 on end
+ end
+ end
+ end
+ end
device ref tcss_dma0 on
chip drivers/intel/usb4/retimer
register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
@@ -87,6 +97,56 @@ chip soc/intel/alderlake
# Internal Bluetooth
register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)"
+ chip drivers/usb/acpi
+ device ref xhci_root_hub on
+ chip drivers/usb/acpi
+ register "desc" = ""USB Type-C""
+ register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
+ device ref usb2_port1 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Left USB Type-A""
+ register "type" = "UPC_TYPE_USB3_A"
+ device ref usb2_port3 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Left USB Type-A""
+ register "type" = "UPC_TYPE_USB3_A"
+ device ref usb3_port1 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Right USB Type-A""
+ register "type" = "UPC_TYPE_USB3_A"
+ device ref usb2_port7 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Right USB Type-A""
+ register "type" = "UPC_TYPE_USB3_A"
+ device ref usb3_port2 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Internal Webcam""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device ref usb2_port5 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Fingerprint Reader""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device ref usb2_port6 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""MicroSD Card Reader""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device ref usb2_port4 on end
+ end
+ chip drivers/usb/acpi
+ register "desc" = ""Internal Bluetooth""
+ register "type" = "UPC_TYPE_INTERNAL"
+ device ref usb2_port10 on end
+ end
+ end
+ end
+
end
device ref i2c0 on
chip drivers/i2c/hid