| 1 |
chip soc/intel/skylake |
| 2 |
|
| 3 |
# GPE configuration |
| 4 |
register "gpe0_dw0" = "GPP_C" |
| 5 |
|
| 6 |
# FSP Configuration |
| 7 |
register "DspEnable" = "true" |
| 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]" = "{ |
| 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 |
| 34 |
}" |
| 35 |
|
| 36 |
# Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 37 |
register "SerialIoDevMode" = "{ |
| 38 |
[PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 39 |
[PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 40 |
[PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 41 |
[PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 42 |
[PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 43 |
[PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 44 |
[PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
| 45 |
[PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
| 46 |
[PchSerialIoIndexUart0] = PchSerialIoPci, |
| 47 |
[PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 48 |
[PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 49 |
}" |
| 50 |
|
| 51 |
device domain 0 on |
| 52 |
device ref south_xhci on |
| 53 |
register "SsicPortEnable" = "1" # Enable SSIC for WWAN |
| 54 |
|
| 55 |
register "usb2_ports" = "{ |
| 56 |
[0] = USB2_PORT_MAX(OC0), /* TYPE-A Port */ |
| 57 |
[1] = USB2_PORT_MAX(OC2), /* TYPE-A Port */ |
| 58 |
[2] = USB2_PORT_MAX(OC_SKIP), /* Bluetooth */ |
| 59 |
[4] = USB2_PORT_MAX(OC_SKIP), /* Type-A Port */ |
| 60 |
[5] = USB2_PORT_MAX(OC2), /* TYPE-A Port */ |
| 61 |
[6] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 62 |
[7] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 63 |
[8] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 64 |
[9] = USB2_PORT_MAX(OC1), /* TYPE-A Port */ |
| 65 |
[10] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 66 |
[11] = USB2_PORT_MAX(OC_SKIP), /* TYPE-A Port */ |
| 67 |
}" |
| 68 |
|
| 69 |
register "usb3_ports" = "{ |
| 70 |
[0] = USB3_PORT_DEFAULT(OC0), /* TYPE-A Port */ |
| 71 |
[1] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */ |
| 72 |
[2] = USB3_PORT_DEFAULT(OC_SKIP), /* TYPE-A Port */ |
| 73 |
[3] = USB3_PORT_DEFAULT(OC1), /* TYPE-A Port */ |
| 74 |
}" |
| 75 |
end |
| 76 |
device ref imgu on end |
| 77 |
device ref cio on end |
| 78 |
device ref pcie_rp1 on |
| 79 |
# PCIE x4 -> SLOT1 |
| 80 |
register "PcieRpClkReqSupport[0]" = "true" |
| 81 |
register "PcieRpClkReqNumber[0]" = "2" |
| 82 |
register "PcieRpClkSrcNumber[0]" = "2" |
| 83 |
end |
| 84 |
device ref pcie_rp5 on |
| 85 |
# PCIE x1 -> SLOT2/LAN |
| 86 |
register "PcieRpClkReqSupport[4]" = "true" |
| 87 |
register "PcieRpClkReqNumber[4]" = "3" |
| 88 |
register "PcieRpClkSrcNumber[4]" = "3" |
| 89 |
end |
| 90 |
device ref pcie_rp6 on |
| 91 |
# PCIE x1 -> SLOT3 |
| 92 |
register "PcieRpClkReqSupport[5]" = "true" |
| 93 |
register "PcieRpClkReqNumber[5]" = "1" |
| 94 |
register "PcieRpClkSrcNumber[5]" = "1" |
| 95 |
end |
| 96 |
device ref pcie_rp9 on |
| 97 |
# PCIE x1 -> WLAN |
| 98 |
register "PcieRpClkReqSupport[8]" = "true" |
| 99 |
register "PcieRpClkReqNumber[8]" = "5" |
| 100 |
register "PcieRpClkSrcNumber[8]" = "5" |
| 101 |
end |
| 102 |
device ref pcie_rp10 on |
| 103 |
# PCIE x1 -> WiGig |
| 104 |
register "PcieRpClkReqSupport[9]" = "true" |
| 105 |
register "PcieRpClkReqNumber[9]" = "4" |
| 106 |
register "PcieRpClkSrcNumber[9]" = "4" |
| 107 |
end |
| 108 |
device ref lpc_espi on |
| 109 |
# EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 110 |
register "gen2_dec" = "0x000c0201" |
| 111 |
|
| 112 |
chip drivers/pc80/tpm |
| 113 |
device pnp 0c31.0 on end |
| 114 |
end |
| 115 |
end |
| 116 |
device ref hda on end |
| 117 |
end |
| 118 |
end |