summaryrefslogtreecommitdiff
path: root/src/mainboard/msi
diff options
context:
space:
mode:
authorMichał Kopeć <michal.kopec@3mdeb.com>2022-04-08 14:41:23 +0200
committerMichał Żygowski <michal.zygowski@3mdeb.com>2022-07-07 07:42:19 +0000
commit75926254b680a7d2adba1d9fa0304eda0abdb183 (patch)
tree1c8db4e5a22353c87451cdacaacfde7cc0160b9e /src/mainboard/msi
parenta833d194413b985dca5d855180f8f1ba26dc65df (diff)
mb/msi/ms7d25: add basic FSP configuration in devicetree
Configure some basic FSP parameters in devicetree for to allow for booting an OS. Change-Id: Iff227c70d0155ac27d6ffa50a069d154bb7fce3c Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63499 Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Diffstat (limited to 'src/mainboard/msi')
-rw-r--r--src/mainboard/msi/ms7d25/devicetree.cb83
1 files changed, 72 insertions, 11 deletions
diff --git a/src/mainboard/msi/ms7d25/devicetree.cb b/src/mainboard/msi/ms7d25/devicetree.cb
index dccaa253ae..7cdd18bf02 100644
--- a/src/mainboard/msi/ms7d25/devicetree.cb
+++ b/src/mainboard/msi/ms7d25/devicetree.cb
@@ -1,8 +1,80 @@
chip soc/intel/alderlake
+ # FSP configuration
+
+ register "eist_enable" = "1"
+
+ # Sagv Configuration
+ register "sagv" = "SaGv_Enabled"
+ register "RMT" = "0"
+ register "enable_c6dram" = "1"
+
+ register "pmc_gpe0_dw0" = "GPP_J"
+ register "pmc_gpe0_dw1" = "GPP_VPGIO"
+ register "pmc_gpe0_dw2" = "GPD"
+
+ # USB Configuration
+ # TODO: Verify
+ register "usb2_ports[0]" = "USB2_PORT_MID(OC2)"
+ register "usb2_ports[1]" = "USB2_PORT_MID(OC1)"
+ register "usb2_ports[2]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[3]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[4]" = "USB2_PORT_MID(OC3)"
+ register "usb2_ports[5]" = "USB2_PORT_MID(OC3)"
+ register "usb2_ports[6]" = "USB2_PORT_MID(OC7)"
+ register "usb2_ports[7]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[8]" = "USB2_PORT_MID(OC2)"
+ register "usb2_ports[9]" = "USB2_PORT_MID(OC7)"
+ register "usb2_ports[10]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[11]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[12]" = "USB2_PORT_MID(OC0)"
+ register "usb2_ports[13]" = "USB2_PORT_MID(OC6)"
+
+ register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC2)"
+ register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC2)"
+ register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC0)"
+ register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC0)"
+ register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC7)"
+ register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC7)"
+ register "usb3_ports[6]" = "USB3_PORT_DEFAULT(OC2)"
+ register "usb3_ports[7]" = "USB3_PORT_DEFAULT(OC2)"
+ register "usb3_ports[8]" = "USB3_PORT_DEFAULT(OC0)"
+ register "usb3_ports[9]" = "USB3_PORT_DEFAULT(OC0)"
+
+ # LPC generic I/O ranges
+ register "gen1_dec" = "0x00fc0201"
+ register "gen2_dec" = "0x003c0a01"
+ register "gen3_dec" = "0x000c03f1"
+ register "gen4_dec" = "0x000c0081"
+
+ register "sata_salp_support" = "1"
+
+ register "sata_ports_enable" = "{
+ [0] = 1,
+ [1] = 1,
+ [2] = 1,
+ [3] = 1,
+ [4] = 1,
+ [5] = 1,
+ [6] = 1,
+ [7] = 1,
+ }"
+
+ register "sata_ports_dev_slp" = "{
+ [0] = 0,
+ [1] = 0,
+ [2] = 0,
+ [3] = 0,
+ [4] = 0,
+ [5] = 0,
+ [6] = 1,
+ [7] = 1,
+ }"
+
device domain 0 on
device ref igpu on end
device ref crashlog off end
device ref xhci on end
+ device ref cnvi_wifi on end
device ref heci1 on end
device ref heci2 off end
device ref ide_r off end
@@ -10,17 +82,6 @@ chip soc/intel/alderlake
device ref heci3 off end
device ref heci4 off end
device ref sata on end
- device ref pcie_rp1 on end
- device ref pcie_rp2 on end
- device ref pcie_rp3 on end
- device ref pcie_rp4 on end
- device ref pcie_rp5 on end
- device ref pcie_rp6 on end
- device ref pcie_rp7 on end
- device ref pcie_rp8 on end
- device ref pcie_rp9 on end
- device ref pcie_rp10 on end
- device ref pcie_rp11 on end
device ref p2sb on end
device ref hda on end
device ref smbus on end