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 |
Felix Singer | 743242b | 2023-06-16 01:33:25 +0200 | [diff] [blame] | 33 | register "s0ix_enable" = true |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 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 "DspEnable" = "1" |
| 40 | register "IoBufferOwnership" = "3" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 41 | register "ScsEmmcHs400Enabled" = "1" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 42 | register "SkipExtGfxScan" = "1" |
Angel Pons | 6fadde0 | 2021-04-04 16:11:53 +0200 | [diff] [blame] | 43 | register "SaGv" = "SaGv_Enabled" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 44 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 45 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 46 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 47 | register "PmConfigSlpAMinAssert" = "3" # 2s |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 48 | |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 49 | register "power_limits_config" = "{ |
| 50 | .tdp_pl1_override = 7, |
| 51 | .tdp_pl2_override = 18, |
| 52 | .psys_pmax = 45, |
| 53 | }" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 54 | register "tcc_offset" = "10" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 55 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [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 | |
Nick Vaccaro | 4cb8ac2 | 2018-08-09 16:05:15 -0700 | [diff] [blame] | 67 | #| IccMax | Set by SoC code per CPU SKU | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 68 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
Pratik Prajapati | 4c067c8 | 2018-06-20 17:04:32 -0700 | [diff] [blame] | 69 | #| AcLoadline | 14.9 | 4 | 5.7 | 4.57 | |
| 70 | #| DcLoadline | 14.2 | 4 | 4.2 | 4.3 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 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, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 81 | .voltage_limit = 1520, |
| 82 | .ac_loadline = 1490, |
| 83 | .dc_loadline = 1420, |
| 84 | }" |
| 85 | |
| 86 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 87 | .vr_config_enable = 1, |
| 88 | .psi1threshold = VR_CFG_AMP(20), |
| 89 | .psi2threshold = VR_CFG_AMP(2), |
| 90 | .psi3threshold = VR_CFG_AMP(1), |
| 91 | .psi3enable = 1, |
| 92 | .psi4enable = 1, |
| 93 | .imon_slope = 0x0, |
| 94 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 95 | .voltage_limit = 1520, |
Pratik Prajapati | 4c067c8 | 2018-06-20 17:04:32 -0700 | [diff] [blame] | 96 | .ac_loadline = 400, |
| 97 | .dc_loadline = 400, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 98 | }" |
| 99 | |
| 100 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 101 | .vr_config_enable = 1, |
| 102 | .psi1threshold = VR_CFG_AMP(20), |
| 103 | .psi2threshold = VR_CFG_AMP(2), |
| 104 | .psi3threshold = VR_CFG_AMP(1), |
| 105 | .psi3enable = 1, |
| 106 | .psi4enable = 1, |
| 107 | .imon_slope = 0x0, |
| 108 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 109 | .voltage_limit = 1520, |
| 110 | .ac_loadline = 570, |
| 111 | .dc_loadline = 420, |
| 112 | }" |
| 113 | |
| 114 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 115 | .vr_config_enable = 1, |
| 116 | .psi1threshold = VR_CFG_AMP(20), |
| 117 | .psi2threshold = VR_CFG_AMP(2), |
| 118 | .psi3threshold = VR_CFG_AMP(1), |
| 119 | .psi3enable = 1, |
| 120 | .psi4enable = 1, |
| 121 | .imon_slope = 0x0, |
| 122 | .imon_offset = 0x0, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 123 | .voltage_limit = 1520, |
| 124 | .ac_loadline = 457, |
| 125 | .dc_loadline = 430, |
| 126 | }" |
| 127 | |
| 128 | # PCIe Root port 1 with SRCCLKREQ1# |
| 129 | register "PcieRpEnable[0]" = "1" |
| 130 | register "PcieRpClkReqSupport[0]" = "1" |
| 131 | register "PcieRpClkReqNumber[0]" = "1" |
| 132 | register "PcieRpClkSrcNumber[0]" = "1" |
| 133 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 134 | register "PcieRpLtrEnable[0]" = "1" |
| 135 | |
Angel Pons | e16692e | 2020-08-03 12:54:48 +0200 | [diff] [blame] | 136 | # Root port 9 (x2) |
| 137 | # PcieRpEnable: Enable root port |
| 138 | # PcieRpClkReqSupport: Enable CLKREQ# |
| 139 | # PcieRpClkReqNumber: Uses SRCCLKREQ2# |
| 140 | # PcieRpClkSrcNumber: Uses 3 |
| 141 | # PcieRpAdvancedErrorReporting: Enable Advanced Error Reporting |
| 142 | # PcieRpLtrEnable: Enable Latency Tolerance Reporting Mechanism |
| 143 | register "PcieRpEnable[8]" = "1" |
| 144 | register "PcieRpClkReqSupport[8]" = "1" |
| 145 | register "PcieRpClkReqNumber[8]" = "2" |
| 146 | register "PcieRpClkSrcNumber[8]" = "3" |
| 147 | register "PcieRpAdvancedErrorReporting[8]" = "1" |
| 148 | register "PcieRpLtrEnable[8]" = "1" |
Nick Vaccaro | 0a2e39d | 2018-06-06 17:05:15 -0700 | [diff] [blame] | 149 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 150 | # USB 2.0 |
| 151 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 152 | register "usb2_ports[2]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth |
| 153 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
Nick Vaccaro | a613ccd | 2018-05-16 02:47:40 -0700 | [diff] [blame] | 154 | register "usb2_ports[6]" = "USB2_PORT_LONG(OC_SKIP)" # pogo port |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 155 | |
| 156 | # USB 3.0 |
| 157 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 158 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 159 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 160 | # Intel Common SoC Config |
| 161 | #+-------------------+---------------------------+ |
| 162 | #| Field | Value | |
| 163 | #+-------------------+---------------------------+ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 164 | #| GSPI0 | cr50 TPM. Early init is | |
| 165 | #| | required to set up a BAR | |
| 166 | #| | for TPM communication | |
| 167 | #| | before memory is up | |
| 168 | #| I2C0 | Touchscreen | |
| 169 | #| I2C1 | Trackpad | |
| 170 | #| I2C3 | Camera | |
| 171 | #| I2C4 | Audio | |
| 172 | #| I2C5 | Rear Camera & SAR | |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 173 | #| pch_thermal_trip | PCH Trip Temperature | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 174 | #+-------------------+---------------------------+ |
| 175 | register "common_soc_config" = "{ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 176 | .i2c[0] = { |
| 177 | .speed = I2C_SPEED_FAST, |
| 178 | .rise_time_ns = 98, |
| 179 | .fall_time_ns = 38, |
| 180 | }, |
| 181 | .i2c[1] = { |
| 182 | .speed = I2C_SPEED_FAST, |
| 183 | .speed_config[0] = { |
| 184 | .speed = I2C_SPEED_FAST, |
| 185 | .scl_lcnt = 186, |
| 186 | .scl_hcnt = 93, |
| 187 | .sda_hold = 36, |
| 188 | }, |
| 189 | }, |
| 190 | .i2c[3] = { |
| 191 | .speed = I2C_SPEED_FAST, |
| 192 | .rise_time_ns = 98, |
| 193 | .fall_time_ns = 38, |
| 194 | }, |
| 195 | .i2c[4] = { |
| 196 | .speed = I2C_SPEED_FAST, |
| 197 | .speed_config[0] = { |
| 198 | .speed = I2C_SPEED_FAST, |
| 199 | .scl_lcnt = 176, |
| 200 | .scl_hcnt = 95, |
| 201 | .sda_hold = 36, |
| 202 | } |
| 203 | }, |
| 204 | .i2c[5] = { |
| 205 | .speed = I2C_SPEED_FAST, |
| 206 | .rise_time_ns = 98, |
| 207 | .fall_time_ns = 38, |
| 208 | }, |
| 209 | .gspi[0] = { |
| 210 | .speed_mhz = 1, |
| 211 | .early_init = 1, |
| 212 | }, |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 213 | .pch_thermal_trip = 75, |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 214 | }" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 215 | # Touchscreen |
| 216 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 217 | |
| 218 | # Trackpad |
| 219 | register "i2c_voltage[1]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 220 | |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 221 | # Front Camera |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 222 | register "i2c_voltage[3]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 223 | |
| 224 | # Audio |
| 225 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 226 | |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 227 | # Rear Camera & SAR |
| 228 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 229 | |
| 230 | register "SerialIoDevMode" = "{ |
| 231 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 232 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 233 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 234 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 235 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
Nick Vaccaro | ba959ad | 2018-05-16 02:52:28 -0700 | [diff] [blame] | 236 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 237 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
| 238 | [PchSerialIoIndexSpi1] = PchSerialIoPci, |
| 239 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
| 240 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 241 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 242 | }" |
| 243 | |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 244 | device domain 0 on |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 245 | device ref system_agent on end |
| 246 | device ref igpu on end |
| 247 | device ref sa_thermal on end |
| 248 | device ref imgu on end |
| 249 | device ref south_xhci on |
Nick Vaccaro | 5df5ade | 2018-11-13 00:53:15 -0800 | [diff] [blame] | 250 | chip drivers/usb/acpi |
| 251 | register "desc" = ""Root Hub"" |
| 252 | register "type" = "UPC_TYPE_HUB" |
| 253 | device usb 0.0 on |
| 254 | chip drivers/usb/acpi |
| 255 | register "desc" = ""USB Type C Port 1"" |
| 256 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 257 | device usb 2.0 on end |
| 258 | end |
| 259 | chip drivers/usb/acpi |
| 260 | register "desc" = ""Bluetooth"" |
| 261 | register "type" = "UPC_TYPE_INTERNAL" |
| 262 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E2)" |
| 263 | device usb 2.2 on end |
| 264 | end |
| 265 | chip drivers/usb/acpi |
| 266 | register "desc" = ""USB Type C Port 2"" |
| 267 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 268 | device usb 2.4 on end |
| 269 | end |
| 270 | chip drivers/usb/acpi |
| 271 | register "desc" = ""POGO"" |
| 272 | register "type" = "UPC_TYPE_INTERNAL" |
| 273 | device usb 2.6 on end |
| 274 | end |
| 275 | end |
| 276 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 277 | end |
| 278 | device ref south_xdci on end |
| 279 | device ref thermal on end |
| 280 | device ref cio on end |
| 281 | device ref i2c0 on |
Nick Vaccaro | 006114b | 2018-05-16 02:48:32 -0700 | [diff] [blame] | 282 | chip drivers/i2c/hid |
| 283 | register "generic.hid" = ""WCOM50C1"" |
| 284 | register "generic.desc" = ""WCOM Digitizer"" |
| 285 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
| 286 | register "generic.speed" = "I2C_SPEED_FAST_PLUS" |
Matt DeVillier | 86425c8 | 2022-03-28 23:45:14 -0500 | [diff] [blame] | 287 | register "generic.detect" = "1" |
Angel Pons | e16692e | 2020-08-03 12:54:48 +0200 | [diff] [blame] | 288 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E11)" |
| 289 | register "generic.reset_delay_ms" = "20" |
| 290 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 291 | register "generic.enable_delay_ms" = "1" |
| 292 | register "generic.has_power_resource" = "1" |
Nick Vaccaro | 006114b | 2018-05-16 02:48:32 -0700 | [diff] [blame] | 293 | register "hid_desc_reg_offset" = "0x1" |
| 294 | device i2c 0a on end |
| 295 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 296 | end |
| 297 | device ref i2c1 on |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 298 | chip drivers/i2c/sx9310 |
Enrico Granata | ede8f26 | 2018-06-26 16:48:20 -0700 | [diff] [blame] | 299 | register "desc" = ""Right SAR Proximity Sensor"" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 300 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)" |
Matt Delco | b4be7aa | 2018-08-13 21:36:28 -0700 | [diff] [blame] | 301 | register "speed" = "I2C_SPEED_FAST" |
Enrico Granata | ede8f26 | 2018-06-26 16:48:20 -0700 | [diff] [blame] | 302 | register "uid" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 303 | device i2c 28 on end |
Gwendal Grignou | 689c25b | 2021-01-27 23:29:38 -0800 | [diff] [blame] | 304 | register "cs0_ground" = "0x0" |
| 305 | register "combined_sensors_count" = "3" |
| 306 | register "combined_sensors[0]" = "0" |
| 307 | register "combined_sensors[1]" = "1" |
| 308 | register "combined_sensors[2]" = "2" |
| 309 | register "resolution" = "SX9310_FINEST" |
| 310 | register "avg_pos_strength" = "512" |
| 311 | register "startup_sensor" = "0" |
| 312 | register "proxraw_strength" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 313 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 314 | end |
| 315 | device ref i2c2 off end |
| 316 | device ref i2c3 on end |
| 317 | device ref heci1 on end |
| 318 | device ref heci2 off end |
| 319 | device ref csme_ider off end |
| 320 | device ref csme_ktr off end |
| 321 | device ref heci3 off end |
| 322 | device ref sata off end |
| 323 | device ref uart2 on end |
| 324 | device ref i2c5 on |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 325 | chip drivers/i2c/sx9310 |
| 326 | register "desc" = ""Left SAR Proximity Sensor"" |
| 327 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D10_IRQ)" |
Matt Delco | b4be7aa | 2018-08-13 21:36:28 -0700 | [diff] [blame] | 328 | register "speed" = "I2C_SPEED_FAST" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 329 | register "uid" = "1" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 330 | device i2c 28 on end |
Gwendal Grignou | 689c25b | 2021-01-27 23:29:38 -0800 | [diff] [blame] | 331 | register "cs0_ground" = "0x0" |
| 332 | register "combined_sensors_count" = "3" |
| 333 | register "combined_sensors[0]" = "0" |
| 334 | register "combined_sensors[1]" = "1" |
| 335 | register "combined_sensors[2]" = "2" |
| 336 | register "resolution" = "SX9310_FINEST" |
| 337 | register "avg_pos_strength" = "512" |
| 338 | register "startup_sensor" = "0" |
| 339 | register "proxraw_strength" = "0" |
Enrico Granata | 95278a5 | 2018-06-20 13:08:23 -0700 | [diff] [blame] | 340 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 341 | end |
| 342 | device ref i2c4 on |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 343 | chip drivers/i2c/max98373 |
| 344 | register "vmon_slot_no" = "4" |
| 345 | register "imon_slot_no" = "5" |
| 346 | register "uid" = "0" |
| 347 | register "desc" = ""RIGHT SPEAKER AMP"" |
| 348 | register "name" = ""MAXR"" |
Sathyanarayana Nujella | 881ff66 | 2018-06-19 12:48:57 -0700 | [diff] [blame] | 349 | device i2c 32 on end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 350 | end |
| 351 | chip drivers/i2c/max98373 |
| 352 | register "vmon_slot_no" = "6" |
| 353 | register "imon_slot_no" = "7" |
| 354 | register "uid" = "1" |
| 355 | register "desc" = ""LEFT SPEAKER AMP"" |
| 356 | register "name" = ""MAXL"" |
Sathyanarayana Nujella | 881ff66 | 2018-06-19 12:48:57 -0700 | [diff] [blame] | 357 | device i2c 31 on end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 358 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 359 | end |
| 360 | device ref pcie_rp1 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 361 | chip drivers/wifi/generic |
Nick Vaccaro | d9169f8 | 2018-10-05 11:30:46 -0700 | [diff] [blame] | 362 | register "wake" = "GPE0_DW2_01" |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 363 | device pci 00.0 on end |
| 364 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 365 | end |
| 366 | device ref pcie_rp2 off end |
| 367 | device ref pcie_rp3 off end |
| 368 | device ref pcie_rp4 off end |
| 369 | device ref pcie_rp5 off end |
| 370 | device ref pcie_rp6 off end |
| 371 | device ref pcie_rp7 off end |
| 372 | device ref pcie_rp8 off end |
| 373 | device ref pcie_rp9 on end |
| 374 | device ref pcie_rp10 off end |
| 375 | device ref pcie_rp11 off end |
| 376 | device ref pcie_rp12 off end |
| 377 | device ref uart0 off end |
| 378 | device ref uart1 off end |
| 379 | device ref gspi0 on |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 380 | chip drivers/spi/acpi |
| 381 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 382 | register "compat_string" = ""google,cr50"" |
| 383 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 384 | device spi 0 on end |
| 385 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 386 | end |
| 387 | device ref gspi1 on |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 388 | chip drivers/spi/acpi |
Furquan Shaikh | 6d2f7d2 | 2018-10-11 08:50:09 -0700 | [diff] [blame] | 389 | register "name" = ""CRFP"" |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 390 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 391 | register "uid" = "1" |
| 392 | register "compat_string" = ""google,cros-ec-spi"" |
| 393 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C11_IRQ)" |
| 394 | register "wake" = "GPE0_DW0_09" # GPP_C9 |
Vincent Palatin | 405eb44 | 2018-05-14 12:12:16 +0200 | [diff] [blame] | 395 | device spi 0 on end |
Nick Vaccaro | 4f9ff53 | 2018-07-26 19:28:03 -0700 | [diff] [blame] | 396 | end # FPMCU |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 397 | end |
| 398 | device ref emmc on end |
| 399 | device ref sdio off end |
| 400 | device ref sdxc off end |
| 401 | device ref lpc_espi on |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 402 | chip ec/google/chromeec |
| 403 | device pnp 0c09.0 on end |
| 404 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 405 | end |
| 406 | device ref p2sb on end |
| 407 | device ref pmc on end |
| 408 | device ref hda on end |
| 409 | device ref smbus on end |
| 410 | device ref fast_spi on end |
| 411 | device ref gbe off end |
Nick Vaccaro | 1799994 | 2018-04-23 17:13:52 -0700 | [diff] [blame] | 412 | end |
| 413 | end |