Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [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 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 6 | # Deep Sx states |
| 7 | register "deep_s3_enable_ac" = "0" |
| 8 | register "deep_s3_enable_dc" = "0" |
| 9 | register "deep_s5_enable_ac" = "1" |
| 10 | register "deep_s5_enable_dc" = "1" |
Nick Vaccaro | 82aa8f8 | 2018-10-04 13:32:18 -0700 | [diff] [blame] | 11 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_DIS_AC_PRESENT_PD" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 12 | |
Matt Delco | c1cb6da | 2018-08-15 11:55:26 -0700 | [diff] [blame] | 13 | register "eist_enable" = "1" |
| 14 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 15 | # GPE configuration |
| 16 | # Note that GPE events called out in ASL code rely on this |
| 17 | # route. i.e. If this route changes then the affected GPE |
| 18 | # offset bits also need to be changed. |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 19 | register "gpe0_dw0" = "GPP_C" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 20 | register "gpe0_dw1" = "GPP_D" |
| 21 | register "gpe0_dw2" = "GPP_E" |
| 22 | |
| 23 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 24 | register "gen1_dec" = "0x00fc0801" |
| 25 | register "gen2_dec" = "0x000c0201" |
| 26 | # EC memory map range is 0x900-0x9ff |
| 27 | register "gen3_dec" = "0x00fc0901" |
| 28 | |
| 29 | # Enable DPTF |
| 30 | register "dptf_enable" = "1" |
| 31 | |
| 32 | # Enable S0ix |
| 33 | register "s0ix_enable" = "1" |
| 34 | |
Shaunak Saha | 261d626 | 2018-08-28 15:46:01 -0700 | [diff] [blame] | 35 | # Disable Command TriState |
| 36 | register "CmdTriStateDis" = "1" |
| 37 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 38 | # FSP Configuration |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 39 | register "SataSalpSupport" = "0" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 40 | register "SataPortsEnable[0]" = "0" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 41 | register "DspEnable" = "1" |
| 42 | register "IoBufferOwnership" = "3" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 43 | register "SsicPortEnable" = "0" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 44 | register "ScsEmmcHs400Enabled" = "1" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 45 | register "SkipExtGfxScan" = "1" |
Angel Pons | 6fadde0 | 2021-04-04 16:11:53 +0200 | [diff] [blame] | 46 | register "SaGv" = "SaGv_Enabled" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 47 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 48 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 49 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 50 | register "PmConfigSlpAMinAssert" = "3" # 2s |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 51 | |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 52 | register "power_limits_config" = "{ |
| 53 | .tdp_pl1_override = 7, |
| 54 | .tdp_pl2_override = 18, |
| 55 | .psys_pmax = 45, |
| 56 | }" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 57 | register "tcc_offset" = "10" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 58 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 59 | # VR Settings Configuration for 4 Domains |
| 60 | #+----------------+-------+-------+-------+-------+ |
| 61 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 62 | #+----------------+-------+-------+-------+-------+ |
| 63 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
| 64 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
| 65 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 66 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 67 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 68 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 69 | #| ImonOffset | 0 | 0 | 0 | 0 | |
Nick Vaccaro | 4cb8ac2 | 2018-08-09 16:05:15 -0700 | [diff] [blame] | 70 | #| IccMax | Set by SoC code per CPU SKU | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 71 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
Pratik Prajapati | 4c067c8 | 2018-06-20 17:04:32 -0700 | [diff] [blame] | 72 | #| AcLoadline | 14.9 | 4 | 5.7 | 4.57 | |
| 73 | #| DcLoadline | 14.2 | 4 | 4.2 | 4.3 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 74 | #+----------------+-------+-------+-------+-------+ |
| 75 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 76 | .vr_config_enable = 1, |
| 77 | .psi1threshold = VR_CFG_AMP(20), |
| 78 | .psi2threshold = VR_CFG_AMP(2), |
| 79 | .psi3threshold = VR_CFG_AMP(1), |
| 80 | .psi3enable = 1, |
| 81 | .psi4enable = 1, |
| 82 | .imon_slope = 0x0, |
| 83 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 84 | .voltage_limit = 1520, |
| 85 | .ac_loadline = 1490, |
| 86 | .dc_loadline = 1420, |
| 87 | }" |
| 88 | |
| 89 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 90 | .vr_config_enable = 1, |
| 91 | .psi1threshold = VR_CFG_AMP(20), |
| 92 | .psi2threshold = VR_CFG_AMP(2), |
| 93 | .psi3threshold = VR_CFG_AMP(1), |
| 94 | .psi3enable = 1, |
| 95 | .psi4enable = 1, |
| 96 | .imon_slope = 0x0, |
| 97 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 98 | .voltage_limit = 1520, |
Pratik Prajapati | 4c067c8 | 2018-06-20 17:04:32 -0700 | [diff] [blame] | 99 | .ac_loadline = 400, |
| 100 | .dc_loadline = 400, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 101 | }" |
| 102 | |
| 103 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 104 | .vr_config_enable = 1, |
| 105 | .psi1threshold = VR_CFG_AMP(20), |
| 106 | .psi2threshold = VR_CFG_AMP(2), |
| 107 | .psi3threshold = VR_CFG_AMP(1), |
| 108 | .psi3enable = 1, |
| 109 | .psi4enable = 1, |
| 110 | .imon_slope = 0x0, |
| 111 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 112 | .voltage_limit = 1520, |
| 113 | .ac_loadline = 570, |
| 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, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 126 | .voltage_limit = 1520, |
| 127 | .ac_loadline = 457, |
| 128 | .dc_loadline = 430, |
| 129 | }" |
| 130 | |
| 131 | # PCIe Root port 1 with SRCCLKREQ1# |
| 132 | register "PcieRpEnable[0]" = "1" |
| 133 | register "PcieRpClkReqSupport[0]" = "1" |
| 134 | register "PcieRpClkReqNumber[0]" = "1" |
| 135 | register "PcieRpClkSrcNumber[0]" = "1" |
| 136 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 137 | register "PcieRpLtrEnable[0]" = "1" |
| 138 | |
Angel Pons | e16692e | 2020-08-03 12:54:48 +0200 | [diff] [blame] | 139 | # Root port 9 (x2) |
| 140 | # PcieRpEnable: Enable root port |
| 141 | # PcieRpClkReqSupport: Enable CLKREQ# |
| 142 | # PcieRpClkReqNumber: Uses SRCCLKREQ2# |
| 143 | # PcieRpClkSrcNumber: Uses 3 |
| 144 | # PcieRpAdvancedErrorReporting: Enable Advanced Error Reporting |
| 145 | # PcieRpLtrEnable: Enable Latency Tolerance Reporting Mechanism |
| 146 | register "PcieRpEnable[8]" = "1" |
| 147 | register "PcieRpClkReqSupport[8]" = "1" |
| 148 | register "PcieRpClkReqNumber[8]" = "2" |
| 149 | register "PcieRpClkSrcNumber[8]" = "3" |
| 150 | register "PcieRpAdvancedErrorReporting[8]" = "1" |
| 151 | register "PcieRpLtrEnable[8]" = "1" |
Nick Vaccaro | 0a2e39d | 2018-06-06 17:05:15 -0700 | [diff] [blame] | 152 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 153 | # USB 2.0 |
| 154 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 155 | register "usb2_ports[2]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth |
| 156 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
Nick Vaccaro | a613ccd | 2018-05-16 02:47:40 -0700 | [diff] [blame] | 157 | register "usb2_ports[6]" = "USB2_PORT_LONG(OC_SKIP)" # pogo port |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 158 | |
| 159 | # USB 3.0 |
| 160 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 161 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 162 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 163 | # Intel Common SoC Config |
| 164 | #+-------------------+---------------------------+ |
| 165 | #| Field | Value | |
| 166 | #+-------------------+---------------------------+ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 167 | #| GSPI0 | cr50 TPM. Early init is | |
| 168 | #| | required to set up a BAR | |
| 169 | #| | for TPM communication | |
| 170 | #| | before memory is up | |
| 171 | #| I2C0 | Touchscreen | |
| 172 | #| I2C1 | Trackpad | |
| 173 | #| I2C3 | Camera | |
| 174 | #| I2C4 | Audio | |
| 175 | #| I2C5 | Rear Camera & SAR | |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 176 | #| pch_thermal_trip | PCH Trip Temperature | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 177 | #+-------------------+---------------------------+ |
| 178 | register "common_soc_config" = "{ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 179 | .i2c[0] = { |
| 180 | .speed = I2C_SPEED_FAST, |
| 181 | .rise_time_ns = 98, |
| 182 | .fall_time_ns = 38, |
| 183 | }, |
| 184 | .i2c[1] = { |
| 185 | .speed = I2C_SPEED_FAST, |
| 186 | .speed_config[0] = { |
| 187 | .speed = I2C_SPEED_FAST, |
| 188 | .scl_lcnt = 186, |
| 189 | .scl_hcnt = 93, |
| 190 | .sda_hold = 36, |
| 191 | }, |
| 192 | }, |
| 193 | .i2c[3] = { |
| 194 | .speed = I2C_SPEED_FAST, |
| 195 | .rise_time_ns = 98, |
| 196 | .fall_time_ns = 38, |
| 197 | }, |
| 198 | .i2c[4] = { |
| 199 | .speed = I2C_SPEED_FAST, |
| 200 | .speed_config[0] = { |
| 201 | .speed = I2C_SPEED_FAST, |
| 202 | .scl_lcnt = 176, |
| 203 | .scl_hcnt = 95, |
| 204 | .sda_hold = 36, |
| 205 | } |
| 206 | }, |
| 207 | .i2c[5] = { |
| 208 | .speed = I2C_SPEED_FAST, |
| 209 | .rise_time_ns = 98, |
| 210 | .fall_time_ns = 38, |
| 211 | }, |
| 212 | .gspi[0] = { |
| 213 | .speed_mhz = 1, |
| 214 | .early_init = 1, |
| 215 | }, |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 216 | .pch_thermal_trip = 75, |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 217 | }" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 218 | # Touchscreen |
| 219 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 220 | |
| 221 | # Trackpad |
| 222 | register "i2c_voltage[1]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 223 | |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 224 | # Front Camera |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 225 | register "i2c_voltage[3]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 226 | |
| 227 | # Audio |
| 228 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 229 | |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 230 | # Rear Camera & SAR |
| 231 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 232 | |
| 233 | register "SerialIoDevMode" = "{ |
| 234 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 235 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 236 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 237 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 238 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 239 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 240 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
| 241 | [PchSerialIoIndexSpi1] = PchSerialIoPci, |
| 242 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
| 243 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 244 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 245 | }" |
| 246 | |
| 247 | device cpu_cluster 0 on |
| 248 | device lapic 0 on end |
| 249 | end |
| 250 | device domain 0 on |
| 251 | device pci 00.0 on end # Host Bridge |
| 252 | device pci 02.0 on end # Integrated Graphics Device |
Felix Singer | 9c1c009 | 2020-07-29 20:48:08 +0200 | [diff] [blame] | 253 | device pci 04.0 on end # SA thermal subsystem |
Felix Singer | 4d5c4e0 | 2020-07-29 22:28:37 +0200 | [diff] [blame] | 254 | device pci 05.0 on end # SA IMGU |
Nick Vaccaro | 5df5ade | 2018-11-13 00:53:15 -0800 | [diff] [blame] | 255 | device pci 14.0 on |
| 256 | chip drivers/usb/acpi |
| 257 | register "desc" = ""Root Hub"" |
| 258 | register "type" = "UPC_TYPE_HUB" |
| 259 | device usb 0.0 on |
| 260 | chip drivers/usb/acpi |
| 261 | register "desc" = ""USB Type C Port 1"" |
| 262 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 263 | device usb 2.0 on end |
| 264 | end |
| 265 | chip drivers/usb/acpi |
| 266 | register "desc" = ""Bluetooth"" |
| 267 | register "type" = "UPC_TYPE_INTERNAL" |
| 268 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E2)" |
| 269 | device usb 2.2 on end |
| 270 | end |
| 271 | chip drivers/usb/acpi |
| 272 | register "desc" = ""USB Type C Port 2"" |
| 273 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 274 | device usb 2.4 on end |
| 275 | end |
| 276 | chip drivers/usb/acpi |
| 277 | register "desc" = ""POGO"" |
| 278 | register "type" = "UPC_TYPE_INTERNAL" |
| 279 | device usb 2.6 on end |
| 280 | end |
| 281 | end |
| 282 | end |
| 283 | end # USB xHCI |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 284 | device pci 14.1 on end # USB xDCI (OTG) |
| 285 | device pci 14.2 on end # Thermal Subsystem |
Felix Singer | e218667 | 2020-07-29 23:20:52 +0200 | [diff] [blame] | 286 | device pci 14.3 on end # Camera |
Nick Vaccaro | 006114b | 2018-05-16 02:48:32 -0700 | [diff] [blame] | 287 | device pci 15.0 on |
| 288 | chip drivers/i2c/hid |
| 289 | register "generic.hid" = ""WCOM50C1"" |
| 290 | register "generic.desc" = ""WCOM Digitizer"" |
| 291 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
| 292 | register "generic.speed" = "I2C_SPEED_FAST_PLUS" |
Angel Pons | e16692e | 2020-08-03 12:54:48 +0200 | [diff] [blame] | 293 | register "generic.probed" = "1" |
| 294 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E11)" |
| 295 | register "generic.reset_delay_ms" = "20" |
| 296 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 297 | register "generic.enable_delay_ms" = "1" |
| 298 | register "generic.has_power_resource" = "1" |
Nick Vaccaro | 8b6f8cc | 2018-09-29 14:54:44 -0700 | [diff] [blame] | 299 | register "generic.disable_gpio_export_in_crs" = "1" |
Nick Vaccaro | 006114b | 2018-05-16 02:48:32 -0700 | [diff] [blame] | 300 | register "hid_desc_reg_offset" = "0x1" |
| 301 | device i2c 0a on end |
| 302 | end |
| 303 | end # I2C #0 - Touchscreen |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 304 | device pci 15.1 on |
| 305 | chip drivers/i2c/sx9310 |
Enrico Granata | ede8f26 | 2018-06-26 16:48:20 -0700 | [diff] [blame] | 306 | register "desc" = ""Right SAR Proximity Sensor"" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 307 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)" |
Matt Delco | b4be7aa | 2018-08-13 21:36:28 -0700 | [diff] [blame] | 308 | register "speed" = "I2C_SPEED_FAST" |
Enrico Granata | ede8f26 | 2018-06-26 16:48:20 -0700 | [diff] [blame] | 309 | register "uid" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 310 | device i2c 28 on end |
Gwendal Grignou | 689c25b | 2021-01-27 23:29:38 -0800 | [diff] [blame] | 311 | register "cs0_ground" = "0x0" |
| 312 | register "combined_sensors_count" = "3" |
| 313 | register "combined_sensors[0]" = "0" |
| 314 | register "combined_sensors[1]" = "1" |
| 315 | register "combined_sensors[2]" = "2" |
| 316 | register "resolution" = "SX9310_FINEST" |
| 317 | register "avg_pos_strength" = "512" |
| 318 | register "startup_sensor" = "0" |
| 319 | register "proxraw_strength" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 320 | end |
| 321 | end # I2C #1 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 322 | device pci 15.2 off end # I2C #2 |
| 323 | device pci 15.3 on end # I2C #3 - Camera |
| 324 | device pci 16.0 on end # Management Engine Interface 1 |
| 325 | device pci 16.1 off end # Management Engine Interface 2 |
| 326 | device pci 16.2 off end # Management Engine IDE-R |
| 327 | device pci 16.3 off end # Management Engine KT Redirection |
| 328 | device pci 16.4 off end # Management Engine Interface 3 |
| 329 | device pci 17.0 off end # SATA |
| 330 | device pci 19.0 on end # UART #2 |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 331 | device pci 19.1 on |
| 332 | chip drivers/i2c/sx9310 |
| 333 | register "desc" = ""Left SAR Proximity Sensor"" |
| 334 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D10_IRQ)" |
Matt Delco | b4be7aa | 2018-08-13 21:36:28 -0700 | [diff] [blame] | 335 | register "speed" = "I2C_SPEED_FAST" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 336 | register "uid" = "1" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 337 | device i2c 28 on end |
Gwendal Grignou | 689c25b | 2021-01-27 23:29:38 -0800 | [diff] [blame] | 338 | register "cs0_ground" = "0x0" |
| 339 | register "combined_sensors_count" = "3" |
| 340 | register "combined_sensors[0]" = "0" |
| 341 | register "combined_sensors[1]" = "1" |
| 342 | register "combined_sensors[2]" = "2" |
| 343 | register "resolution" = "SX9310_FINEST" |
| 344 | register "avg_pos_strength" = "512" |
| 345 | register "startup_sensor" = "0" |
| 346 | register "proxraw_strength" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 347 | end |
| 348 | end # I2C #5 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 349 | device pci 19.2 on |
| 350 | chip drivers/i2c/max98373 |
| 351 | register "vmon_slot_no" = "4" |
| 352 | register "imon_slot_no" = "5" |
| 353 | register "uid" = "0" |
| 354 | register "desc" = ""RIGHT SPEAKER AMP"" |
| 355 | register "name" = ""MAXR"" |
Sathyanarayana Nujella | 881ff66 | 2018-06-19 12:48:57 -0700 | [diff] [blame] | 356 | device i2c 32 on end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 357 | end |
| 358 | chip drivers/i2c/max98373 |
| 359 | register "vmon_slot_no" = "6" |
| 360 | register "imon_slot_no" = "7" |
| 361 | register "uid" = "1" |
| 362 | register "desc" = ""LEFT SPEAKER AMP"" |
| 363 | register "name" = ""MAXL"" |
Sathyanarayana Nujella | 881ff66 | 2018-06-19 12:48:57 -0700 | [diff] [blame] | 364 | device i2c 31 on end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 365 | end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 366 | end # I2C #4 - Audio |
| 367 | device pci 1c.0 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 368 | chip drivers/wifi/generic |
Nick Vaccaro | d9169f8 | 2018-10-05 11:30:46 -0700 | [diff] [blame] | 369 | register "wake" = "GPE0_DW2_01" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 370 | device pci 00.0 on end |
| 371 | end |
| 372 | end # PCI Express Port 1 |
| 373 | device pci 1c.1 off end # PCI Express Port 2 |
| 374 | device pci 1c.2 off end # PCI Express Port 3 |
| 375 | device pci 1c.3 off end # PCI Express Port 4 |
| 376 | device pci 1c.4 off end # PCI Express Port 5 |
| 377 | device pci 1c.5 off end # PCI Express Port 6 |
| 378 | device pci 1c.6 off end # PCI Express Port 7 |
| 379 | device pci 1c.7 off end # PCI Express Port 8 |
Nick Vaccaro | 0a2e39d | 2018-06-06 17:05:15 -0700 | [diff] [blame] | 380 | device pci 1d.0 on end # PCI Express Port 9 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 381 | device pci 1d.1 off end # PCI Express Port 10 |
| 382 | device pci 1d.2 off end # PCI Express Port 11 |
| 383 | device pci 1d.3 off end # PCI Express Port 12 |
| 384 | device pci 1e.0 off end # UART #0 |
| 385 | device pci 1e.1 off end # UART #1 |
| 386 | device pci 1e.2 on |
| 387 | chip drivers/spi/acpi |
| 388 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 389 | register "compat_string" = ""google,cr50"" |
| 390 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 391 | device spi 0 on end |
| 392 | end |
| 393 | end # GSPI #0 |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 394 | device pci 1e.3 on |
| 395 | chip drivers/spi/acpi |
Furquan Shaikh | 6d2f7d2 | 2018-10-11 08:50:09 -0700 | [diff] [blame] | 396 | register "name" = ""CRFP"" |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 397 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 398 | register "uid" = "1" |
| 399 | register "compat_string" = ""google,cros-ec-spi"" |
| 400 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C11_IRQ)" |
| 401 | register "wake" = "GPE0_DW0_09" # GPP_C9 |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 402 | device spi 0 on end |
Nick Vaccaro | 4f9ff53 | 2018-07-26 19:28:03 -0700 | [diff] [blame] | 403 | end # FPMCU |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 404 | end # GSPI #1 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 405 | device pci 1e.4 on end # eMMC |
| 406 | device pci 1e.5 off end # SDIO |
| 407 | device pci 1e.6 off end # SDCard |
| 408 | device pci 1f.0 on |
| 409 | chip ec/google/chromeec |
| 410 | device pnp 0c09.0 on end |
| 411 | end |
| 412 | end # LPC Interface |
| 413 | device pci 1f.1 on end # P2SB |
| 414 | device pci 1f.2 on end # Power Management Controller |
Jenny TC | 096833f | 2018-12-11 16:16:11 +0530 | [diff] [blame] | 415 | device pci 1f.3 on end # Intel HDA |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 416 | device pci 1f.4 on end # SMBus |
| 417 | device pci 1f.5 on end # PCH SPI |
| 418 | device pci 1f.6 off end # GbE |
| 419 | end |
| 420 | end |