mb/google/brya/var/*: Set dGPU/LAN/WLAN device type to generic

Change the dGPU/LAN/WiFi device types from PCI to generic, so that the
bogus PCI device and function values don't end up in coreboot's
internal device tree. The presence of these bogus PCI devices cause the
LPI constraint generator to create does a reference for an ACPI device
which does not exist (SB.PCI0.RP{xx}.MCHC). The invalid reference(s)
cause a Windows BSOD (INTERNAL_POWER_ERROR).

TEST=untested

Change-Id: Ic997b5ad893853b99ae53a2e5c7acf58467ea4f1
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78873
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Matt DeVillier 2023-11-01 18:50:25 -05:00 committed by Felix Held
parent 370b2335df
commit f493857c9b
21 changed files with 26 additions and 26 deletions

View File

@ -88,7 +88,7 @@ chip soc/intel/alderlake
.clk_src = 0,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
device pci 00.0 alias dgpu on end
device generic 0 alias dgpu on end
end
device ref dtt on
chip drivers/intel/dptf
@ -232,7 +232,7 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end #RTL8111H Ethernet NIC
device ref pcie_rp4 off end

View File

@ -163,7 +163,7 @@ chip soc/intel/alderlake
.clk_req = 4,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
device pci 00.0 on end
device generic 0 on end
end # IntelI225V Ethernet NIC
device ref pcie_rp7 on
chip drivers/net
@ -171,7 +171,7 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8111K Ethernet NIC
device ref pcie_rp8 off end #pcie_rp 8 Empty

View File

@ -78,7 +78,7 @@ chip soc/intel/alderlake
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8125 Ethernet NIC
device ref pcie4_0 on

View File

@ -181,7 +181,7 @@ chip soc/intel/alderlake
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8125 Ethernet NIC
device ref pcie_rp8 on

View File

@ -230,7 +230,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x0843"
register "wake" = "GPE0_DW0_07" #GPP_A7
register "device_index" = "0"
device pci 00.0 on end
device generic 0 on end
end
end #PCIE7 RTL8111K Ethernet NIC
device ref pcie_rp8 off end

View File

@ -190,7 +190,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x060f"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8111 Ethernet NIC
device ref pcie_rp8 on

View File

@ -330,7 +330,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 on

View File

@ -78,7 +78,7 @@ chip soc/intel/alderlake
.clk_src = 0,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
device pci 00.0 alias dgpu on end
device generic 0 alias dgpu on end
end
device ref dtt on
chip drivers/intel/dptf
@ -239,7 +239,7 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end #RTL8111H Ethernet NIC
device ref pcie_rp9 on

View File

@ -326,7 +326,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 off end # PCIE7 no SD card

View File

@ -247,7 +247,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
chip soc/intel/common/block/pcie/rtd3
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B11)"
@ -278,7 +278,7 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW0_07" #GPP_A7
register "device_index" = "0"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8111K Ethernet NIC
device ref pcie_rp8 off end

View File

@ -207,7 +207,7 @@ chip soc/intel/alderlake
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8125 and RTL8111K Ethernet NIC
device ref pcie_rp8 on

View File

@ -190,7 +190,7 @@ chip soc/intel/alderlake
register "customized_leds" = "0x060f"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8111 Ethernet NIC
device ref pcie_rp8 on

View File

@ -318,7 +318,7 @@ chip soc/intel/alderlake
}"
chip drivers/wifi/generic
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp8 off end

View File

@ -164,7 +164,7 @@ chip soc/intel/alderlake
.clk_req = 4,
.flags = PCIE_RP_LTR | PCIE_RP_AER,
}"
device pci 00.0 on end
device generic 0 on end
end # IntelI225V Ethernet NIC
device ref pcie_rp7 on
chip drivers/net
@ -172,7 +172,7 @@ chip soc/intel/alderlake
register "wake" = "GPE0_DW0_07"
register "device_index" = "0"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end # RTL8111K Ethernet NIC
device ref pcie_rp8 on

View File

@ -209,7 +209,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pch_espi on

View File

@ -281,7 +281,7 @@ chip soc/intel/alderlake
register "customized_led2" = "0x028"
register "enable_aspm_l1_2" = "1"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
# Enable PCIE 7 using clk 6
register "pch_pcie_rp[PCH_RP(7)]" = "{

View File

@ -673,7 +673,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 on

View File

@ -398,7 +398,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 on

View File

@ -376,7 +376,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end

View File

@ -450,7 +450,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 on

View File

@ -496,7 +496,7 @@ chip soc/intel/alderlake
chip drivers/wifi/generic
register "wake" = "GPE0_DW1_03"
register "add_acpi_dma_property" = "true"
device pci 00.0 on end
device generic 0 on end
end
end
device ref pcie_rp7 off end #PCIE7 no SD card