From 23f97be6102e121903b8e356be8e61dc139d979a Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 25 Jan 2026 16:31:26 -0600 Subject: [PATCH] soc/intel/jasperlake: Add initial chipset.cb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Similar to other Intel SoCs, create a chipset.cb for Jasperlake giving alias names to all known PCI devices. Taken from comments in existing JSL board devicetrees, cross-referenced against the publicly available JSL EDS. At the same time, remove the usb2_lte device aliases in the BOTEN and DRAWCIA dedede variants, and replace their references with the new usb2_port4 alias, since we can only have a single alias per device. TEST=build boten and drawcia dedede variants Change-Id: I32552dbe0ab5305ea44b5e89432603884cf6589f Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/90899 Tested-by: build bot (Jenkins) Reviewed-by: Jérémy Compostella Reviewed-by: Sean Rhodes Reviewed-by: Jakub "Kuba" Czapiga --- .../dedede/variants/boten/overridetree.cb | 2 +- .../dedede/variants/drawcia/overridetree.cb | 2 +- .../google/dedede/variants/drawcia/ramstage.c | 2 +- src/soc/intel/jasperlake/Kconfig | 4 + src/soc/intel/jasperlake/chipset.cb | 100 ++++++++++++++++++ 5 files changed, 107 insertions(+), 3 deletions(-) create mode 100644 src/soc/intel/jasperlake/chipset.cb diff --git a/src/mainboard/google/dedede/variants/boten/overridetree.cb b/src/mainboard/google/dedede/variants/boten/overridetree.cb index 56b2d935bc..a1c33fa809 100644 --- a/src/mainboard/google/dedede/variants/boten/overridetree.cb +++ b/src/mainboard/google/dedede/variants/boten/overridetree.cb @@ -156,7 +156,7 @@ chip soc/intel/jasperlake register "reset_off_delay_ms" = "10" register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)" register "enable_delay_ms" = "20" - device usb 2.3 alias usb2_lte on end + device usb 2.3 on end end chip drivers/usb/acpi register "desc" = ""UFCamera"" diff --git a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb index 3ba688fb67..12e45d9308 100644 --- a/src/mainboard/google/dedede/variants/drawcia/overridetree.cb +++ b/src/mainboard/google/dedede/variants/drawcia/overridetree.cb @@ -163,7 +163,7 @@ chip soc/intel/jasperlake register "reset_off_delay_ms" = "20" register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)" register "enable_delay_ms" = "20" - device usb 2.3 alias lte_usb2 on + device usb 2.3 on probe DB_PORTS DB_PORTS_1A_HDMI_LTE end end diff --git a/src/mainboard/google/dedede/variants/drawcia/ramstage.c b/src/mainboard/google/dedede/variants/drawcia/ramstage.c index be1b253219..543d7457a8 100644 --- a/src/mainboard/google/dedede/variants/drawcia/ramstage.c +++ b/src/mainboard/google/dedede/variants/drawcia/ramstage.c @@ -18,7 +18,7 @@ static void ext_vr_update(void) static void update_lte_device_drawcia(void) { - struct device *lte_usb2 = DEV_PTR(lte_usb2); + struct device *lte_usb2 = DEV_PTR(usb2_port4); struct drivers_usb_acpi_config *config; struct acpi_gpio lte_reset_gpio = ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H0); diff --git a/src/soc/intel/jasperlake/Kconfig b/src/soc/intel/jasperlake/Kconfig index 727e9609ce..e80028ae80 100644 --- a/src/soc/intel/jasperlake/Kconfig +++ b/src/soc/intel/jasperlake/Kconfig @@ -105,6 +105,10 @@ config IFD_CHIPSET string default "jsl" +config CHIPSET_DEVICETREE + string + default "soc/intel/jasperlake/chipset.cb" + config IED_REGION_SIZE hex default 0x400000 diff --git a/src/soc/intel/jasperlake/chipset.cb b/src/soc/intel/jasperlake/chipset.cb new file mode 100644 index 0000000000..f713d22595 --- /dev/null +++ b/src/soc/intel/jasperlake/chipset.cb @@ -0,0 +1,100 @@ +chip soc/intel/jasperlake + + device cpu_cluster 0 on end + + device domain 0 on + device pci 00.0 alias system_agent on end + device pci 02.0 alias igpu off end + device pci 04.0 alias dptf off end + device pci 05.0 alias ipu off end + device pci 08.0 alias gna off end + device pci 09.0 alias north_tracehub off end + device pci 12.0 alias ish off end + device pci 12.5 alias ufs_scs off end + device pci 12.6 alias gspi2 off end + device pci 14.0 alias south_xhci off + 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 + end + end + end + device pci 14.1 alias south_xdci off end + device pci 14.2 alias shared_ram off end + device pci 14.3 alias cnvi_wifi off end + device pci 14.5 alias sdxc off end + device pci 15.0 alias i2c0 off end + device pci 15.1 alias i2c1 off end + device pci 15.2 alias i2c2 off end + device pci 15.3 alias i2c3 off end + device pci 16.0 alias heci1 off end + device pci 16.1 alias heci2 off end + device pci 16.4 alias heci3 off end + device pci 17.0 alias sata off end + device pci 19.0 alias i2c4 off end + device pci 19.1 alias i2c5 off end + device pci 19.2 alias uart2 off end + device pci 1a.0 alias emmc off end + device pci 1c.0 alias pcie_rp1 off end + device pci 1c.1 alias pcie_rp2 off end + device pci 1c.2 alias pcie_rp3 off end + device pci 1c.3 alias pcie_rp4 off end + device pci 1c.4 alias pcie_rp5 off end + device pci 1c.5 alias pcie_rp6 off end + device pci 1c.6 alias pcie_rp7 off end + device pci 1c.7 alias pcie_rp8 off end + device pci 1e.0 alias uart0 off end + device pci 1e.1 alias uart1 off end + device pci 1e.2 alias gspi0 off end + device pci 1e.3 alias gspi1 off end + device pci 1f.0 alias pch_espi on end + device pci 1f.1 alias p2sb hidden end + device pci 1f.2 alias pmc hidden end + device pci 1f.3 alias hda off end + device pci 1f.4 alias smbus off end + device pci 1f.5 alias fast_spi on end + device pci 1f.7 alias south_tracehub off end + end +end