Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | # GPE configuration |
| 4 | register "gpe0_dw0" = "GPP_C" |
| 5 | |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 6 | # FSP Configuration |
Angel Pons | e16692e | 2020-08-03 12:54:48 +0200 | [diff] [blame] | 7 | register "DspEnable" = "1" |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 8 | |
| 9 | # VR Settings Configuration for 4 Domains |
| 10 | #+----------------+-------+-------+-------+-------+ |
| 11 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 12 | #+----------------+-------+-------+-------+-------+ |
| 13 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
| 14 | #| Psi2Threshold | 5A | 5A | 5A | 5A | |
| 15 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 16 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 17 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 18 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 19 | #| ImonOffset | 0 | 0 | 0 | 0 | |
| 20 | #| IccMax | 7A | 34A | 35A | 35A | |
| 21 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
| 22 | #+----------------+-------+-------+-------+-------+ |
| 23 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
Felix Singer | 21b5a9a | 2023-10-23 07:26:28 +0200 | [diff] [blame] | 24 | .vr_config_enable = 1, |
| 25 | .psi1threshold = VR_CFG_AMP(20), |
| 26 | .psi2threshold = VR_CFG_AMP(5), |
| 27 | .psi3threshold = VR_CFG_AMP(1), |
| 28 | .psi3enable = 1, |
| 29 | .psi4enable = 1, |
| 30 | .imon_slope = 0, |
| 31 | .imon_offset = 0, |
| 32 | .icc_max = VR_CFG_AMP(7), |
| 33 | .voltage_limit = 1520 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 34 | }" |
| 35 | |
| 36 | # Enable Root ports. |
| 37 | # PCIE Port 1 x4 -> SLOT1 |
| 38 | register "PcieRpEnable[0]" = "1" |
| 39 | register "PcieRpClkReqSupport[0]" = "1" |
| 40 | register "PcieRpClkReqNumber[0]" = "2" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 41 | # RP1, uses CLK SRC 2 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 42 | register "PcieRpClkSrcNumber[0]" = "2" |
| 43 | |
| 44 | # PCIE Port 5 x1 -> SLOT2/LAN |
| 45 | register "PcieRpEnable[4]" = "1" |
| 46 | register "PcieRpClkReqSupport[4]" = "1" |
| 47 | register "PcieRpClkReqNumber[4]" = "3" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 48 | # RP5, uses CLK SRC 3 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 49 | register "PcieRpClkSrcNumber[4]" = "3" |
| 50 | |
| 51 | # PCIE Port 6 x1 -> SLOT3 |
| 52 | register "PcieRpEnable[5]" = "1" |
| 53 | register "PcieRpClkReqSupport[5]" = "1" |
| 54 | register "PcieRpClkReqNumber[5]" = "1" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 55 | # RP6, uses CLK SRC 1 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 56 | register "PcieRpClkSrcNumber[5]" = "1" |
| 57 | |
| 58 | # PCIE Port 7 Disabled |
| 59 | # PCIE Port 8 Disabled |
| 60 | # PCIE Port 9 x1 -> WLAN |
| 61 | register "PcieRpEnable[8]" = "1" |
| 62 | register "PcieRpClkReqSupport[8]" = "1" |
| 63 | register "PcieRpClkReqNumber[8]" = "5" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 64 | # RP9, uses CLK SRC 5 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 65 | register "PcieRpClkSrcNumber[8]" = "5" |
| 66 | |
| 67 | # PCIE Port 10 x1 -> WiGig |
| 68 | register "PcieRpEnable[9]" = "1" |
| 69 | register "PcieRpClkReqSupport[9]" = "1" |
| 70 | register "PcieRpClkReqNumber[9]" = "4" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 71 | # RP10, uses CLK SRC 4 |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 72 | register "PcieRpClkSrcNumber[9]" = "4" |
| 73 | |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 74 | |
| 75 | register "SsicPortEnable" = "1" # Enable SSIC for WWAN |
| 76 | |
| 77 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
Felix Singer | 21b5a9a | 2023-10-23 07:26:28 +0200 | [diff] [blame] | 78 | register "SerialIoDevMode" = "{ |
| 79 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 80 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 81 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 82 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 83 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 84 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 85 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
| 86 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
| 87 | [PchSerialIoIndexUart0] = PchSerialIoPci, |
| 88 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 89 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 90 | }" |
| 91 | |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 92 | device domain 0 on |
Felix Singer | 6c83a71 | 2024-06-23 00:25:18 +0200 | [diff] [blame] | 93 | device ref south_xhci on |
| 94 | register "usb2_ports" = "{ |
| 95 | [0] = USB2_PORT_MAX(OC0), /* TYPE-A Port */ |
| 96 | [1] = USB2_PORT_MAX(OC2), /* TYPE-A Port */ |
| 97 | [2] = USB2_PORT_MAX(OC_SKIP), /* Bluetooth */ |
| 98 | [4] = USB2_PORT_MAX(OC_SKIP), /* Type-A Port */ |
| 99 | [5] = USB2_PORT_MAX(OC2), /* TYPE-A Port */ |
| 100 | [6] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 101 | [7] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 102 | [8] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 103 | [9] = USB2_PORT_MAX(OC1), /* TYPE-A Port */ |
| 104 | [10] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 105 | [11] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 106 | }" |
| 107 | |
| 108 | register "usb3_ports" = "{ |
| 109 | [0] = USB3_PORT_DEFAULT(OC0), /* TYPE-A Port */ |
| 110 | [1] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */ |
| 111 | [2] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */ |
| 112 | [3] = USB3_PORT_DEFAULT(OC1), /* TYPE-A Port */ |
| 113 | }" |
| 114 | end |
Felix Singer | 2dff4f0 | 2023-11-16 01:17:31 +0100 | [diff] [blame] | 115 | device ref imgu on end |
| 116 | device ref cio on end |
| 117 | device ref pcie_rp1 on end # x4 SLOT1 |
| 118 | device ref pcie_rp5 on end # x1 SLOT2/LAN |
| 119 | device ref pcie_rp6 on end # x1 SLOT3 |
| 120 | device ref pcie_rp9 on end # x1 WLAN |
| 121 | device ref pcie_rp10 on end # x1 WIGIG |
| 122 | device ref lpc_espi on |
Felix Singer | dcddc53f | 2024-06-23 03:39:24 +0200 | [diff] [blame^] | 123 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 124 | register "gen2_dec" = "0x000c0201" |
| 125 | |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 126 | chip drivers/pc80/tpm |
| 127 | device pnp 0c31.0 on end |
| 128 | end |
Felix Singer | 2dff4f0 | 2023-11-16 01:17:31 +0100 | [diff] [blame] | 129 | end |
| 130 | device ref hda on end |
Praveen hodagatta pranesh | 7e48b47 | 2019-01-04 01:10:25 +0800 | [diff] [blame] | 131 | end |
| 132 | end |