2015-06-29 20:37:56 +02:00
|
|
|
chip soc/intel/skylake
|
|
|
|
|
2015-09-04 01:05:00 +02:00
|
|
|
# Enable deep Sx states
|
|
|
|
register "deep_s5_enable" = "1"
|
|
|
|
register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN"
|
2015-07-22 13:57:56 +02:00
|
|
|
|
2015-08-08 05:57:42 +02:00
|
|
|
# GPE configuration
|
2015-09-04 01:05:00 +02:00
|
|
|
# Note that GPE events called out in ASL code rely on this
|
|
|
|
# route. i.e. If this route changes then the affected GPE
|
|
|
|
# offset bits also need to be changed.
|
2015-09-09 01:28:21 +02:00
|
|
|
register "gpe0_dw0" = "GPP_B"
|
2015-09-04 01:05:00 +02:00
|
|
|
register "gpe0_dw1" = "GPP_D"
|
|
|
|
register "gpe0_dw2" = "GPP_E"
|
|
|
|
|
|
|
|
# EC host command range is in 0x800-0x8ff
|
|
|
|
register "gen1_dec" = "0x00fc0801"
|
2015-06-29 20:37:56 +02:00
|
|
|
|
2015-09-04 19:41:02 +02:00
|
|
|
# Enable DPTF
|
|
|
|
register "dptf_enable" = "1"
|
|
|
|
|
2015-09-04 01:05:00 +02:00
|
|
|
# FSP Configuration
|
2015-06-29 20:37:56 +02:00
|
|
|
register "EnableAzalia" = "1"
|
|
|
|
register "DspEnable" = "1"
|
|
|
|
register "IoBufferOwnership" = "3"
|
|
|
|
register "SmbusEnable" = "1"
|
|
|
|
register "ScsEmmcEnabled" = "1"
|
|
|
|
register "ScsEmmcHs400Enabled" = "1"
|
|
|
|
register "ScsSdCardEnabled" = "2"
|
2015-09-04 01:05:00 +02:00
|
|
|
register "InternalGfx" = "1"
|
|
|
|
register "SkipExtGfxScan" = "1"
|
|
|
|
register "Device4Enable" = "1"
|
2015-11-19 11:36:28 +01:00
|
|
|
register "WakeConfigWolEnableOverride" = "0x01"
|
|
|
|
|
|
|
|
# Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch
|
|
|
|
# SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s
|
|
|
|
register "PmConfigSlpS3MinAssert" = "0x02"
|
|
|
|
|
|
|
|
# SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s
|
|
|
|
register "PmConfigSlpS4MinAssert" = "0x04"
|
|
|
|
|
|
|
|
# SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s
|
|
|
|
register "PmConfigSlpSusMinAssert" = "0x03"
|
|
|
|
|
|
|
|
# SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s
|
|
|
|
register "PmConfigSlpAMinAssert" = "0x03"
|
|
|
|
|
|
|
|
# Determines if enable Serial IRQ. Values 0: Disabled, 1: Enabled
|
|
|
|
register "SerialIrqConfigSirqEnable" = "0x01"
|
2015-06-29 20:37:56 +02:00
|
|
|
|
2015-09-04 01:05:00 +02:00
|
|
|
# Enable Root port 1 and 5.
|
|
|
|
register "PcieRpEnable[0]" = "1"
|
|
|
|
register "PcieRpEnable[4]" = "1"
|
|
|
|
# Enable CLKREQ#
|
|
|
|
register "PcieRpClkReqSupport[0]" = "1"
|
|
|
|
register "PcieRpClkReqSupport[4]" = "1"
|
|
|
|
# RP 1 uses SRCCLKREQ1# while RP 5 uses SRCCLKREQ2#
|
|
|
|
register "PcieRpClkReqNumber[0]" = "1"
|
|
|
|
register "PcieRpClkReqNumber[4]" = "2"
|
2015-07-10 12:30:51 +02:00
|
|
|
|
2015-10-16 22:58:11 +02:00
|
|
|
register "usb2_ports[0]" = "USB2_PORT_TYPE_C" # Type-C Port 1
|
|
|
|
register "usb2_ports[1]" = "USB2_PORT_TYPE_C" # Type-C Port 2
|
|
|
|
register "usb2_ports[2]" = "USB2_PORT_MID" # Bluetooth
|
|
|
|
register "usb2_ports[4]" = "USB2_PORT_MID" # Type-A Port (card)
|
|
|
|
register "usb2_ports[6]" = "USB2_PORT_FLEX" # Camera
|
|
|
|
register "usb2_ports[8]" = "USB2_PORT_LONG" # Type-A Port (board)
|
2015-07-10 12:30:51 +02:00
|
|
|
|
2015-10-16 22:58:11 +02:00
|
|
|
register "usb3_ports[0]" = "USB3_PORT_DEFAULT" # Type-C Port 1
|
|
|
|
register "usb3_ports[1]" = "USB3_PORT_DEFAULT" # Type-C Port 2
|
|
|
|
register "usb3_ports[2]" = "USB3_PORT_DEFAULT" # Type-A Port (card)
|
|
|
|
register "usb3_ports[3]" = "USB3_PORT_DEFAULT" # Type-A Port (board)
|
intel/kunimitsu: USB Phy settings and Skip UART2 init in FSP
FSP 1.7.0 provides UPD to configure USB phy settings
update the same for kunimitsu.
FSP 1.7.0 also provides UPD to indicate FSP not to reinitialise
UART2 controller during MemoryInit.
BRANCH=none
BUG=chrome-os-partner:45684,chrome-os-partner:41374,chrome-os-partner:42284
TEST=build for Kunimitsu, boot on FAB3, Also checked for Boot from USB,
Boot from eMMC, USB Audio, Onboard Audio, Touch, Wifi, S3 entry/resume
CQ-DEPEND=CL:303661
Change-Id: Ie0a545c954f472cc822b63786d40399ec93d5166
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 90296e04942c70d972c225fc75dfab6de44d10ed
Original-Change-Id: If79e81ef3323e782e96db307d89a01c14174b435
Original-Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Original-Signed-off-by: Rishavnath Satapathy <rishavnath.satapathy@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/304032
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12145
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-10-05 15:43:01 +02:00
|
|
|
|
2015-09-04 01:05:00 +02:00
|
|
|
# Must leave UART0 enabled or SD/eMMC will not work as PCI
|
|
|
|
register "SerialIoDevMode" = "{ \
|
|
|
|
[PchSerialIoIndexI2C0] = PchSerialIoPci, \
|
|
|
|
[PchSerialIoIndexI2C1] = PchSerialIoPci, \
|
|
|
|
[PchSerialIoIndexI2C2] = PchSerialIoDisabled, \
|
|
|
|
[PchSerialIoIndexI2C3] = PchSerialIoDisabled, \
|
|
|
|
[PchSerialIoIndexI2C4] = PchSerialIoPci, \
|
|
|
|
[PchSerialIoIndexI2C5] = PchSerialIoDisabled, \
|
|
|
|
[PchSerialIoIndexSpi0] = PchSerialIoDisabled, \
|
|
|
|
[PchSerialIoIndexSpi1] = PchSerialIoDisabled, \
|
|
|
|
[PchSerialIoIndexUart0] = PchSerialIoPci, \
|
|
|
|
[PchSerialIoIndexUart1] = PchSerialIoDisabled, \
|
intel/kunimitsu: USB Phy settings and Skip UART2 init in FSP
FSP 1.7.0 provides UPD to configure USB phy settings
update the same for kunimitsu.
FSP 1.7.0 also provides UPD to indicate FSP not to reinitialise
UART2 controller during MemoryInit.
BRANCH=none
BUG=chrome-os-partner:45684,chrome-os-partner:41374,chrome-os-partner:42284
TEST=build for Kunimitsu, boot on FAB3, Also checked for Boot from USB,
Boot from eMMC, USB Audio, Onboard Audio, Touch, Wifi, S3 entry/resume
CQ-DEPEND=CL:303661
Change-Id: Ie0a545c954f472cc822b63786d40399ec93d5166
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 90296e04942c70d972c225fc75dfab6de44d10ed
Original-Change-Id: If79e81ef3323e782e96db307d89a01c14174b435
Original-Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Original-Signed-off-by: Rishavnath Satapathy <rishavnath.satapathy@intel.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/304032
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/12145
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-10-05 15:43:01 +02:00
|
|
|
[PchSerialIoIndexUart2] = PchSerialIoSkipInit, \
|
2015-09-04 01:05:00 +02:00
|
|
|
}"
|
|
|
|
|
|
|
|
device cpu_cluster 0 on
|
2015-06-29 20:37:56 +02:00
|
|
|
device lapic 0 on end
|
|
|
|
end
|
|
|
|
device domain 0 on
|
|
|
|
device pci 00.0 on end # Host Bridge
|
|
|
|
device pci 02.0 on end # Integrated Graphics Device
|
2015-09-04 01:05:00 +02:00
|
|
|
device pci 14.0 on end # USB xHCI
|
|
|
|
device pci 14.1 off end # USB xDCI (OTG)
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 14.2 on end # Thermal Subsystem
|
2015-09-04 01:05:00 +02:00
|
|
|
device pci 15.0 on end # I2C #0
|
|
|
|
device pci 15.1 on end # I2C #1
|
|
|
|
device pci 15.2 off end # I2C #2
|
|
|
|
device pci 15.3 off end # I2C #3
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 16.0 on end # Management Engine Interface 1
|
|
|
|
device pci 16.1 off end # Management Engine Interface 2
|
2015-09-04 01:05:00 +02:00
|
|
|
device pci 16.2 off end # Management Engine IDE-R
|
|
|
|
device pci 16.3 off end # Management Engine KT Redirection
|
|
|
|
device pci 16.4 off end # Management Engine Interface 3
|
|
|
|
device pci 17.0 off end # SATA
|
|
|
|
device pci 19.0 on end # UART #2
|
|
|
|
device pci 19.1 off end # I2C #5
|
|
|
|
device pci 19.2 on end # I2C #4
|
2015-08-14 00:21:37 +02:00
|
|
|
device pci 1c.0 on end # PCI Express Port 1
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 1c.1 off end # PCI Express Port 2
|
|
|
|
device pci 1c.2 off end # PCI Express Port 3
|
|
|
|
device pci 1c.3 off end # PCI Express Port 4
|
2015-08-14 00:21:37 +02:00
|
|
|
device pci 1c.4 on end # PCI Express Port 5
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 1c.5 off end # PCI Express Port 6
|
|
|
|
device pci 1c.6 off end # PCI Express Port 7
|
|
|
|
device pci 1c.7 off end # PCI Express Port 8
|
2015-08-14 00:21:37 +02:00
|
|
|
device pci 1d.0 off end # PCI Express Port 9
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 1d.1 off end # PCI Express Port 10
|
|
|
|
device pci 1d.2 off end # PCI Express Port 11
|
|
|
|
device pci 1d.3 off end # PCI Express Port 12
|
|
|
|
device pci 1e.0 on end # UART #0
|
2015-09-04 01:05:00 +02:00
|
|
|
device pci 1e.1 off end # UART #1
|
|
|
|
device pci 1e.2 off end # GSPI #0
|
|
|
|
device pci 1e.3 off end # GSPI #1
|
2015-06-29 20:37:56 +02:00
|
|
|
device pci 1e.4 on end # eMMC
|
|
|
|
device pci 1e.5 off end # SDIO
|
|
|
|
device pci 1e.6 on end # SDCard
|
|
|
|
device pci 1f.0 on
|
2015-09-04 01:05:00 +02:00
|
|
|
chip drivers/pc80/tpm
|
|
|
|
device pnp 0c31.0 on end
|
|
|
|
end
|
2015-06-29 20:37:56 +02:00
|
|
|
chip ec/google/chromeec
|
|
|
|
device pnp 0c09.0 on end
|
|
|
|
end
|
|
|
|
end # LPC Interface
|
2015-07-10 12:30:51 +02:00
|
|
|
device pci 1f.2 on end # Power Management Controller
|
2015-09-04 01:05:00 +02:00
|
|
|
device pci 1f.3 on end # Intel HDA
|
|
|
|
device pci 1f.4 on end # SMBus
|
|
|
|
device pci 1f.5 on end # PCH SPI
|
|
|
|
device pci 1f.6 off end # GbE
|
2015-06-29 20:37:56 +02:00
|
|
|
end
|
|
|
|
end
|