diff options
author | Felix Singer <felixsinger@posteo.net> | 2024-07-08 04:29:39 +0200 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2024-07-12 20:08:01 +0000 |
commit | 88bc0f1604494de0f87c6954c050e7ef4d1c4457 (patch) | |
tree | 9492b3a04b2bf7c66ac8202d97b3441d9ccf9306 /src/mainboard/libretrend/lt1000 | |
parent | 702902d71fae63fd35362c82f2a369b42af1a77f (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/libretrend/lt1000')
-rw-r--r-- | src/mainboard/libretrend/lt1000/devicetree.cb | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/src/mainboard/libretrend/lt1000/devicetree.cb b/src/mainboard/libretrend/lt1000/devicetree.cb index 2ebc67024e..9599ceccfb 100644 --- a/src/mainboard/libretrend/lt1000/devicetree.cb +++ b/src/mainboard/libretrend/lt1000/devicetree.cb @@ -97,21 +97,7 @@ chip soc/intel/skylake .voltage_limit = 1520, }" - register "PcieRpEnable[2]" = "1" - register "PcieRpEnable[3]" = "1" - register "PcieRpEnable[4]" = "1" - register "PcieRpEnable[8]" = "1" - register "PcieRpEnable[9]" = "1" - register "PcieRpEnable[10]" = "1" - register "PcieRpEnable[11]" = "1" - register "PcieRpClkSrcNumber[0]" = "0" - register "PcieRpClkSrcNumber[3]" = "1" - register "PcieRpClkSrcNumber[4]" = "2" - register "PcieRpClkSrcNumber[8]" = "3" - register "PcieRpClkSrcNumber[9]" = "3" - register "PcieRpClkSrcNumber[10]" = "3" - register "PcieRpClkSrcNumber[11]" = "3" # PL2 override 25W register "power_limits_config" = "{ @@ -154,19 +140,38 @@ chip soc/intel/skylake }" register "SataSpeedLimit" = "2" end - device ref pcie_rp3 on end + device ref pcie_rp3 on + register "PcieRpEnable[2]" = "1" + end + device ref pcie_rp4 on + register "PcieRpEnable[3]" = "1" + register "PcieRpClkSrcNumber[3]" = "1" + end device ref pcie_rp5 on + register "PcieRpEnable[4]" = "1" + register "PcieRpClkSrcNumber[4]" = "2" smbios_slot_desc "SlotTypePciExpressMini52pinWithoutBSKO" "SlotLengthOther" "MPCIE_WIFI1" "SlotDataBusWidth1X" end device ref pcie_rp6 on end device ref pcie_rp9 on + register "PcieRpEnable[8]" = "1" + register "PcieRpClkSrcNumber[8]" = "3" smbios_slot_desc "SlotTypeM2Socket3" "SlotLengthOther" "SSD_M.2 2242/2280" "SlotDataBusWidth4X" end - device ref pcie_rp10 on end - device ref pcie_rp11 on end - device ref pcie_rp12 on end + device ref pcie_rp10 on + register "PcieRpEnable[9]" = "1" + register "PcieRpClkSrcNumber[9]" = "3" + end + device ref pcie_rp11 on + register "PcieRpEnable[10]" = "1" + register "PcieRpClkSrcNumber[10]" = "3" + end + device ref pcie_rp12 on + register "PcieRpEnable[11]" = "1" + register "PcieRpClkSrcNumber[11]" = "3" + end device ref lpc_espi on register "serirq_mode" = "SERIRQ_CONTINUOUS" |