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