summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Lai <eric_lai@quanta.corp-partner.google.com>2023-06-05 13:01:25 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-06-06 03:55:53 +0000
commit12a4f091e74bcee3724ec5a8639683d7667ebd50 (patch)
tree0a3b153ba64e873cd2b0b90a09b3e8dfbe50ec45
parent5b0929f9d7e6ec4339471be365416a1991baae33 (diff)
soc/amd/phoenix: Update USB device alias
Follow 57263_FP8_MBDG_rev_0_92 Table.57 to update the alias. We can match the schematic for now. BUG=b:285793461 TEST=USB still works. Signed-off-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Change-Id: Id1058279fe5b0e3131608a0b9bbd708dbbde7e87 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75615 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Jon Murphy <jpmurphy@google.com> Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
-rw-r--r--src/mainboard/amd/birman/devicetree_phoenix.cb18
-rw-r--r--src/mainboard/amd/mayan/devicetree_phoenix.cb18
-rw-r--r--src/mainboard/google/myst/variants/baseboard/devicetree.cb22
-rw-r--r--src/soc/amd/phoenix/chipset.cb26
4 files changed, 42 insertions, 42 deletions
diff --git a/src/mainboard/amd/birman/devicetree_phoenix.cb b/src/mainboard/amd/birman/devicetree_phoenix.cb
index f1b88a37b5..6cbb36fd24 100644
--- a/src/mainboard/amd/birman/devicetree_phoenix.cb
+++ b/src/mainboard/amd/birman/devicetree_phoenix.cb
@@ -217,25 +217,25 @@ chip soc/amd/phoenix
chip drivers/usb/acpi
device ref xhci_0_root_hub on
chip drivers/usb/acpi
- device ref usb3_port0 on end
+ device ref usb3_port2 on end
end
chip drivers/usb/acpi
- device ref usb3_port1 on end
+ device ref usb3_port3 on end
end
chip drivers/usb/acpi
- device ref usb2_port0 on end
+ device ref usb2_port2 on end
end
chip drivers/usb/acpi
- device ref usb2_port1 on end
+ device ref usb2_port3 on end
end
chip drivers/usb/acpi
- device ref usb2_port2 on end
+ device ref usb2_port4 on end
end
chip drivers/usb/acpi
- device ref usb2_port3 on end
+ device ref usb2_port5 on end
end
chip drivers/usb/acpi
- device ref usb2_port4 on end
+ device ref usb2_port6 on end
end
end
end
@@ -244,10 +244,10 @@ chip soc/amd/phoenix
chip drivers/usb/acpi
device ref xhci_1_root_hub on
chip drivers/usb/acpi
- device ref usb3_port5 on end
+ device ref usb3_port7 on end
end
chip drivers/usb/acpi
- device ref usb2_port5 on end
+ device ref usb2_port7 on end
end
end
end
diff --git a/src/mainboard/amd/mayan/devicetree_phoenix.cb b/src/mainboard/amd/mayan/devicetree_phoenix.cb
index 766aeef0b5..3a6d76cd83 100644
--- a/src/mainboard/amd/mayan/devicetree_phoenix.cb
+++ b/src/mainboard/amd/mayan/devicetree_phoenix.cb
@@ -199,25 +199,25 @@ chip soc/amd/phoenix
chip drivers/usb/acpi
device ref xhci_0_root_hub on
chip drivers/usb/acpi
- device ref usb3_port0 on end
+ device ref usb3_port2 on end
end
chip drivers/usb/acpi
- device ref usb3_port1 on end
+ device ref usb3_port3 on end
end
chip drivers/usb/acpi
- device ref usb2_port0 on end
+ device ref usb2_port2 on end
end
chip drivers/usb/acpi
- device ref usb2_port1 on end
+ device ref usb2_port3 on end
end
chip drivers/usb/acpi
- device ref usb2_port2 on end
+ device ref usb2_port4 on end
end
chip drivers/usb/acpi
- device ref usb2_port3 on end
+ device ref usb2_port5 on end
end
chip drivers/usb/acpi
- device ref usb2_port4 on end
+ device ref usb2_port6 on end
end
end
end
@@ -226,10 +226,10 @@ chip soc/amd/phoenix
chip drivers/usb/acpi
device ref xhci_1_root_hub on
chip drivers/usb/acpi
- device ref usb3_port5 on end
+ device ref usb3_port7 on end
end
chip drivers/usb/acpi
- device ref usb2_port5 on end
+ device ref usb2_port7 on end
end
end
end
diff --git a/src/mainboard/google/myst/variants/baseboard/devicetree.cb b/src/mainboard/google/myst/variants/baseboard/devicetree.cb
index 2b6fa8938d..f53f5b760c 100644
--- a/src/mainboard/google/myst/variants/baseboard/devicetree.cb
+++ b/src/mainboard/google/myst/variants/baseboard/devicetree.cb
@@ -246,7 +246,7 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
- device ref usb3_port0 on end
+ device ref usb3_port2 on end
end
chip drivers/usb/acpi
register "desc" = ""USB3 Type-A Port A1 (DB)""
@@ -254,31 +254,31 @@ chip soc/amd/phoenix
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))"
register "group" = "ACPI_PLD_GROUP(1, 2)"
- device ref usb3_port1 on end
+ device ref usb3_port3 on end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Port A0 (MLB)""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))"
- device ref usb2_port0 on end
+ device ref usb2_port2 on end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-A Port A1 (DB)""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(1, 2))"
- device ref usb2_port1 on end
+ device ref usb2_port3 on end
end
chip drivers/usb/acpi
register "desc" = ""User-Facing Camera""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb2_port2 on end
+ device ref usb2_port4 on end
end
chip drivers/usb/acpi
register "desc" = ""World-Facing Camera""
register "type" = "UPC_TYPE_INTERNAL"
- device ref usb2_port3 on end
+ device ref usb2_port5 on end
end
chip drivers/usb/acpi
register "desc" = ""Bluetooth""
@@ -288,7 +288,7 @@ chip soc/amd/phoenix
register "enable_delay_ms" = "500"
register "enable_off_delay_ms" = "200"
register "use_gpio_for_status" = "true"
- device ref usb2_port4 on end
+ device ref usb2_port6 on end
end
end
end
@@ -306,14 +306,14 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
- device ref usb3_port6 on end
+ device ref usb3_port0 on end
end
chip drivers/usb/acpi
register "desc" = ""USB4 Type-C Port C0 (MLB)""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))"
- device ref usb2_port6 on end
+ device ref usb2_port0 on end
end
end
end
@@ -327,14 +327,14 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(4, 1))"
- device ref usb3_port7 on end
+ device ref usb3_port1 on end
end
chip drivers/usb/acpi
register "desc" = ""USB2 Type-C Port C1 (MLB)""
register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
register "use_custom_pld" = "true"
register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(4, 1))"
- device ref usb2_port7 on end
+ device ref usb2_port1 on end
end
end
end
diff --git a/src/soc/amd/phoenix/chipset.cb b/src/soc/amd/phoenix/chipset.cb
index 97b7ec14fd..65259363d4 100644
--- a/src/soc/amd/phoenix/chipset.cb
+++ b/src/soc/amd/phoenix/chipset.cb
@@ -42,25 +42,25 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias xhci_0_root_hub off
chip drivers/usb/acpi
- device usb 3.0 alias usb3_port0 off end
+ device usb 3.0 alias usb3_port2 off end
end
chip drivers/usb/acpi
- device usb 3.1 alias usb3_port1 off end
+ device usb 3.1 alias usb3_port3 off end
end
chip drivers/usb/acpi
- device usb 2.0 alias usb2_port0 off end
+ device usb 2.0 alias usb2_port2 off end
end
chip drivers/usb/acpi
- device usb 2.1 alias usb2_port1 off end
+ device usb 2.1 alias usb2_port3 off end
end
chip drivers/usb/acpi
- device usb 2.2 alias usb2_port2 off end
+ device usb 2.2 alias usb2_port4 off end
end
chip drivers/usb/acpi
- device usb 2.3 alias usb2_port3 off end
+ device usb 2.3 alias usb2_port5 off end
end
chip drivers/usb/acpi
- device usb 2.4 alias usb2_port4 off end
+ device usb 2.4 alias usb2_port6 off end
end
end
end
@@ -70,10 +70,10 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias xhci_1_root_hub off
chip drivers/usb/acpi
- device usb 3.0 alias usb3_port5 off end
+ device usb 3.0 alias usb3_port7 off end
end
chip drivers/usb/acpi
- device usb 2.0 alias usb2_port5 off end
+ device usb 2.0 alias usb2_port7 off end
end
end
end
@@ -96,10 +96,10 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias usb4_xhci_0_root_hub off
chip drivers/usb/acpi
- device usb 3.0 alias usb3_port6 off end
+ device usb 3.0 alias usb3_port0 off end
end
chip drivers/usb/acpi
- device usb 2.0 alias usb2_port6 off end
+ device usb 2.0 alias usb2_port0 off end
end
end
end
@@ -109,10 +109,10 @@ chip soc/amd/phoenix
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias usb4_xhci_1_root_hub off
chip drivers/usb/acpi
- device usb 3.0 alias usb3_port7 off end
+ device usb 3.0 alias usb3_port1 off end
end
chip drivers/usb/acpi
- device usb 2.0 alias usb2_port7 off end
+ device usb 2.0 alias usb2_port1 off end
end
end
end