soc/intel/apollolake: Add USB port aliases to chipset.cb

Add USB port aliases to chipset_glk.cb and chipset_apl.cb to enable
boards to use device ref syntax for USB devices. Port counts match
hardware specs: GLK has 9 USB2/7 USB3 ports, APL has 8 USB2/7 USB3
ports.

Select 'DRIVERS_USB_ACPI' so that the required USB ACPI drivers are
built and linked for all boards.

Change-Id: Ibc7dd2cbfda8c8eb42b243ea7adcdb6d1fdea98b
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90924
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Matt DeVillier 2026-01-26 11:32:53 -06:00 committed by Sean Rhodes
commit 317d2e43e5
3 changed files with 108 additions and 2 deletions

View file

@ -20,6 +20,7 @@ config SOC_INTEL_APOLLOLAKE
select SOC_INTEL_COMMON_NHLT
# Misc options
select CACHE_MRC_SETTINGS
select DRIVERS_USB_ACPI
select EDK2_CPU_TIMER_LIB if PAYLOAD_EDK2
select FAST_SPI_GENERATE_SSDT
select FSP_PLATFORM_MEMORY_SETTINGS_VERSIONS

View file

@ -22,7 +22,58 @@ chip soc/intel/apollolake
device pci 13.3 alias pcie_rp04 off ops pcie_rp_ops end # PCIE Express Root Port 4
device pci 14.0 alias pcie_rp05 off ops pcie_rp_ops end # PCIE Express Root Port 5
device pci 14.1 alias pcie_rp06 off ops pcie_rp_ops end # PCIE Express Root Port 6
device pci 15.0 alias xhci off ops usb_xhci_ops end # XHCI
device pci 15.0 alias xhci off ops usb_xhci_ops
chip drivers/usb/acpi
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias xhci_root_hub off
chip drivers/usb/acpi
device usb 2.0 alias usb2_port1 off end
end
chip drivers/usb/acpi
device usb 2.1 alias usb2_port2 off end
end
chip drivers/usb/acpi
device usb 2.2 alias usb2_port3 off end
end
chip drivers/usb/acpi
device usb 2.3 alias usb2_port4 off end
end
chip drivers/usb/acpi
device usb 2.4 alias usb2_port5 off end
end
chip drivers/usb/acpi
device usb 2.5 alias usb2_port6 off end
end
chip drivers/usb/acpi
device usb 2.6 alias usb2_port7 off end
end
chip drivers/usb/acpi
device usb 2.7 alias usb2_port8 off end
end
chip drivers/usb/acpi
device usb 3.0 alias usb3_port1 off end
end
chip drivers/usb/acpi
device usb 3.1 alias usb3_port2 off end
end
chip drivers/usb/acpi
device usb 3.2 alias usb3_port3 off end
end
chip drivers/usb/acpi
device usb 3.3 alias usb3_port4 off end
end
chip drivers/usb/acpi
device usb 3.4 alias usb3_port5 off end
end
chip drivers/usb/acpi
device usb 3.5 alias usb3_port6 off end
end
chip drivers/usb/acpi
device usb 3.6 alias usb3_port7 off end
end
end
end
end # XHCI
device pci 15.1 alias xdci off ops usb_xdci_ops end # XDCI
device pci 16.0 alias i2c0 off ops i2c_dev_ops end # I2C0
device pci 16.1 alias i2c1 off ops i2c_dev_ops end # I2C1

View file

@ -23,7 +23,61 @@ chip soc/intel/apollolake
device pci 13.3 alias pcie_rp04 off ops pcie_rp_ops end # PCIE Express Root Port 4
device pci 14.0 alias pcie_rp05 off ops pcie_rp_ops end # PCIE Express Root Port 5
device pci 14.1 alias pcie_rp06 off ops pcie_rp_ops end # PCIE Express Root Port 6
device pci 15.0 alias xhci off ops usb_xhci_ops end # XHCI
device pci 15.0 alias xhci off ops usb_xhci_ops
chip drivers/usb/acpi
register "type" = "UPC_TYPE_HUB"
device usb 0.0 alias xhci_root_hub off
chip drivers/usb/acpi
device usb 2.0 alias usb2_port1 off end
end
chip drivers/usb/acpi
device usb 2.1 alias usb2_port2 off end
end
chip drivers/usb/acpi
device usb 2.2 alias usb2_port3 off end
end
chip drivers/usb/acpi
device usb 2.3 alias usb2_port4 off end
end
chip drivers/usb/acpi
device usb 2.4 alias usb2_port5 off end
end
chip drivers/usb/acpi
device usb 2.5 alias usb2_port6 off end
end
chip drivers/usb/acpi
device usb 2.6 alias usb2_port7 off end
end
chip drivers/usb/acpi
device usb 2.7 alias usb2_port8 off end
end
chip drivers/usb/acpi
device usb 2.8 alias usb2_port9 off end
end
chip drivers/usb/acpi
device usb 3.0 alias usb3_port1 off end
end
chip drivers/usb/acpi
device usb 3.1 alias usb3_port2 off end
end
chip drivers/usb/acpi
device usb 3.2 alias usb3_port3 off end
end
chip drivers/usb/acpi
device usb 3.3 alias usb3_port4 off end
end
chip drivers/usb/acpi
device usb 3.4 alias usb3_port5 off end
end
chip drivers/usb/acpi
device usb 3.5 alias usb3_port6 off end
end
chip drivers/usb/acpi
device usb 3.6 alias usb3_port7 off end
end
end
end
end # XHCI
device pci 15.1 alias xdci off ops usb_xdci_ops end # XDCI
device pci 16.0 alias i2c0 off ops i2c_dev_ops end # I2C0
device pci 16.1 alias i2c1 off ops i2c_dev_ops end # I2C1