mb/google/fizz: Make use of chipset devicetree
Use the references from the chipset devicetree as this makes the comments superfluous and remove devices which are turned off. Built all variants with BUILD_TIMELESS=1 and the resulting binaries remain the same. Change-Id: I7752819091e2a75c8d818f7d0cf90eabc11c4759 Signed-off-by: Felix Singer <felixsinger@posteo.net> Signed-off-by: Marvin Evers <marvin.evers@stud.hs-bochum.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79327 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
This commit is contained in:
committed by
Felix Singer
parent
3d98710515
commit
a611634de8
@@ -307,10 +307,9 @@ chip soc/intel/skylake
|
|||||||
|
|
||||||
device cpu_cluster 0 on end
|
device cpu_cluster 0 on end
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device pci 00.0 on end # Host Bridge
|
device ref igpu on end
|
||||||
device pci 02.0 on end # Integrated Graphics Device
|
device ref sa_thermal on end
|
||||||
device pci 04.0 on end # SA thermal subsystem
|
device ref south_xhci on
|
||||||
device pci 14.0 on
|
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
register "desc" = ""Root Hub""
|
register "desc" = ""Root Hub""
|
||||||
register "type" = "UPC_TYPE_HUB"
|
register "type" = "UPC_TYPE_HUB"
|
||||||
@@ -362,78 +361,59 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end # USB xHCI
|
end
|
||||||
device pci 14.1 off end # USB xDCI (OTG)
|
device ref thermal on end
|
||||||
device pci 14.2 on end # Thermal Subsystem
|
device ref i2c0 on end
|
||||||
device pci 14.3 off end # Camera
|
device ref i2c2 on end
|
||||||
device pci 15.0 on end # I2C #0
|
device ref heci1 on end
|
||||||
device pci 15.1 off end # I2C #1
|
device ref sata on end
|
||||||
device pci 15.2 on end # I2C #2
|
device ref uart2 on end
|
||||||
device pci 15.3 off end # I2C #3
|
device ref i2c5 on end
|
||||||
device pci 16.0 on end # Management Engine Interface 1
|
device ref pcie_rp1 on end
|
||||||
device pci 16.1 off end # Management Engine Interface 2
|
device ref pcie_rp3 on
|
||||||
device pci 16.2 off end # Management Engine IDE-R
|
# LAN, will be swapped to port 1 by FSP
|
||||||
device pci 16.3 off end # Management Engine KT Redirection
|
|
||||||
device pci 16.4 off end # Management Engine Interface 3
|
|
||||||
device pci 17.0 on end # SATA
|
|
||||||
device pci 19.0 on end # UART #2
|
|
||||||
device pci 19.1 on end # I2C #5
|
|
||||||
device pci 19.2 off end # I2C #4
|
|
||||||
device pci 1c.0 on end # PCI Express Port 1
|
|
||||||
device pci 1c.1 off end # PCI Express Port 2
|
|
||||||
# PCI Express Port 3 for LAN, will be swapped to port 1 by FSP
|
|
||||||
device pci 1c.2 on
|
|
||||||
chip drivers/net
|
chip drivers/net
|
||||||
register "customized_leds" = "0x0fa5"
|
register "customized_leds" = "0x0fa5"
|
||||||
register "wake" = "GPE0_PCI_EXP"
|
register "wake" = "GPE0_PCI_EXP"
|
||||||
device pci 00.0 on end
|
device pci 00.0 on end
|
||||||
register "device_index" = "0"
|
register "device_index" = "0"
|
||||||
end
|
end
|
||||||
end # PCI Express Port 3
|
end
|
||||||
device pci 1c.3 on
|
device ref pcie_rp4 on
|
||||||
|
# WLAN
|
||||||
chip drivers/wifi/generic
|
chip drivers/wifi/generic
|
||||||
register "wake" = "GPE0_PCI_EXP"
|
register "wake" = "GPE0_PCI_EXP"
|
||||||
device pci 00.0 on end
|
device pci 00.0 on end
|
||||||
end
|
end
|
||||||
end # PCI Express Port 4 for WLAN
|
end
|
||||||
device pci 1c.4 on end # PCI Express Port 5 for NVMe
|
device ref pcie_rp5 on end # NVMe
|
||||||
device pci 1c.5 off end # PCI Express Port 6
|
device ref pcie_rp9 on
|
||||||
device pci 1c.6 off end # PCI Express Port 7
|
# 2nd LAN
|
||||||
device pci 1c.7 off end # PCI Express Port 8
|
|
||||||
device pci 1d.0 on # PCI Express Port 9 for 2nd LAN
|
|
||||||
chip drivers/net
|
chip drivers/net
|
||||||
register "customized_leds" = "0x0fa5"
|
register "customized_leds" = "0x0fa5"
|
||||||
register "device_index" = "1"
|
register "device_index" = "1"
|
||||||
device pci 00.0 on end
|
device pci 00.0 on end
|
||||||
end
|
end
|
||||||
end # PCI Express Port 9 for BtoB
|
end
|
||||||
device pci 1d.1 off end # PCI Express Port 10
|
device ref pcie_rp11 on end
|
||||||
device pci 1d.2 on end # PCI Express Port 11
|
device ref pcie_rp12 on end
|
||||||
device pci 1d.3 on end # PCI Express Port 12
|
device ref uart0 on end
|
||||||
device pci 1e.0 on end # UART #0
|
device ref gspi0 on
|
||||||
device pci 1e.1 off end # UART #1
|
|
||||||
device pci 1e.2 on
|
|
||||||
chip drivers/spi/acpi
|
chip drivers/spi/acpi
|
||||||
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
||||||
register "compat_string" = ""google,cr50""
|
register "compat_string" = ""google,cr50""
|
||||||
register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
|
register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)"
|
||||||
device spi 0 on end
|
device spi 0 on end
|
||||||
end
|
end
|
||||||
end # GSPI #0
|
end
|
||||||
device pci 1e.3 off end # GSPI #1
|
device ref sdxc on end
|
||||||
device pci 1e.4 off end # eMMC
|
device ref lpc_espi on
|
||||||
device pci 1e.5 off end # SDIO
|
|
||||||
device pci 1e.6 on end # SDCard
|
|
||||||
device pci 1f.0 on
|
|
||||||
chip ec/google/chromeec
|
chip ec/google/chromeec
|
||||||
device pnp 0c09.0 on end
|
device pnp 0c09.0 on end
|
||||||
end
|
end
|
||||||
end # LPC Interface
|
end
|
||||||
device pci 1f.1 on end # P2SB
|
device ref hda on end
|
||||||
device pci 1f.2 on end # Power Management Controller
|
device ref smbus on end
|
||||||
device pci 1f.3 on end # Intel HDA
|
device ref fast_spi on end
|
||||||
device pci 1f.4 on end # SMBus
|
|
||||||
device pci 1f.5 on end # PCH SPI
|
|
||||||
device pci 1f.6 off end # GbE
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@@ -77,7 +77,7 @@ chip soc/intel/skylake
|
|||||||
}"
|
}"
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device pci 14.0 on
|
device ref south_xhci on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
device usb 0.0 on
|
device usb 0.0 on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
@@ -128,8 +128,8 @@ chip soc/intel/skylake
|
|||||||
device usb 3.5 off end
|
device usb 3.5 off end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end # USB xHCI
|
end
|
||||||
device pci 15.3 on
|
device ref i2c3 on
|
||||||
chip drivers/i2c/generic
|
chip drivers/i2c/generic
|
||||||
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
register "hid" = "ACPI_DT_NAMESPACE_HID"
|
||||||
register "desc" = ""Chrontel 7322""
|
register "desc" = ""Chrontel 7322""
|
||||||
@@ -146,8 +146,8 @@ chip soc/intel/skylake
|
|||||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_HIGH(GPP_A20)"
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_HIGH(GPP_A20)"
|
||||||
device i2c 76 on end
|
device i2c 76 on end
|
||||||
end
|
end
|
||||||
end # I2C #3
|
end
|
||||||
device pci 19.1 on
|
device ref i2c5 on
|
||||||
chip drivers/i2c/generic
|
chip drivers/i2c/generic
|
||||||
register "hid" = ""10EC5663""
|
register "hid" = ""10EC5663""
|
||||||
register "name" = ""RT53""
|
register "name" = ""RT53""
|
||||||
@@ -155,12 +155,12 @@ chip soc/intel/skylake
|
|||||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)"
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)"
|
||||||
device i2c 13 on end
|
device i2c 13 on end
|
||||||
end
|
end
|
||||||
end # I2C #5
|
end
|
||||||
device pci 1c.6 on end # PCI Express Port 7 for TPU1
|
device ref pcie_rp7 on end # TPU1
|
||||||
device pci 1c.7 on end # PCI Express Port 8 for TPU0
|
device ref pcie_rp8 on end # TPU0
|
||||||
device pci 1d.0 on end # PCI Express Port 9 for POE LAN
|
device ref pcie_rp9 on end # POE LAN
|
||||||
device pci 1d.1 off end # PCI Express Port 10
|
device ref pcie_rp10 off end
|
||||||
device pci 1d.2 off end # PCI Express Port 11
|
device ref pcie_rp11 off end
|
||||||
device pci 1d.3 off end # PCI Express Port 12
|
device ref pcie_rp12 off end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@@ -8,7 +8,7 @@ chip soc/intel/skylake
|
|||||||
register "SaGv" = "SaGv_FixedHigh"
|
register "SaGv" = "SaGv_FixedHigh"
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device pci 14.0 on
|
device ref south_xhci on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
device usb 0.0 on
|
device usb 0.0 on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
@@ -33,8 +33,8 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end # USB xHCI
|
end
|
||||||
device pci 19.1 on
|
device ref i2c5 on
|
||||||
chip drivers/i2c/generic
|
chip drivers/i2c/generic
|
||||||
register "hid" = ""10EC5663""
|
register "hid" = ""10EC5663""
|
||||||
register "name" = ""RT53""
|
register "name" = ""RT53""
|
||||||
@@ -42,6 +42,6 @@ chip soc/intel/skylake
|
|||||||
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)"
|
register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)"
|
||||||
device i2c 13 on end
|
device i2c 13 on end
|
||||||
end
|
end
|
||||||
end # I2C #5
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@@ -22,7 +22,7 @@ chip soc/intel/skylake
|
|||||||
}"
|
}"
|
||||||
|
|
||||||
device domain 0 on
|
device domain 0 on
|
||||||
device pci 14.0 on
|
device ref south_xhci on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
device usb 0.0 on
|
device usb 0.0 on
|
||||||
chip drivers/usb/acpi
|
chip drivers/usb/acpi
|
||||||
@@ -57,8 +57,8 @@ chip soc/intel/skylake
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end # USB xHCI
|
end
|
||||||
device pci 19.1 on
|
device ref i2c5 on
|
||||||
chip drivers/generic/max98357a
|
chip drivers/generic/max98357a
|
||||||
register "hid" = ""MX98357A""
|
register "hid" = ""MX98357A""
|
||||||
register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)"
|
register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)"
|
||||||
@@ -82,7 +82,7 @@ chip soc/intel/skylake
|
|||||||
register "mic_amp_in_sel" = ""diff""
|
register "mic_amp_in_sel" = ""diff""
|
||||||
device i2c 1a on end
|
device i2c 1a on end
|
||||||
end
|
end
|
||||||
end # I2C #5
|
end
|
||||||
device pci 1e.6 off end # SDCard
|
device ref sdxc off end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user