summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/apollolake
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2022-06-27 08:47:10 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-06-28 20:59:39 +0000
commitdd582b0cb10932fae8198c928172af49deeab34e (patch)
tree7a22c0746b80b81af950ed149f126a15b7d5d5d4 /src/soc/intel/apollolake
parent46d74773103cce02a3f603d32fe7109d8fcbb9b4 (diff)
downloadcoreboot-dd582b0cb10932fae8198c928172af49deeab34e.tar.gz
coreboot-dd582b0cb10932fae8198c928172af49deeab34e.tar.bz2
coreboot-dd582b0cb10932fae8198c928172af49deeab34e.zip
soc/intel/apollolake: Add chipset devicetree
Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Ic2b9a22bc6c32030f960d59b2874be5459c3ba28 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65451 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/apollolake')
-rw-r--r--src/soc/intel/apollolake/Kconfig5
-rw-r--r--src/soc/intel/apollolake/chipset_apl.cb48
-rw-r--r--src/soc/intel/apollolake/chipset_glk.cb49
3 files changed, 102 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/Kconfig b/src/soc/intel/apollolake/Kconfig
index 602c810e818b..18899186f4a7 100644
--- a/src/soc/intel/apollolake/Kconfig
+++ b/src/soc/intel/apollolake/Kconfig
@@ -334,6 +334,11 @@ config SMM_RESERVED_SIZE
hex
default 0x100000
+config CHIPSET_DEVICETREE
+ string
+ default "soc/intel/apollolake/chipset_glk.cb" if SOC_INTEL_GEMINILAKE
+ default "soc/intel/apollolake/chipset_apl.cb"
+
config IFD_CHIPSET
string
default "glk" if SOC_INTEL_GEMINILAKE
diff --git a/src/soc/intel/apollolake/chipset_apl.cb b/src/soc/intel/apollolake/chipset_apl.cb
new file mode 100644
index 000000000000..3930ed273f35
--- /dev/null
+++ b/src/soc/intel/apollolake/chipset_apl.cb
@@ -0,0 +1,48 @@
+chip soc/intel/apollolake
+ device domain 0 on
+ device pci 00.0 alias system_agent on end # Host Bridge
+ device pci 00.1 alias dptf off end # DPTF
+ device pci 00.2 alias npk off end # NorthPeak
+ device pci 02.0 alias igd off end # Integrated Graphics Device
+ device pci 03.0 alias iunit off end # iUnit
+ device pci 0d.0 alias p2sb off end # P2SB
+ device pci 0d.1 alias pmc off end # PMC
+ device pci 0d.2 alias fast_spi off end # SPI
+ device pci 0d.3 alias sram off end # Shared SRAM
+ device pci 0e.0 alias hda off end # HDA
+ device pci 0f.0 alias heci1 off end # HECI1
+ device pci 0f.1 alias heci2 off end # HECI2
+ device pci 0f.2 alias heci3 off end # HECI3
+ device pci 11.0 alias ish off end # SensorHub
+ device pci 12.0 alias sata off end # SATA
+ device pci 13.0 alias pcie_rp01 off end # PCIE Express Root Port 1
+ device pci 13.1 alias pcie_rp02 off end # PCIE Express Root Port 2
+ device pci 13.2 alias pcie_rp03 off end # PCIE Express Root Port 3
+ device pci 13.3 alias pcie_rp04 off end # PCIE Express Root Port 4
+ device pci 14.0 alias pcie_rp05 off end # PCIE Express Root Port 5
+ device pci 14.1 alias pcie_rp06 off end # PCIE Express Root Port 6
+ device pci 15.0 alias xhci off end # XHCI
+ device pci 15.1 alias xdci off end # XDCI
+ device pci 16.0 alias i2c0 off end # I2C0
+ device pci 16.1 alias i2c1 off end # I2C1
+ device pci 16.2 alias i2c2 off end # I2C2
+ device pci 16.3 alias i2c3 off end # I2C3
+ device pci 17.0 alias i2c4 off end # I2C4
+ device pci 17.1 alias i2c5 off end # I2C5
+ device pci 17.2 alias i2c6 off end # I2C6
+ device pci 17.3 alias i2c7 off end # I2C7
+ device pci 18.0 alias uart0 off end # UART0
+ device pci 18.1 alias uart1 off end # UART1
+ device pci 18.2 alias uart2 off end # UART2
+ device pci 18.3 alias uart3 off end # UART3
+ device pci 19.0 alias spi0 off end # SPI0
+ device pci 19.1 alias spi1 off end # SPI1
+ device pci 19.2 alias spi2 off end # SPI3
+ device pci 1a.0 alias pwm off end # PWM
+ device pci 1b.0 alias sdcard off end # SD Card
+ device pci 1c.0 alias emmc off end # eMMC
+ device pci 1e.0 alias sdio off end # SDIO
+ device pci 1f.0 alias lpc_espi on end # LPC
+ device pci 1f.1 alias smbus off end # SMBUS
+ end
+end
diff --git a/src/soc/intel/apollolake/chipset_glk.cb b/src/soc/intel/apollolake/chipset_glk.cb
new file mode 100644
index 000000000000..c8af3d06a1e4
--- /dev/null
+++ b/src/soc/intel/apollolake/chipset_glk.cb
@@ -0,0 +1,49 @@
+chip soc/intel/apollolake
+ device domain 0 on
+ device pci 00.0 alias system_agent on end # Host Bridge
+ device pci 00.1 alias dptf off end # DPTF
+ device pci 00.2 alias npk off end # NorthPeak
+ device pci 02.0 alias igd off end # Integrated Graphics Device
+ device pci 03.0 alias gmm off end # GMM
+ device pci 0c.0 alias cnvi off end # CNVi
+ device pci 0d.0 alias p2sb off end # P2SB
+ device pci 0d.1 alias pmc off end # PMC
+ device pci 0d.2 alias fast_spi off end # SPI
+ device pci 0d.3 alias sram off end # Shared SRAM
+ device pci 0e.0 alias hda off end # HDA
+ device pci 0f.0 alias heci1 off end # HECI1
+ device pci 0f.1 alias heci2 off end # HECI2
+ device pci 0f.2 alias heci3 off end # HECI3
+ device pci 11.0 alias ish off end # SensorHub
+ device pci 12.0 alias sata off end # SATA
+ device pci 13.0 alias pcie_rp01 off end # PCIE Express Root Port 1
+ device pci 13.1 alias pcie_rp02 off end # PCIE Express Root Port 2
+ device pci 13.2 alias pcie_rp03 off end # PCIE Express Root Port 3
+ device pci 13.3 alias pcie_rp04 off end # PCIE Express Root Port 4
+ device pci 14.0 alias pcie_rp05 off end # PCIE Express Root Port 5
+ device pci 14.1 alias pcie_rp06 off end # PCIE Express Root Port 6
+ device pci 15.0 alias xhci off end # XHCI
+ device pci 15.1 alias xdci off end # XDCI
+ device pci 16.0 alias i2c0 off end # I2C0
+ device pci 16.1 alias i2c1 off end # I2C1
+ device pci 16.2 alias i2c2 off end # I2C2
+ device pci 16.3 alias i2c3 off end # I2C3
+ device pci 17.0 alias i2c4 off end # I2C4
+ device pci 17.1 alias i2c5 off end # I2C5
+ device pci 17.2 alias i2c6 off end # I2C6
+ device pci 17.3 alias i2c7 off end # I2C7
+ device pci 18.0 alias uart0 off end # UART0
+ device pci 18.1 alias uart1 off end # UART1
+ device pci 18.2 alias uart2 off end # UART2
+ device pci 18.3 alias uart3 off end # UART3
+ device pci 19.0 alias spi0 off end # SPI0
+ device pci 19.1 alias spi1 off end # SPI1
+ device pci 19.2 alias spi2 off end # SPI3
+ device pci 1a.0 alias pwm off end # PWM
+ device pci 1c.0 alias emmc off end # eMMC
+ device pci 1d.0 alias ufs off end # UFS
+ device pci 1e.0 alias sdio off end # SDIO
+ device pci 1f.0 alias lpc_espi on end # LPC
+ device pci 1f.1 alias smbus off end # SMBUS
+ end
+end