summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-05-25 17:49:11 +0000
committerFelix Held <felix-coreboot@felixheld.de>2024-05-28 13:17:08 +0000
commite75148cd13e68338f7323c932f512a01e59ef6b7 (patch)
tree7cff4c7bd0f45f3eb05acaf2d80195039cf97713 /src/mainboard/google/brya
parentfab5482a1f0c91238283cb7c62aad0a89e1bb4ac (diff)
mb/google/trulo: Mark unused USB ports as empty
This patch marks unused USB ports (USB2.0/TCSS) empty to avoid prompting wrong dmesg as below. ``` usb usb2-port3: Cannot enable. Maybe the USB cable is bad? ``` Trulo variants to override the USB ports as per the target board design. TEST=Able to build google/trulo. Change-Id: I6240e66ed3d1a7198c1a526fdca2483910157235 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82651 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/trulo/devicetree.cb34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/trulo/devicetree.cb b/src/mainboard/google/brya/variants/baseboard/trulo/devicetree.cb
index 7f6a091999..3e77896fdd 100644
--- a/src/mainboard/google/brya/variants/baseboard/trulo/devicetree.cb
+++ b/src/mainboard/google/brya/variants/baseboard/trulo/devicetree.cb
@@ -6,6 +6,40 @@ chip soc/intel/alderlake
# EC memory map range is 0x900-0x9ff
register "gen3_dec" = "0x00fc0901"
+ register "usb2_ports[0]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 0
+ register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 1
+ register "usb2_ports[2]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 2
+ register "usb2_ports[3]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 3
+ register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 4
+ register "usb2_ports[5]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 5
+ register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 6
+ register "usb2_ports[7]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 7
+ register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 8
+ register "usb2_ports[9]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 9
+ register "usb2_ports[10]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 10
+ register "usb2_ports[11]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 11
+ register "usb2_ports[12]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 12
+ register "usb2_ports[13]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 13
+ register "usb2_ports[14]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 14
+ register "usb2_ports[15]" = "USB2_PORT_EMPTY" # Disable USB2.0 Port 15
+
+ register "usb3_ports[0]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 0
+ register "usb3_ports[1]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 2
+ register "usb3_ports[2]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 3
+ register "usb3_ports[3]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 4
+ register "usb3_ports[4]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 5
+ register "usb3_ports[5]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 6
+ register "usb3_ports[6]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 7
+ register "usb3_ports[7]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 8
+ register "usb3_ports[8]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 9
+ register "usb3_ports[9]" = "USB3_PORT_EMPTY" # Disable USB3.0 Port 10
+
+ register "tcss_ports[0]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 0
+ register "tcss_ports[1]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 1
+ register "tcss_ports[2]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 2
+ register "tcss_ports[3]" = "TCSS_PORT_EMPTY" # Disable USB-C Port 3
+
+
device domain 0 on
end
end