Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2017 Intel Corporation. |
| 5 | ## Copyright (C) 2019 Maxim Polyakov <max.senia.poliak@gmail.com> |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or modify |
| 8 | ## it under the terms of the GNU General Public License as published by |
| 9 | ## the Free Software Foundation; version 2 of the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | |
| 17 | chip soc/intel/skylake |
| 18 | |
| 19 | # Enable deep Sx states |
| 20 | register "deep_s3_enable_ac" = "0" |
| 21 | register "deep_s3_enable_dc" = "0" |
| 22 | register "deep_s5_enable_ac" = "0" |
| 23 | register "deep_s5_enable_dc" = "0" |
| 24 | register "deep_sx_config" = "DSX_EN_WAKE_PIN" |
| 25 | |
| 26 | register "eist_enable" = "1" |
| 27 | |
| 28 | # GPE configuration |
| 29 | # Note that GPE events called out in ASL code rely on this |
| 30 | # route. i.e. If this route changes then the affected GPE |
| 31 | # offset bits also need to be changed. |
| 32 | register "gpe0_dw0" = "GPP_B" |
| 33 | register "gpe0_dw1" = "GPP_D" |
| 34 | register "gpe0_dw2" = "GPP_E" |
| 35 | |
Maxim Polyakov | 7d549f8 | 2019-09-11 18:56:24 +0300 | [diff] [blame] | 36 | # Set @0x280-0x2ff I/O Range for SuperIO HWM |
| 37 | register "gen1_dec" = "0x007c0281" |
| 38 | |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 39 | # Enable "Intel Speed Shift Technology" |
| 40 | register "speed_shift_enable" = "1" |
| 41 | |
| 42 | # Enable DPTF |
| 43 | register "dptf_enable" = "1" |
| 44 | |
| 45 | # FSP Configuration |
| 46 | register "SmbusEnable" = "1" |
| 47 | register "ScsEmmcEnabled" = "0" |
| 48 | register "ScsEmmcHs400Enabled" = "0" |
| 49 | register "ScsSdCardEnabled" = "0" |
| 50 | register "HeciEnabled" = "0" |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 51 | register "SkipExtGfxScan" = "0" |
Maxim Polyakov | 0de6c50 | 2019-04-03 00:44:28 +0300 | [diff] [blame] | 52 | register "PrimaryDisplay" = "Display_PEG" |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 53 | register "Device4Enable" = "1" |
| 54 | register "SaGv" = "SaGv_Enabled" |
| 55 | register "PmTimerDisabled" = "0" |
| 56 | register "EnableAzalia" = "1" |
| 57 | register "DspEnable" = "0" |
Michael Niewöhner | 6238563 | 2019-09-23 14:38:41 +0200 | [diff] [blame] | 58 | register "PchHdaVcType" = "Vc1" |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 59 | |
| 60 | register "pirqa_routing" = "PCH_IRQ11" |
| 61 | register "pirqb_routing" = "PCH_IRQ10" |
| 62 | register "pirqc_routing" = "PCH_IRQ11" |
| 63 | register "pirqd_routing" = "PCH_IRQ11" |
| 64 | register "pirqe_routing" = "PCH_IRQ11" |
| 65 | register "pirqf_routing" = "PCH_IRQ11" |
| 66 | register "pirqg_routing" = "PCH_IRQ11" |
| 67 | register "pirqh_routing" = "PCH_IRQ11" |
| 68 | |
Maxim Polyakov | e6a491e | 2019-06-26 11:17:37 +0300 | [diff] [blame] | 69 | # Set LPC Serial IRQ mode |
| 70 | register "serirq_mode" = "SERIRQ_CONTINUOUS" |
| 71 | |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 72 | # Enabling SLP_S3#, SLP_S4#, SLP_SUS and SLP_A Stretch |
| 73 | # SLP_S3 Minimum Assertion Width. Values 0: 60us, 1: 1ms, 2: 50ms, 3: 2s |
| 74 | register "PmConfigSlpS3MinAssert" = "0x02" |
| 75 | |
| 76 | # SLP_S4 Minimum Assertion Width. Values 0: default, 1: 1s, 2: 2s, 3: 3s, 4: 4s |
| 77 | register "PmConfigSlpS4MinAssert" = "0x04" |
| 78 | |
| 79 | # SLP_SUS Minimum Assertion Width. Values 0: 0ms, 1: 500ms, 2: 1s, 3: 4s |
| 80 | register "PmConfigSlpSusMinAssert" = "0x03" |
| 81 | |
| 82 | # SLP_A Minimum Assertion Width. Values 0: 0ms, 1: 4s, 2: 98ms, 3: 2s |
| 83 | register "PmConfigSlpAMinAssert" = "0x03" |
| 84 | |
| 85 | # VR Settings Configuration for 5 Domains |
| 86 | #+----------------+-------+-------+-------------+-------------+-------+ |
| 87 | #| Domain/Setting | SA | IA | Ring Sliced | GT Unsliced | GT | |
| 88 | #+----------------+-------+-------+-------------+-------------+-------+ |
| 89 | #| Psi1Threshold | 20A | 20A | 20A | 20A | 20A | |
| 90 | #| Psi2Threshold | 4A | 5A | 5A | 5A | 5A | |
| 91 | #| Psi3Threshold | 1A | 1A | 1A | 1A | 1A | |
| 92 | #| Psi3Enable | 1 | 1 | 1 | 1 | 1 | |
| 93 | #| Psi4Enable | 1 | 1 | 1 | 1 | 1 | |
| 94 | #| ImonSlope | 0 | 0 | 0 | 0 | 0 | |
| 95 | #| ImonOffset | 0 | 0 | 0 | 0 | 0 | |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 96 | #| IccMax* | 0 | 0 | 0 | 0 | 0 | |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 97 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | 1.52V | |
| 98 | #+----------------+-------+-------+-------------+-------------+-------+ |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 99 | # * - is set automatically for the KBL-S/KBL-DT CPUs in the vr_config.c |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 100 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 101 | .vr_config_enable = 1, \ |
Maxim Polyakov | 6342c93 | 2019-08-21 14:47:59 +0300 | [diff] [blame] | 102 | .psi1threshold = VR_CFG_AMP(20), \ |
| 103 | .psi2threshold = VR_CFG_AMP(4), \ |
| 104 | .psi3threshold = VR_CFG_AMP(1), \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 105 | .psi3enable = 1, \ |
| 106 | .psi4enable = 1, \ |
| 107 | .imon_slope = 0x0, \ |
| 108 | .imon_offset = 0x0, \ |
| 109 | .icc_max = 0x0, \ |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 110 | .voltage_limit = 1520 \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 111 | }" |
| 112 | |
| 113 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 114 | .vr_config_enable = 1, \ |
Maxim Polyakov | 6342c93 | 2019-08-21 14:47:59 +0300 | [diff] [blame] | 115 | .psi1threshold = VR_CFG_AMP(20), \ |
| 116 | .psi2threshold = VR_CFG_AMP(5), \ |
| 117 | .psi3threshold = VR_CFG_AMP(1), \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 118 | .psi3enable = 1, \ |
| 119 | .psi4enable = 1, \ |
| 120 | .imon_slope = 0x0, \ |
| 121 | .imon_offset = 0x0, \ |
| 122 | .icc_max = 0x0, \ |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 123 | .voltage_limit = 1520 \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 124 | }" |
| 125 | |
| 126 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 127 | .vr_config_enable = 1, \ |
Maxim Polyakov | 6342c93 | 2019-08-21 14:47:59 +0300 | [diff] [blame] | 128 | .psi1threshold = VR_CFG_AMP(20), \ |
| 129 | .psi2threshold = VR_CFG_AMP(5), \ |
| 130 | .psi3threshold = VR_CFG_AMP(1), \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 131 | .psi3enable = 1, \ |
| 132 | .psi4enable = 1, \ |
| 133 | .imon_slope = 0x0, \ |
| 134 | .imon_offset = 0x0, \ |
| 135 | .icc_max = 0x0 ,\ |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 136 | .voltage_limit = 1520 \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 137 | }" |
| 138 | |
| 139 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 140 | .vr_config_enable = 1, \ |
Maxim Polyakov | 6342c93 | 2019-08-21 14:47:59 +0300 | [diff] [blame] | 141 | .psi1threshold = VR_CFG_AMP(20), \ |
| 142 | .psi2threshold = VR_CFG_AMP(5), \ |
| 143 | .psi3threshold = VR_CFG_AMP(1), \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 144 | .psi3enable = 1, \ |
| 145 | .psi4enable = 1, \ |
| 146 | .imon_slope = 0x0, \ |
| 147 | .imon_offset = 0x0, \ |
| 148 | .icc_max = 0x0, \ |
Maxim Polyakov | a546f11 | 2019-08-21 14:21:03 +0300 | [diff] [blame] | 149 | .voltage_limit = 1520 \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 150 | }" |
| 151 | |
| 152 | register "EnableLan" = "0" |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 153 | register "PmTimerDisabled" = "0" |
| 154 | |
| 155 | # USB |
| 156 | register "usb2_ports[0]" = "USB2_PORT_MID(OC0)" |
| 157 | register "usb2_ports[1]" = "USB2_PORT_MID(OC0)" |
| 158 | register "usb2_ports[2]" = "USB2_PORT_MID(OC4)" |
| 159 | register "usb2_ports[3]" = "USB2_PORT_MID(OC4)" |
| 160 | register "usb2_ports[4]" = "USB2_PORT_MID(OC2)" |
| 161 | register "usb2_ports[5]" = "USB2_PORT_MID(OC2)" |
| 162 | register "usb2_ports[6]" = "USB2_PORT_MID(OC0)" |
| 163 | register "usb2_ports[7]" = "USB2_PORT_MID(OC0)" |
| 164 | register "usb2_ports[8]" = "USB2_PORT_MID(OC0)" |
| 165 | register "usb2_ports[9]" = "USB2_PORT_MID(OC0)" |
| 166 | register "usb2_ports[10]" = "USB2_PORT_MID(OC1)" |
| 167 | register "usb2_ports[11]" = "USB2_PORT_MID(OC1)" |
| 168 | register "usb2_ports[12]" = "USB2_PORT_MID(OC_SKIP)" |
| 169 | register "usb2_ports[13]" = "USB2_PORT_MID(OC_SKIP)" |
| 170 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" |
| 171 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC0)" |
| 172 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC3)" |
| 173 | register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC3)" |
| 174 | register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC1)" |
| 175 | register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" |
| 176 | register "usb3_ports[6]" = "USB3_PORT_DEFAULT(OC_SKIP)" |
| 177 | register "usb3_ports[7]" = "USB3_PORT_DEFAULT(OC_SKIP)" |
| 178 | register "usb3_ports[8]" = "USB3_PORT_DEFAULT(OC_SKIP)" |
| 179 | register "usb3_ports[9]" = "USB3_PORT_DEFAULT(OC_SKIP)" |
| 180 | |
| 181 | # SATA |
| 182 | register "EnableSata" = "1" |
| 183 | register "SataSalpSupport" = "1" |
| 184 | register "SataPortsEnable" = "{ \ |
| 185 | [0] = 1, \ |
| 186 | [1] = 1, \ |
| 187 | [2] = 1, \ |
| 188 | [3] = 1, \ |
Maxim Polyakov | 50f4c5a | 2019-08-21 19:05:13 +0300 | [diff] [blame] | 189 | [4] = 0, \ |
| 190 | [5] = 0, \ |
| 191 | [6] = 0, \ |
| 192 | [7] = 0, \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 193 | }" |
Maxim Polyakov | 50f4c5a | 2019-08-21 19:05:13 +0300 | [diff] [blame] | 194 | # SATA4 and SATA5 are located in the lower right corner |
| 195 | # of the board, but there is no connector for this |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 196 | |
| 197 | # PCH UART, SPI, I2C |
| 198 | register "SerialIoDevMode" = "{ \ |
Maxim Polyakov | a433da7 | 2019-08-21 16:29:07 +0300 | [diff] [blame] | 199 | [PchSerialIoIndexI2C0] = PchSerialIoDisabled, \ |
| 200 | [PchSerialIoIndexI2C1] = PchSerialIoDisabled, \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 201 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, \ |
| 202 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, \ |
| 203 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, \ |
| 204 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, \ |
Maxim Polyakov | a433da7 | 2019-08-21 16:29:07 +0300 | [diff] [blame] | 205 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, \ |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 206 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, \ |
| 207 | [PchSerialIoIndexUart0] = PchSerialIoDisabled, \ |
| 208 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, \ |
| 209 | [PchSerialIoIndexUart2] = PchSerialIoDisabled, \ |
| 210 | }" |
| 211 | |
Maxim Polyakov | 16a1181 | 2019-03-18 10:50:01 +0300 | [diff] [blame] | 212 | # Set params for PEG 0:1:0 |
| 213 | register "Peg0MaxLinkWidth" = "Peg0_x16" |
| 214 | # Configure PCIe clockgen in PCH |
| 215 | # PEG0 uses SRCCLKREQ0 and CLKSRC0 |
| 216 | register "PcieRpClkReqSupport[0]" = "1" |
| 217 | register "PcieRpClkReqNumber[0]" = "0" |
| 218 | register "PcieRpClkSrcNumber[0]" = "0" |
| 219 | |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 220 | # Enable Root port 6(x1) for LAN. |
| 221 | register "PcieRpEnable[5]" = "1" |
| 222 | # Enable CLKREQ# |
| 223 | register "PcieRpClkReqSupport[5]" = "1" |
| 224 | # Use SRCCLKREQ1# |
| 225 | register "PcieRpClkReqNumber[5]" = "1" |
| 226 | # Enable Advanced Error Reporting |
| 227 | register "PcieRpAdvancedErrorReporting[5]" = "1" |
| 228 | # Enable Latency Tolerance Reporting Mechanism |
| 229 | register "PcieRpLtrEnable[5]" = "1" |
| 230 | # Use CLK SRC 1 |
| 231 | register "PcieRpClkSrcNumber[5]" = "1" |
| 232 | |
| 233 | # Enable Root port 5 (x1) for PCIE slot. |
| 234 | register "PcieRpEnable[4]" = "1" |
| 235 | # Enable CLKREQ# |
| 236 | register "PcieRpClkReqSupport[4]" = "1" |
| 237 | # Use SRCCLKREQ2# |
| 238 | register "PcieRpClkReqNumber[4]" = "2" |
| 239 | # Enable Advanced Error Reporting |
| 240 | register "PcieRpAdvancedErrorReporting[4]" = "1" |
| 241 | # Enable Latency Tolerance Reporting Mechanism |
| 242 | register "PcieRpLtrEnable[4]" = "1" |
| 243 | # Use CLK SRC 2 |
| 244 | register "PcieRpClkSrcNumber[4]" = "2" |
| 245 | # Use Hot Plug subsystem |
| 246 | register "PcieRpHotPlug[4]" = "1" |
| 247 | |
| 248 | # Enable Root port 7(x1) for PCIE slot. |
| 249 | register "PcieRpEnable[6]" = "1" |
| 250 | # Enable CLKREQ# |
| 251 | register "PcieRpClkReqSupport[6]" = "1" |
| 252 | # Use SRCCLKREQ3# |
| 253 | register "PcieRpClkReqNumber[6]" = "3" |
| 254 | # Enable Advanced Error Reporting |
| 255 | register "PcieRpAdvancedErrorReporting[6]" = "1" |
| 256 | # Enable Latency Tolerance Reporting Mechanism |
| 257 | register "PcieRpLtrEnable[6]" = "1" |
| 258 | # Use CLK SRC 3 |
| 259 | register "PcieRpClkSrcNumber[6]" = "3" |
| 260 | # Use Hot Plug subsystem |
| 261 | register "PcieRpHotPlug[6]" = "1" |
| 262 | |
| 263 | # PL2 override 91W |
| 264 | register "tdp_pl2_override" = "91" |
| 265 | |
| 266 | # Send an extra VR mailbox command for the PS4 exit issue |
| 267 | register "SendVrMbxCmd" = "2" |
| 268 | |
| 269 | device cpu_cluster 0 on |
| 270 | device lapic 0 on end |
| 271 | end |
| 272 | device domain 0 on |
| 273 | device pci 00.0 on # Host Bridge |
| 274 | subsystemid 0x1849 0x191f |
| 275 | end |
| 276 | device pci 01.0 on # PEG |
| 277 | subsystemid 0x1849 0x1901 |
| 278 | end |
| 279 | device pci 02.0 on # Integrated Graphics Device |
| 280 | subsystemid 0x1849 0x1912 |
| 281 | end |
Maxim Polyakov | 59613ee | 2019-08-23 15:16:12 +0300 | [diff] [blame] | 282 | device pci 04.0 on end # Thermal Subsystem |
| 283 | device pci 08.0 off end # Gaussian Mixture Model |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 284 | device pci 14.0 on # USB xHCI |
| 285 | subsystemid 0x1849 0xa131 |
| 286 | end |
| 287 | device pci 14.1 off end # USB xDCI (OTG) |
| 288 | device pci 14.2 on # Thermal Subsystem |
| 289 | subsystemid 0x1849 0xa131 |
| 290 | end |
| 291 | device pci 15.0 off end # I2C #0 |
| 292 | device pci 15.1 off end # I2C #1 |
| 293 | device pci 15.2 off end # I2C #2 |
| 294 | device pci 15.3 off end # I2C #3 |
| 295 | device pci 16.0 on # Management Engine Interface 1 |
| 296 | subsystemid 0x1849 0xa131 |
| 297 | end |
| 298 | device pci 16.1 off end # Management Engine Interface 2 |
| 299 | device pci 16.2 off end # Management Engine IDE-R |
| 300 | device pci 16.3 off end # Management Engine KT Redirection |
| 301 | device pci 16.4 off end # Management Engine Interface 3 |
| 302 | device pci 17.0 on # SATA |
| 303 | subsystemid 0x1849 0xa102 |
| 304 | end |
| 305 | device pci 19.0 off end # UART #2 |
| 306 | device pci 19.1 off end # I2C #5 |
| 307 | device pci 19.2 off end # I2C #4 |
| 308 | device pci 1c.0 on end # PCI Express Port 1 |
| 309 | device pci 1c.1 off end # PCI Express Port 2 |
| 310 | device pci 1c.2 off end # PCI Express Port 3 |
| 311 | device pci 1c.3 off end # PCI Express Port 4 |
| 312 | device pci 1c.4 on end # PCI Express Port 5 |
| 313 | device pci 1c.5 on end # PCI Express Port 6 |
| 314 | device pci 1c.6 on end # PCI Express Port 7 |
| 315 | device pci 1c.7 off end # PCI Express Port 8 |
| 316 | device pci 1d.0 off end # PCI Express Port 9 |
| 317 | device pci 1d.1 off end # PCI Express Port 10 |
| 318 | device pci 1d.2 off end # PCI Express Port 11 |
| 319 | device pci 1d.3 off end # PCI Express Port 12 |
| 320 | device pci 1e.0 off end # UART #0 |
| 321 | device pci 1e.1 off end # UART #1 |
| 322 | device pci 1e.2 off end # GSPI #0 |
| 323 | device pci 1e.3 off end # GSPI #1 |
| 324 | device pci 1e.4 off end # eMMC |
| 325 | device pci 1e.5 off end # SDIO |
| 326 | device pci 1e.6 off end # SDCard |
| 327 | device pci 1f.0 on # LPC bridge |
| 328 | subsystemid 0x1849 0x1a43 |
Maxim Polyakov | 66d875a | 2019-09-12 17:27:10 +0300 | [diff] [blame] | 329 | |
Maxim Polyakov | c4f77d9 | 2019-10-27 15:07:00 +0300 | [diff] [blame^] | 330 | chip superio/common |
| 331 | device pnp 2e.0 on # passes SIO base addr to SSDT gen |
| 332 | |
| 333 | chip superio/nuvoton/nct6791d |
| 334 | device pnp 2e.1 on |
| 335 | # Global Control Registers |
| 336 | # Device IRQ Polarity |
| 337 | irq 0x13 = 0x00 |
| 338 | irq 0x14 = 0x00 |
| 339 | # Global Option |
| 340 | irq 0x24 = 0xfb |
| 341 | irq 0x27 = 0x10 |
| 342 | # Multi Function |
| 343 | irq 0x1a = 0xb0 |
| 344 | irq 0x1b = 0xe6 |
| 345 | irq 0x2a = 0x04 |
| 346 | irq 0x2c = 0x40 |
| 347 | irq 0x2d = 0x03 |
| 348 | |
| 349 | # Parallel Port |
| 350 | io 0x60 = 0x0378 |
| 351 | irq 0x70 = 7 |
| 352 | drq 0x74 = 4 # No DMA |
| 353 | irq 0xf0 = 0x3c # Printer mode |
| 354 | end |
| 355 | device pnp 2e.2 on # UART A |
| 356 | io 0x60 = 0x03f8 |
| 357 | irq 0x70 = 4 |
| 358 | end |
| 359 | device pnp 2e.3 on # IR |
| 360 | io 0x60 = 0x02f8 |
| 361 | irq 0x70 = 3 |
| 362 | end |
| 363 | device pnp 2e.5 on # PS/2 KBC |
| 364 | io 0x60 = 0x0060 |
| 365 | io 0x62 = 0x0064 |
| 366 | irq 0x70 = 1 # Keyboard |
| 367 | irq 0x72 = 12 # Mouse |
| 368 | end |
| 369 | device pnp 2e.6 off end # CIR |
| 370 | device pnp 2e.7 on # GPIO6 |
| 371 | irq 0xf6 = 0xff |
| 372 | irq 0xf7 = 0xff |
| 373 | irq 0xf8 = 0xff |
| 374 | end |
| 375 | device pnp 2e.107 on # GPIO7 |
| 376 | irq 0xe0 = 0x7f |
| 377 | irq 0xe1 = 0x0d |
| 378 | end |
| 379 | device pnp 2e.207 on # GPIO8 |
| 380 | irq 0xe6 = 0xff |
| 381 | irq 0xe7 = 0xff |
| 382 | irq 0xed = 0xff |
| 383 | end |
| 384 | device pnp 2e.8 off end # WDT |
| 385 | device pnp 2e.108 on end # GPIO0 |
| 386 | device pnp 2e.308 off end # GPIO base |
| 387 | device pnp 2e.408 off end # WDTMEM |
| 388 | device pnp 2e.708 on end # GPIO1 |
| 389 | device pnp 2e.9 on end # GPIO2 |
| 390 | device pnp 2e.109 on # GPIO3 |
| 391 | irq 0xe4 = 0x7b |
| 392 | irq 0xe5 = 0x02 |
| 393 | irq 0xea = 0x04 |
| 394 | end |
| 395 | device pnp 2e.209 on # GPIO4 |
| 396 | irq 0xf0 = 0x7f |
| 397 | irq 0xf1 = 0x80 |
| 398 | end |
| 399 | device pnp 2e.309 on # GPIO5 |
| 400 | irq 0xf4 = 0xdf |
| 401 | irq 0xf5 = 0xd5 |
| 402 | end |
| 403 | device pnp 2e.a on |
| 404 | # Power RAM in S3 and let the PCH |
| 405 | # handle power failure actions |
| 406 | irq 0xe4 = 0x70 |
| 407 | # Set HWM reset source to LRESET# |
| 408 | irq 0xe7 = 0x01 |
| 409 | end # ACPI |
| 410 | device pnp 2e.b on # HWM, LED |
| 411 | io 0x60 = 0x0290 |
| 412 | io 0x62 = 0 |
| 413 | irq 0x70 = 0 |
| 414 | end |
| 415 | device pnp 2e.d off end # BCLK, WDT2, WDT_MEM |
| 416 | device pnp 2e.e off end # CIR wake-up |
| 417 | device pnp 2e.f off end # GPIO PP/OD |
| 418 | device pnp 2e.14 off end # SVID, Port 80 UART |
| 419 | device pnp 2e.16 off end # DS5 |
| 420 | device pnp 2e.116 off end # DS3 |
| 421 | device pnp 2e.316 on end # PCHDSW |
| 422 | device pnp 2e.416 off end # DSWWOPT |
| 423 | device pnp 2e.516 on end # DS3OPT |
| 424 | device pnp 2e.616 on end # DSDSS |
| 425 | device pnp 2e.716 off end # DSPU |
| 426 | end # chip superio/nuvoton/nct6791d |
| 427 | |
| 428 | end # device pnp 2e.0 |
| 429 | end # chip superio/common |
| 430 | |
Maxim Polyakov | 1217af5 | 2019-02-25 11:06:19 +0300 | [diff] [blame] | 431 | chip drivers/pc80/tpm |
| 432 | device pnp 4e.0 on end # TPM module |
| 433 | end |
| 434 | end # LPC Interface |
| 435 | device pci 1f.1 on end # P2SB |
| 436 | device pci 1f.2 on end # Power Management Controller |
| 437 | device pci 1f.3 on end # Intel HDA |
| 438 | device pci 1f.4 on end # SMBus |
| 439 | device pci 1f.5 on end # PCH SPI |
| 440 | device pci 1f.6 off end # GbE |
| 441 | end |
| 442 | end |