diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-07-27 15:32:57 +0100 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-08-19 14:32:40 +0000 |
commit | 6f138873fc6853f792b159c4483960848f5bf6b4 (patch) | |
tree | f12d9dcfc5d13501cd59c9f920c1d42290b6ccb4 /src | |
parent | ce0315c180d3934b9d01ae7fde9087ff8dd39b22 (diff) |
mb/starlabs/lite: Use chipset.cb aliases
GLKs chipset configures the devices, so use these aliases and remove
the entries when they are identical.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: Ic29e5305346c3b7fbf66b027754a9ddd16b16269
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66195
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/starlabs/lite/variants/glk/devicetree.cb | 61 | ||||
-rw-r--r-- | src/mainboard/starlabs/lite/variants/glkr/devicetree.cb | 61 |
2 files changed, 30 insertions, 92 deletions
diff --git a/src/mainboard/starlabs/lite/variants/glk/devicetree.cb b/src/mainboard/starlabs/lite/variants/glk/devicetree.cb index 1880d7465b..4ffb154034 100644 --- a/src/mainboard/starlabs/lite/variants/glk/devicetree.cb +++ b/src/mainboard/starlabs/lite/variants/glk/devicetree.cb @@ -58,36 +58,22 @@ chip soc/intel/apollolake register "slp_s3_assertion_width_usecs" = "28000" device domain 0 on - device pci 00.0 on end # Host Bridge - device pci 00.1 off end # DPTF - device pci 00.2 off end # NPK - device pci 02.0 on end # Gen - device pci 03.0 off end # Iunit - device pci 0c.0 on # CNVi + device ref igd on end + device ref cnvi on chip drivers/wifi/generic register "wake" = "GPE0A_CNVI_PME_STS" device generic 0 on end end end - device pci 0d.0 off end # P2SB - device pci 0d.1 off end # PMC - device pci 0d.2 on end # SPI - device pci 0d.3 off end # Shared SRAM - device pci 0e.0 on end # Audio - device pci 0f.0 on end # Heci1 - device pci 0f.1 on end # Heci2 - device pci 0f.2 on end # Heci3 - device pci 11.0 off end # ISH - device pci 12.0 on # SATA + device ref fast_spi on end + device ref hda on end + device ref heci1 on end + device ref heci2 on end + device ref heci3 on end + device ref sata on register "SataPortsEnable[0]" = "1" end - device pci 13.0 off end # PCIe-A 0 Slot 1 - device pci 13.1 off end # PCIe-A 1 - device pci 13.2 off end # PCIe-A 2 Onboard Lan - device pci 13.3 off end # PCIe-A 3 - device pci 14.0 off end # PCIe-B 0 Slot2 - device pci 14.1 off end # PCIe-B 1 Onboard M2 Slot(Wifi/BT) - device pci 15.0 on # XHCI + device ref xhci on # Motherboard USB Type C register "usb2_port[0]" = "PORT_EN(OC_SKIP)" register "usb3_port[1]" = "PORT_EN(OC_SKIP)" @@ -103,30 +89,14 @@ chip soc/intel/apollolake # Daughterboard SD Card register "usb2_port[6]" = "PORT_EN(OC_SKIP)" end - device pci 15.1 off end # XDCI - device pci 16.0 off end # I2C0 - device pci 16.1 off end # I2C1 - device pci 16.2 off end # I2C2 - device pci 16.3 off end # I2C3 - device pci 17.0 on end # I2C4 - device pci 17.1 off end # I2C5 - device pci 17.2 off end # I2C6 - device pci 17.3 on # I2C7 + device ref i2c4 on end + device ref i2c7 on # Handled by touchpad.asl end - device pci 18.0 on end # UART #0 - device pci 18.1 off end # UART #1 - device pci 18.2 on end # UART #2 - device pci 18.3 off end # UART #3 - device pci 19.0 off end # SPI #0 - device pci 19.1 off end # SPI #1 - device pci 19.2 on end # SPI #2 - device pci 1a.0 off end # PWM - device pci 1b.0 off end # SDCard - device pci 1c.0 off end # eMMC - device pci 1d.0 off end # UFS - device pci 1e.0 off end # SDIO - device pci 1f.0 on # LPC Interface + device ref uart0 on end + device ref uart2 on end + device ref spi2 on end + device ref lpc_espi on register "gen1_dec" = "0x000c06a1" register "gen2_dec" = "0x000c0081" @@ -154,7 +124,6 @@ chip soc/intel/apollolake device pnp 4e.19 off end # Power Management Channel 5 end end - device pci 1f.1 off end # SMBus end chip drivers/crb device mmio 0xfed40000 on end diff --git a/src/mainboard/starlabs/lite/variants/glkr/devicetree.cb b/src/mainboard/starlabs/lite/variants/glkr/devicetree.cb index 158df54991..9f7c5bb2b7 100644 --- a/src/mainboard/starlabs/lite/variants/glkr/devicetree.cb +++ b/src/mainboard/starlabs/lite/variants/glkr/devicetree.cb @@ -58,36 +58,22 @@ chip soc/intel/apollolake register "slp_s3_assertion_width_usecs" = "28000" device domain 0 on - device pci 00.0 on end # Host Bridge - device pci 00.1 off end # DPTF - device pci 00.2 off end # NPK - device pci 02.0 on end # Gen - device pci 03.0 off end # Iunit - device pci 0c.0 on # CNVi + device ref igd on end + device ref cnvi on chip drivers/wifi/generic register "wake" = "GPE0A_CNVI_PME_STS" device generic 0 on end end end - device pci 0d.0 off end # P2SB - device pci 0d.1 off end # PMC - device pci 0d.2 on end # SPI - device pci 0d.3 off end # Shared SRAM - device pci 0e.0 on end # Audio - device pci 0f.0 on end # Heci1 - device pci 0f.1 on end # Heci2 - device pci 0f.2 on end # Heci3 - device pci 11.0 off end # ISH - device pci 12.0 on # SATA + device ref fast_spi on end + device ref hda on end + device ref heci1 on end + device ref heci2 on end + device ref heci3 on end + device ref sata on register "SataPortsEnable[0]" = "1" end - device pci 13.0 off end # PCIe-A 0 Slot 1 - device pci 13.1 off end # PCIe-A 1 - device pci 13.2 off end # PCIe-A 2 Onboard Lan - device pci 13.3 off end # PCIe-A 3 - device pci 14.0 off end # PCIe-B 0 Slot2 - device pci 14.1 off end # PCIe-B 1 Onboard M2 Slot(Wifi/BT) - device pci 15.0 on # XHCI + device ref xhci on ### USB 2.0 Devices # Motherboard USB Type C register "usb2_port[0]" = "PORT_EN(OC1)" @@ -104,30 +90,14 @@ chip soc/intel/apollolake # Daughterboard SD Card register "usb2_port[5]" = "PORT_EN(OC_SKIP)" end - device pci 15.1 off end # XDCI - device pci 16.0 off end # I2C0 - device pci 16.1 off end # I2C1 - device pci 16.2 off end # I2C2 - device pci 16.3 off end # I2C3 - device pci 17.0 on end # I2C4 - device pci 17.1 off end # I2C5 - device pci 17.2 off end # I2C6 - device pci 17.3 on # I2C7 + device ref i2c4 on end + device ref i2c7 on # Handled by touchpad.asl end - device pci 18.0 on end # UART #0 - device pci 18.1 off end # UART #1 - device pci 18.2 on end # UART #2 - device pci 18.3 off end # UART #3 - device pci 19.0 off end # SPI #0 - device pci 19.1 off end # SPI #1 - device pci 19.2 on end # SPI #2 - device pci 1a.0 off end # PWM - device pci 1b.0 off end # SDCard - device pci 1c.0 off end # eMMC - device pci 1d.0 off end # UFS - device pci 1e.0 off end # SDIO - device pci 1f.0 on # LPC Interface + device ref uart0 on end + device ref uart2 on end + device ref spi2 on end + device ref lpc_espi on register "gen1_dec" = "0x000c06a1" register "gen2_dec" = "0x000c0081" @@ -149,7 +119,6 @@ chip soc/intel/apollolake device pnp 4e.1e off end # Power Management Channel 4 end end - device pci 1f.1 off end # SMBus end chip drivers/crb device mmio 0xfed40000 on end |