summaryrefslogtreecommitdiff
path: root/src/mainboard/google/fizz/variants
diff options
context:
space:
mode:
authorJeff Chase <jnchase@google.com>2020-01-16 16:36:20 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-01-28 18:34:42 +0000
commit4b1bfe6d854f27f5a68950be8782555ab09b2fa9 (patch)
treee0bd9a0297a261d37394d421b5aebcbe146b210e /src/mainboard/google/fizz/variants
parentfc7b953366b776aa3eaaf0539af06086facda14e (diff)
mb/google/fizz/variants/endeavour: Enable root ports for TPUs
BUG=b:148221635 TEST=build;install;lspci Change-Id: I1732f7fe64ace41a721a2d6a964988efc97b2579 Signed-off-by: Jeff Chase <jnchase@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38550 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/fizz/variants')
-rw-r--r--src/mainboard/google/fizz/variants/endeavour/overridetree.cb28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mainboard/google/fizz/variants/endeavour/overridetree.cb b/src/mainboard/google/fizz/variants/endeavour/overridetree.cb
index 65b5f73397..861e1b194a 100644
--- a/src/mainboard/google/fizz/variants/endeavour/overridetree.cb
+++ b/src/mainboard/google/fizz/variants/endeavour/overridetree.cb
@@ -1,5 +1,31 @@
chip soc/intel/skylake
+ # Enable Root port 7(x1) for TPU1
+ register "PcieRpEnable[6]" = "1"
+ # Enable CLKREQ#
+ register "PcieRpClkReqSupport[6]" = "1"
+ # RP 7 uses SRCCLKREQ4#
+ register "PcieRpClkReqNumber[6]" = "4"
+ # RP 7, Enable Advanced Error Reporting
+ register "PcieRpAdvancedErrorReporting[6]" = "1"
+ # RP 7, Enable Latency Tolerance Reporting Mechanism
+ register "PcieRpLtrEnable[6]" = "1"
+ # RP 7 uses uses CLK SRC 4
+ register "PcieRpClkSrcNumber[6]" = "4"
+
+ # Enable Root port 8(x1) for TPU0
+ register "PcieRpEnable[7]" = "1"
+ # Enable CLKREQ#
+ register "PcieRpClkReqSupport[7]" = "1"
+ # RP 8 uses SRCCLKREQ2#
+ register "PcieRpClkReqNumber[7]" = "2"
+ # RP 8, Enable Advanced Error Reporting
+ register "PcieRpAdvancedErrorReporting[7]" = "1"
+ # RP 8, Enable Latency Tolerance Reporting Mechanism
+ register "PcieRpLtrEnable[7]" = "1"
+ # RP 8 uses uses CLK SRC 2
+ register "PcieRpClkSrcNumber[7]" = "2"
+
# Enable Root port 9(x4) for i350 LAN
register "PcieRpEnable[8]" = "1"
# Disable CLKREQ#
@@ -133,6 +159,8 @@ chip soc/intel/skylake
device i2c 13 on end
end
end # I2C #5
+ device pci 1c.6 on end # PCI Express Port 7 for TPU1
+ device pci 1c.7 on end # PCI Express Port 8 for TPU0
device pci 1d.0 on end # PCI Express Port 9 for POE LAN
device pci 1d.1 off end # PCI Express Port 10
device pci 1d.2 off end # PCI Express Port 11