summaryrefslogtreecommitdiff
path: root/src/mainboard/facebook/monolith
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2024-07-08 04:29:39 +0200
committerFelix Singer <felixsinger@posteo.net>2024-07-12 20:08:01 +0000
commit88bc0f1604494de0f87c6954c050e7ef4d1c4457 (patch)
tree9492b3a04b2bf7c66ac8202d97b3441d9ccf9306 /src/mainboard/facebook/monolith
parent702902d71fae63fd35362c82f2a369b42af1a77f (diff)
skl/kbl mainboards: Move PCIe related settings into their device scope
Change-Id: I1ffa87eeee521180f37371e5a0d1f9a1a06091aa Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83373 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com> Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm>
Diffstat (limited to 'src/mainboard/facebook/monolith')
-rw-r--r--src/mainboard/facebook/monolith/devicetree.cb85
1 files changed, 31 insertions, 54 deletions
diff --git a/src/mainboard/facebook/monolith/devicetree.cb b/src/mainboard/facebook/monolith/devicetree.cb
index 763a3808d1..7330862960 100644
--- a/src/mainboard/facebook/monolith/devicetree.cb
+++ b/src/mainboard/facebook/monolith/devicetree.cb
@@ -111,57 +111,6 @@ chip soc/intel/skylake
# Send an extra VR mailbox command for the PS4 exit issue
register "SendVrMbxCmd" = "2"
- # Enable Root ports.
- # PCIE Port 1 disabled
- # PCIE Port 2 disabled
-
- # PCIE Port 3 x1 -> Module x1 : Mapped to PCIe 2 on the baseboard
- register "PcieRpEnable[2]" = "1"
- # Disable CLKREQ#
- register "PcieRpClkReqSupport[2]" = "0"
- # Set MaxPayload to 256 bytes
- register "PcieRpMaxPayload[2]" = "RpMaxPayload_256"
- # Enable Latency Tolerance Reporting Mechanism
- register "PcieRpLtrEnable[2]" = "1"
- # Enable Advanced Error Reporting
- register "PcieRpAdvancedErrorReporting[2]" = "1"
- # Disable Aspm
- register "pcie_rp_aspm[2]" = "AspmDisabled"
-
- # PCIE Port 4 disabled
- # PCIE Port 5 x1 -> MODULE i219
-
- # PCIE Port 6 x1 -> BASEBOARD x1 i210 : Mapped to PCIe 4 on the baseboard
- register "PcieRpEnable[5]" = "1"
- register "PcieRpClkReqSupport[5]" = "0"
- # Set MaxPayload to 256 bytes
- register "PcieRpMaxPayload[5]" = "RpMaxPayload_256"
- # Enable Latency Tolerance Reporting Mechanism
- register "PcieRpLtrEnable[5]" = "1"
- # Enable Advanced Error Reporting
- register "PcieRpAdvancedErrorReporting[5]" = "1"
- # Disable Aspm
- register "pcie_rp_aspm[5]" = "AspmDisabled"
-
- # PCIE Port 7 Disabled
- # PCIE Port 8 Disabled
-
- # PCIE Port 9 x4 -> BASEBOARD PEG0-3 FPGA
- register "PcieRpEnable[8]" = "1"
- # Disable CLKREQ#
- register "PcieRpClkReqSupport[8]" = "0"
- # Use Hot Plug subsystem
- register "PcieRpHotPlug[8]" = "1"
- # Set MaxPayload to 256 bytes
- register "PcieRpMaxPayload[8]" = "RpMaxPayload_256"
- # Enable Latency Tolerance Reporting Mechanism
- register "PcieRpLtrEnable[8]" = "1"
- # Enable Advanced Error Reporting
- register "PcieRpAdvancedErrorReporting[8]" = "1"
- # Disable Aspm
- register "pcie_rp_aspm[8]" = "AspmDisabled"
-
-
# Must leave UART0 enabled or SD/eMMC will not work as PCI
register "SerialIoDevMode" = "{
[PchSerialIoIndexI2C0] = PchSerialIoDisabled,
@@ -205,9 +154,37 @@ chip soc/intel/skylake
register "SataSalpSupport" = "1"
register "SataPortsEnable[0]" = "1"
end
- device ref pcie_rp3 on end # x1 baseboard WWAN
- device ref pcie_rp6 on end # x1 baseboard i210
- device ref pcie_rp9 on end # x4 FPGA
+ device ref pcie_rp3 on
+ # x1 baseboard WWAN
+ # PCIE Port 3 x1 -> Module x1 : Mapped to PCIe 2 on the baseboard
+ register "PcieRpEnable[2]" = "1"
+ register "PcieRpClkReqSupport[2]" = "0"
+ register "PcieRpMaxPayload[2]" = "RpMaxPayload_256"
+ register "PcieRpLtrEnable[2]" = "1"
+ register "PcieRpAdvancedErrorReporting[2]" = "1"
+ register "pcie_rp_aspm[2]" = "AspmDisabled"
+ end
+ device ref pcie_rp6 on
+ # x1 baseboard i210
+ # PCIE Port 6 x1 -> BASEBOARD x1 i210 : Mapped to PCIe 4 on the baseboard
+ register "PcieRpEnable[5]" = "1"
+ register "PcieRpClkReqSupport[5]" = "0"
+ register "PcieRpMaxPayload[5]" = "RpMaxPayload_256"
+ register "PcieRpLtrEnable[5]" = "1"
+ register "PcieRpAdvancedErrorReporting[5]" = "1"
+ register "pcie_rp_aspm[5]" = "AspmDisabled"
+ end
+ device ref pcie_rp9 on
+ # x4 FPGA
+ # PCIE Port 9 x4 -> BASEBOARD PEG0-3 FPGA
+ register "PcieRpEnable[8]" = "1"
+ register "PcieRpClkReqSupport[8]" = "0"
+ register "PcieRpHotPlug[8]" = "1"
+ register "PcieRpMaxPayload[8]" = "RpMaxPayload_256"
+ register "PcieRpLtrEnable[8]" = "1"
+ register "PcieRpAdvancedErrorReporting[8]" = "1"
+ register "pcie_rp_aspm[8]" = "AspmDisabled"
+ end
device ref uart0 on end
device ref emmc on end
device ref lpc_espi on