Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | # Deep Sx states |
| 4 | register "deep_s3_enable_ac" = "0" |
Furquan Shaikh | d37107e | 2017-11-08 11:28:10 -0800 | [diff] [blame] | 5 | register "deep_s3_enable_dc" = "0" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 6 | register "deep_s5_enable_ac" = "1" |
| 7 | register "deep_s5_enable_dc" = "1" |
Furquan Shaikh | 9d867af | 2017-12-03 21:45:47 -0800 | [diff] [blame] | 8 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN | DSX_DIS_AC_PRESENT_PD" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 9 | |
| 10 | # GPE configuration |
| 11 | # Note that GPE events called out in ASL code rely on this |
| 12 | # route. i.e. If this route changes then the affected GPE |
| 13 | # offset bits also need to be changed. |
| 14 | register "gpe0_dw0" = "GPP_B" |
| 15 | register "gpe0_dw1" = "GPP_D" |
| 16 | register "gpe0_dw2" = "GPP_E" |
| 17 | |
| 18 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 19 | register "gen1_dec" = "0x00fc0801" |
| 20 | register "gen2_dec" = "0x000c0201" |
| 21 | # EC memory map range is 0x900-0x9ff |
| 22 | register "gen3_dec" = "0x00fc0901" |
| 23 | |
Seunghwan Kim | 3f0c724 | 2018-02-13 16:58:00 +0900 | [diff] [blame] | 24 | # Enable DPTF |
| 25 | register "dptf_enable" = "1" |
| 26 | |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 27 | # Enable S0ix |
| 28 | register "s0ix_enable" = "1" |
| 29 | |
| 30 | # FSP Configuration |
| 31 | register "ProbelessTrace" = "0" |
| 32 | register "EnableLan" = "0" |
| 33 | register "EnableSata" = "0" |
| 34 | register "SataSalpSupport" = "0" |
| 35 | register "SataMode" = "0" |
| 36 | register "SataPortsEnable[0]" = "0" |
| 37 | register "EnableAzalia" = "1" |
| 38 | register "DspEnable" = "1" |
| 39 | register "IoBufferOwnership" = "3" |
| 40 | register "EnableTraceHub" = "0" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 41 | register "SsicPortEnable" = "0" |
| 42 | register "SmbusEnable" = "1" |
Andy Yeh | bc81b67 | 2017-12-14 13:14:35 +0800 | [diff] [blame] | 43 | register "Cio2Enable" = "1" |
| 44 | register "SaImguEnable" = "1" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 45 | register "ScsEmmcEnabled" = "1" |
| 46 | register "ScsEmmcHs400Enabled" = "1" |
| 47 | register "ScsSdCardEnabled" = "2" |
| 48 | register "IshEnable" = "0" |
| 49 | register "PttSwitch" = "0" |
| 50 | register "InternalGfx" = "1" |
| 51 | register "SkipExtGfxScan" = "1" |
| 52 | register "Device4Enable" = "1" |
| 53 | register "HeciEnabled" = "0" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 54 | register "SaGv" = "3" |
| 55 | register "SerialIrqConfigSirqEnable" = "1" |
| 56 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 57 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 58 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 59 | register "PmConfigSlpAMinAssert" = "3" # 2s |
| 60 | register "PmTimerDisabled" = "1" |
Furquan Shaikh | 9226385 | 2018-04-16 23:26:55 -0700 | [diff] [blame] | 61 | register "VmxEnable" = "1" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 62 | |
| 63 | register "pirqa_routing" = "PCH_IRQ11" |
| 64 | register "pirqb_routing" = "PCH_IRQ10" |
| 65 | register "pirqc_routing" = "PCH_IRQ11" |
| 66 | register "pirqd_routing" = "PCH_IRQ11" |
| 67 | register "pirqe_routing" = "PCH_IRQ11" |
| 68 | register "pirqf_routing" = "PCH_IRQ11" |
| 69 | register "pirqg_routing" = "PCH_IRQ11" |
| 70 | register "pirqh_routing" = "PCH_IRQ11" |
| 71 | |
Chris Wang | 51de180 | 2017-11-24 13:43:50 +0800 | [diff] [blame] | 72 | # VR Slew rate setting for improving audible noise |
| 73 | register "AcousticNoiseMitigation" = "1" |
| 74 | register "FastPkgCRampDisableIa" = "1" |
| 75 | register "FastPkgCRampDisableGt" = "1" |
| 76 | register "FastPkgCRampDisableSa" = "1" |
| 77 | register "SlowSlewRateForIa" = "3" # Fast/16 |
| 78 | register "SlowSlewRateForGt" = "3" # Fast/16 |
Seunghwan Kim | 3dd88f1 | 2018-02-27 14:27:26 +0900 | [diff] [blame] | 79 | register "SlowSlewRateForSa" = "2" # Fast/8 |
| 80 | |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 81 | # VR Settings Configuration for 4 Domains |
| 82 | #+----------------+-------+-------+-------+-------+ |
| 83 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 84 | #+----------------+-------+-------+-------+-------+ |
| 85 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
| 86 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
| 87 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 88 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 89 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 90 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 91 | #| ImonOffset | 0 | 0 | 0 | 0 | |
| 92 | #| IccMax | 5A | 24A | 24A | 24A | |
| 93 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
| 94 | #| AcLoadline | 15 | 5.7 | 5.5 | 5.5 | |
| 95 | #| DcLoadline | 14.3 | 4.83 | 4.2 | 4.2 | |
| 96 | #+----------------+-------+-------+-------+-------+ |
| 97 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 98 | .vr_config_enable = 1, |
| 99 | .psi1threshold = VR_CFG_AMP(20), |
| 100 | .psi2threshold = VR_CFG_AMP(2), |
| 101 | .psi3threshold = VR_CFG_AMP(1), |
| 102 | .psi3enable = 1, |
| 103 | .psi4enable = 1, |
| 104 | .imon_slope = 0x0, |
| 105 | .imon_offset = 0x0, |
| 106 | .icc_max = VR_CFG_AMP(5), |
| 107 | .voltage_limit = 1520, |
| 108 | .ac_loadline = 1500, |
| 109 | .dc_loadline = 1430, |
| 110 | }" |
| 111 | |
| 112 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 113 | .vr_config_enable = 1, |
| 114 | .psi1threshold = VR_CFG_AMP(20), |
| 115 | .psi2threshold = VR_CFG_AMP(2), |
| 116 | .psi3threshold = VR_CFG_AMP(1), |
| 117 | .psi3enable = 1, |
| 118 | .psi4enable = 1, |
| 119 | .imon_slope = 0x0, |
| 120 | .imon_offset = 0x0, |
| 121 | .icc_max = VR_CFG_AMP(24), |
| 122 | .voltage_limit = 1520, |
| 123 | .ac_loadline = 570, |
| 124 | .dc_loadline = 483, |
| 125 | }" |
| 126 | |
| 127 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 128 | .vr_config_enable = 1, |
| 129 | .psi1threshold = VR_CFG_AMP(20), |
| 130 | .psi2threshold = VR_CFG_AMP(2), |
| 131 | .psi3threshold = VR_CFG_AMP(1), |
| 132 | .psi3enable = 1, |
| 133 | .psi4enable = 1, |
| 134 | .imon_slope = 0x0, |
| 135 | .imon_offset = 0x0, |
| 136 | .icc_max = VR_CFG_AMP(24), |
| 137 | .voltage_limit = 1520, |
| 138 | .ac_loadline = 550, |
| 139 | .dc_loadline = 420, |
| 140 | }" |
| 141 | |
| 142 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 143 | .vr_config_enable = 1, |
| 144 | .psi1threshold = VR_CFG_AMP(20), |
| 145 | .psi2threshold = VR_CFG_AMP(2), |
| 146 | .psi3threshold = VR_CFG_AMP(1), |
| 147 | .psi3enable = 1, |
| 148 | .psi4enable = 1, |
| 149 | .imon_slope = 0x0, |
| 150 | .imon_offset = 0x0, |
| 151 | .icc_max = VR_CFG_AMP(24), |
| 152 | .voltage_limit = 1520, |
| 153 | .ac_loadline = 550, |
| 154 | .dc_loadline = 420, |
| 155 | }" |
| 156 | |
| 157 | # Enable Root port 1. |
| 158 | register "PcieRpEnable[0]" = "1" |
| 159 | # Enable CLKREQ# |
| 160 | register "PcieRpClkReqSupport[0]" = "1" |
| 161 | # RP 1 uses SRCCLKREQ1# |
| 162 | register "PcieRpClkReqNumber[0]" = "1" |
Divya Chellap | e7fb7ce | 2017-12-19 20:16:50 +0530 | [diff] [blame] | 163 | # RP 1 uses uses CLK SRC 1 |
| 164 | register "PcieRpClkSrcNumber[0]" = "1" |
Furquan Shaikh | 9c12e90 | 2017-12-17 20:31:18 -0800 | [diff] [blame] | 165 | # RP 1, Enable Advanced Error Reporting |
| 166 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 167 | # RP 1, Enable Latency Tolerance Reporting Mechanism |
| 168 | register "PcieRpLtrEnable[0]" = "1" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 169 | |
Seunghwan Kim | 635e512 | 2018-06-14 12:39:56 +0900 | [diff] [blame] | 170 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC1)" # Type-C Port 1 |
| 171 | register "usb2_ports[1]" = "USB2_PORT_SHORT(OC2)" # Type-A Port |
sh.kim | 35325e1 | 2017-12-01 16:09:50 +0900 | [diff] [blame] | 172 | register "usb2_ports[2]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth |
Seunghwan Kim | 635e512 | 2018-06-14 12:39:56 +0900 | [diff] [blame] | 173 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC0)" # Type-C Port 2 |
sh.kim | 35325e1 | 2017-12-01 16:09:50 +0900 | [diff] [blame] | 174 | register "usb2_ports[6]" = "USB2_PORT_SHORT(OC_SKIP)" # H1 |
| 175 | register "usb2_ports[8]" = "USB2_PORT_SHORT(OC_SKIP)" # Camera |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 176 | |
Seunghwan Kim | 635e512 | 2018-06-14 12:39:56 +0900 | [diff] [blame] | 177 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 1 |
| 178 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 2 |
| 179 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Port |
Seunghwan Kim | e5a9e60 | 2018-06-15 10:20:25 +0900 | [diff] [blame] | 180 | register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" # LTE module |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 181 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 182 | # Intel Common SoC Config |
| 183 | #+-------------------+---------------------------+ |
| 184 | #| Field | Value | |
| 185 | #+-------------------+---------------------------+ |
| 186 | #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT | |
| 187 | #| I2C0 | Touchscreen | |
| 188 | #| I2C1 | cr50 TPM. Early init is | |
| 189 | #| | required to set up a BAR | |
| 190 | #| | for TPM communication | |
| 191 | #| | before memory is up | |
| 192 | #| I2C2 | Trackpad | |
| 193 | #| I2C3 | Pen | |
| 194 | #| I2C4 | Camera | |
| 195 | #| I2C5 | Audio | |
| 196 | #+-------------------+---------------------------+ |
| 197 | register "common_soc_config" = "{ |
| 198 | .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT, |
| 199 | .i2c[0] = { |
Chris Wang | 5220e5f | 2017-11-24 14:00:48 +0800 | [diff] [blame] | 200 | .speed = I2C_SPEED_FAST, |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 201 | .speed_config[0] = { |
| 202 | .speed = I2C_SPEED_FAST, |
| 203 | .scl_lcnt = 180, |
| 204 | .scl_hcnt = 90, |
| 205 | .sda_hold = 36, |
| 206 | }, |
| 207 | }, |
| 208 | .i2c[1] = { |
| 209 | .early_init = 1, |
| 210 | .speed = I2C_SPEED_FAST, |
| 211 | .speed_config[0] = { |
| 212 | .speed = I2C_SPEED_FAST, |
| 213 | .scl_lcnt = 185, |
| 214 | .scl_hcnt = 90, |
| 215 | .sda_hold = 36, |
| 216 | }, |
| 217 | }, |
| 218 | .i2c[2] = { |
| 219 | .speed = I2C_SPEED_FAST, |
| 220 | .speed_config[0] = { |
| 221 | .speed = I2C_SPEED_FAST, |
| 222 | .scl_lcnt = 190, |
| 223 | .scl_hcnt = 100, |
| 224 | .sda_hold = 36, |
| 225 | }, |
| 226 | }, |
| 227 | .i2c[3] = { |
| 228 | .speed = I2C_SPEED_FAST, |
| 229 | .speed_config[0] = { |
| 230 | .speed = I2C_SPEED_FAST, |
| 231 | .scl_lcnt = 185, |
| 232 | .scl_hcnt = 90, |
| 233 | .sda_hold = 36, |
| 234 | }, |
| 235 | }, |
| 236 | .i2c[4] = { |
| 237 | .speed = I2C_SPEED_FAST, |
| 238 | .speed_config[0] = { |
| 239 | .speed = I2C_SPEED_FAST, |
| 240 | .scl_lcnt = 190, |
| 241 | .scl_hcnt = 100, |
| 242 | .sda_hold = 36, |
| 243 | }, |
| 244 | }, |
| 245 | .i2c[5] = { |
| 246 | .speed = I2C_SPEED_FAST, |
| 247 | .speed_config[0] = { |
| 248 | .speed = I2C_SPEED_FAST, |
| 249 | .scl_lcnt = 190, |
| 250 | .scl_hcnt = 100, |
| 251 | .sda_hold = 36, |
| 252 | }, |
Chris Wang | 5220e5f | 2017-11-24 14:00:48 +0800 | [diff] [blame] | 253 | }, |
| 254 | }" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 255 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 256 | # Touch Screen |
| 257 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
| 258 | |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 259 | # H1 |
| 260 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 261 | |
| 262 | # Trackpad |
| 263 | register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8" |
| 264 | |
| 265 | # Pen |
| 266 | register "i2c_voltage[3]" = "I2C_VOLTAGE_1V8" |
| 267 | |
| 268 | # Camera |
| 269 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
| 270 | |
| 271 | # Audio |
| 272 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 273 | |
| 274 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 275 | register "SerialIoDevMode" = "{ |
| 276 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 277 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 278 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 279 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 280 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 281 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 282 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
| 283 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Furquan Shaikh | 8a1f095 | 2018-01-24 13:14:33 -0800 | [diff] [blame] | 284 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 285 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 286 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 287 | }" |
| 288 | |
| 289 | register "speed_shift_enable" = "1" |
Naresh G Solanki | 5b131e2 | 2018-02-14 20:31:18 +0530 | [diff] [blame] | 290 | register "psys_pmax" = "45" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 291 | # PL2 override 15W for KBL-Y |
| 292 | register "tdp_pl2_override" = "15" |
| 293 | register "tcc_offset" = "10" # TCC of 90C |
| 294 | |
| 295 | # Use default SD card detect GPIO configuration |
| 296 | register "sdcard_cd_gpio_default" = "GPP_E15" |
| 297 | |
Furquan Shaikh | 39d3021 | 2018-03-01 18:08:06 -0800 | [diff] [blame] | 298 | # PCH Trip Temperature in degree C |
| 299 | register "pch_trip_temp" = "75" |
| 300 | |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 301 | device cpu_cluster 0 on |
| 302 | device lapic 0 on end |
| 303 | end |
| 304 | device domain 0 on |
| 305 | device pci 00.0 on end # Host Bridge |
| 306 | device pci 02.0 on end # Integrated Graphics Device |
| 307 | device pci 14.0 on end # USB xHCI |
Furquan Shaikh | 7ca4006 | 2018-04-25 17:59:09 -0700 | [diff] [blame] | 308 | device pci 14.1 on end # USB xDCI (OTG) |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 309 | device pci 14.2 on end # Thermal Subsystem |
Chris Wang | 94dc50e | 2017-11-28 16:33:27 +0800 | [diff] [blame] | 310 | device pci 15.0 on |
| 311 | chip drivers/i2c/hid |
| 312 | register "generic.hid" = ""SYTS7813"" |
| 313 | register "generic.desc" = ""Synaptics Touchscreen"" |
| 314 | register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 315 | register "generic.probed" = "1" |
| 316 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 317 | register "generic.enable_delay_ms" = "45" |
| 318 | register "generic.has_power_resource" = "1" |
| 319 | register "generic.disable_gpio_export_in_crs" = "1" |
| 320 | register "hid_desc_reg_offset" = "0x20" |
| 321 | device i2c 20 on end |
| 322 | end |
| 323 | end # I2C #0 |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 324 | device pci 15.1 on |
| 325 | chip drivers/i2c/tpm |
| 326 | register "hid" = ""GOOG0005"" |
| 327 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 328 | device i2c 50 on end |
| 329 | end |
| 330 | end # I2C #1 |
Seunghwan Kim | 5bf6347 | 2018-06-15 15:26:47 +0900 | [diff] [blame^] | 331 | device pci 15.2 on |
| 332 | chip drivers/i2c/generic |
| 333 | register "hid" = ""SX9321"" |
| 334 | register "name" = ""SEMTECH SX9321"" |
| 335 | register "desc" = ""SAR Proximity Sensor"" |
| 336 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A18_IRQ)" |
| 337 | register "device_present_gpio" = "GPP_B20" |
| 338 | device i2c 28 on end |
| 339 | end |
| 340 | end # I2C #2 |
Seunghwan Kim | 533ea7a | 2017-12-28 10:40:35 +0900 | [diff] [blame] | 341 | device pci 15.3 on |
| 342 | chip drivers/i2c/hid |
| 343 | register "generic.hid" = ""ACPI0C50"" |
| 344 | register "generic.cid" = ""PNP0C50"" |
| 345 | register "generic.desc" = ""Digitizer device"" |
| 346 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A22_IRQ)" |
| 347 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C9)" |
| 348 | register "generic.has_power_resource" = "1" |
| 349 | register "generic.disable_gpio_export_in_crs" = "1" |
| 350 | register "generic.wake" = "GPE0_DW0_21" |
| 351 | register "hid_desc_reg_offset" = "0x1" |
| 352 | device i2c 0x9 on end |
| 353 | end |
Furquan Shaikh | bb1e539 | 2018-01-11 20:29:38 -0800 | [diff] [blame] | 354 | chip drivers/generic/gpio_keys |
| 355 | register "name" = ""PENH"" |
| 356 | register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_B19)" |
| 357 | register "key.dev_name" = ""EJCT"" |
| 358 | register "key.linux_code" = "SW_PEN_INSERTED" |
| 359 | register "key.linux_input_type" = "EV_SW" |
| 360 | register "key.label" = ""pen_eject"" |
| 361 | device generic 0 on end |
| 362 | end |
Seunghwan Kim | 533ea7a | 2017-12-28 10:40:35 +0900 | [diff] [blame] | 363 | end # I2C #3 |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 364 | device pci 16.0 on end # Management Engine Interface 1 |
| 365 | device pci 16.1 off end # Management Engine Interface 2 |
| 366 | device pci 16.2 off end # Management Engine IDE-R |
| 367 | device pci 16.3 off end # Management Engine KT Redirection |
| 368 | device pci 16.4 off end # Management Engine Interface 3 |
| 369 | device pci 17.0 off end # SATA |
| 370 | device pci 19.0 on end # UART #2 |
Naveen Manohar | 5bcb23e | 2017-11-04 04:00:12 +0530 | [diff] [blame] | 371 | device pci 19.1 on |
Naveen Manohar | 1533dfd | 2017-10-12 15:50:21 +0900 | [diff] [blame] | 372 | chip drivers/generic/max98357a |
| 373 | register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)" |
| 374 | register "sdmode_delay" = "5" |
| 375 | device generic 0 on end |
| 376 | end |
Naveen Manohar | 5bcb23e | 2017-11-04 04:00:12 +0530 | [diff] [blame] | 377 | chip drivers/i2c/da7219 |
| 378 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)" |
| 379 | register "btn_cfg" = "50" |
| 380 | register "mic_det_thr" = "500" |
| 381 | register "jack_ins_deb" = "20" |
| 382 | register "jack_det_rate" = ""32ms_64ms"" |
| 383 | register "jack_rem_deb" = "1" |
| 384 | register "a_d_btn_thr" = "0xa" |
| 385 | register "d_b_btn_thr" = "0x16" |
| 386 | register "b_c_btn_thr" = "0x21" |
| 387 | register "c_mic_btn_thr" = "0x3e" |
| 388 | register "btn_avg" = "4" |
| 389 | register "adc_1bit_rpt" = "1" |
| 390 | register "micbias_lvl" = "2600" |
| 391 | register "mic_amp_in_sel" = ""diff"" |
| 392 | device i2c 1A on end |
| 393 | end |
| 394 | end # I2C #5 |
Chris Wang | 36e40e4 | 2017-10-26 19:04:57 +0800 | [diff] [blame] | 395 | device pci 19.2 on |
| 396 | chip drivers/i2c/generic |
| 397 | register "hid" = ""ELAN0000"" |
| 398 | register "desc" = ""ELAN Touchpad"" |
| 399 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_B3_IRQ)" |
| 400 | register "wake" = "GPE0_DW0_05" |
| 401 | device i2c 15 on end |
| 402 | end |
| 403 | end # I2C #4 |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 404 | device pci 1c.0 on |
| 405 | chip drivers/intel/wifi |
Seunghwan Kim | df2ae96 | 2018-02-01 14:33:04 +0900 | [diff] [blame] | 406 | register "wake" = "GPE0_DW0_00" |
Chris Wang | 5547c37 | 2017-10-05 21:57:16 +0800 | [diff] [blame] | 407 | device pci 00.0 on end |
| 408 | end |
| 409 | end # PCI Express Port 1 |
| 410 | device pci 1c.1 off end # PCI Express Port 2 |
| 411 | device pci 1c.2 off end # PCI Express Port 3 |
| 412 | device pci 1c.3 off end # PCI Express Port 4 |
| 413 | device pci 1c.4 off end # PCI Express Port 5 |
| 414 | device pci 1c.5 off end # PCI Express Port 6 |
| 415 | device pci 1c.6 off end # PCI Express Port 7 |
| 416 | device pci 1c.7 off end # PCI Express Port 8 |
| 417 | device pci 1d.0 off end # PCI Express Port 9 |
| 418 | device pci 1d.1 off end # PCI Express Port 10 |
| 419 | device pci 1d.2 off end # PCI Express Port 11 |
| 420 | device pci 1d.3 off end # PCI Express Port 12 |
| 421 | device pci 1e.0 on end # UART #0 |
| 422 | device pci 1e.1 off end # UART #1 |
| 423 | device pci 1e.2 off end # GSPI #0 |
| 424 | device pci 1e.3 off end # GSPI #1 |
| 425 | device pci 1e.4 on end # eMMC |
| 426 | device pci 1e.5 off end # SDIO |
| 427 | device pci 1e.6 on end # SDCard |
| 428 | device pci 1f.0 on |
| 429 | chip ec/google/chromeec |
| 430 | device pnp 0c09.0 on end |
| 431 | end |
| 432 | end # LPC Interface |
| 433 | device pci 1f.1 on end # P2SB |
| 434 | device pci 1f.2 on end # Power Management Controller |
| 435 | device pci 1f.3 on end # Intel HDA |
| 436 | device pci 1f.4 on end # SMBus |
| 437 | device pci 1f.5 on end # PCH SPI |
| 438 | device pci 1f.6 off end # GbE |
| 439 | end |
| 440 | end |