blob: aa9a1b76a76efe38254ef5b6692adfd96b22ca42 [file] [log] [blame]
Tim Crawfordfa5a4752022-11-01 11:59:02 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#include <mainboard/gpio.h>
4#include <soc/ramstage.h>
Tim Crawfordfa5a4752022-11-01 11:59:02 -06005
6void mainboard_silicon_init_params(FSP_S_CONFIG *params)
7{
8 params->CnviRfResetPinMux = 0x194CE404; // GPP_F4
9 params->CnviClkreqPinMux = 0x394CE605; // GPP_F5
10
11 params->PchSerialIoI2cSdaPinMux[0] = 0x1947c404; // GPP_H4
12 params->PchSerialIoI2cSclPinMux[0] = 0x1947a405; // GPP_H5
13 params->PchSerialIoI2cSdaPinMux[1] = 0x1947c606; // GPP_H6
14 params->PchSerialIoI2cSclPinMux[1] = 0x1947a607; // GPP_H7
15
16 params->SataPortDevSlpPinMux[0] = 0x59673e0c; // GPP_H12
17 params->SataPortDevSlpPinMux[1] = 0x5967400d; // GPP_H13
18
19 params->SataPortsSolidStateDrive[1] = 1;
Tim Crawford1d3e6eb2023-07-31 14:15:27 -060020
21 // Enable reporting CPU C10 state over eSPI
22 params->PchEspiHostC10ReportEnable = 1;
Tim Crawfordfa5a4752022-11-01 11:59:02 -060023}
24
25static void mainboard_init(void *chip_info)
26{
27 mainboard_configure_gpios();
28}
29
30struct chip_operations mainboard_ops = {
31 .init = mainboard_init,
32};