Zhuohao Lee | 11f0160 | 2018-08-02 23:59: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 | |
Michael Niewöhner | 97e21d3 | 2020-12-28 00:49:33 +0100 | [diff] [blame] | 6 | register "panel_cfg" = "{ |
| 7 | .up_delay_ms = 200, |
| 8 | .down_delay_ms = 500, |
| 9 | .cycle_delay_ms = 600, |
| 10 | .backlight_on_delay_ms = 1, |
| 11 | .backlight_off_delay_ms = 200, |
| 12 | .backlight_pwm_hz = 1000, |
| 13 | }" |
Matt DeVillier | d7e92e8 | 2019-11-28 00:50:47 -0600 | [diff] [blame] | 14 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 15 | # Deep Sx states |
| 16 | register "deep_s3_enable_ac" = "0" |
| 17 | register "deep_s3_enable_dc" = "0" |
| 18 | register "deep_s5_enable_ac" = "1" |
| 19 | register "deep_s5_enable_dc" = "1" |
| 20 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN | DSX_DIS_AC_PRESENT_PD" |
| 21 | |
| 22 | # GPE configuration |
| 23 | # Note that GPE events called out in ASL code rely on this |
| 24 | # route. i.e. If this route changes then the affected GPE |
| 25 | # offset bits also need to be changed. |
| 26 | register "gpe0_dw0" = "GPP_B" |
| 27 | register "gpe0_dw1" = "GPP_D" |
| 28 | register "gpe0_dw2" = "GPP_E" |
| 29 | |
| 30 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 31 | register "gen1_dec" = "0x00fc0801" |
| 32 | register "gen2_dec" = "0x000c0201" |
| 33 | # EC memory map range is 0x900-0x9ff |
| 34 | register "gen3_dec" = "0x00fc0901" |
| 35 | |
| 36 | # Enable DPTF |
| 37 | register "dptf_enable" = "1" |
| 38 | |
| 39 | # Enable S0ix |
Felix Singer | 743242b | 2023-06-16 01:33:25 +0200 | [diff] [blame] | 40 | register "s0ix_enable" = true |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 41 | |
marxwang | 5b56565 | 2018-09-11 12:08:23 +0800 | [diff] [blame] | 42 | # Disable Command TriState |
| 43 | register "CmdTriStateDis" = "1" |
| 44 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 45 | # FSP Configuration |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 46 | register "SataSalpSupport" = "0" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 47 | register "SataPortsEnable[0]" = "0" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 48 | register "DspEnable" = "1" |
| 49 | register "IoBufferOwnership" = "3" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 50 | register "ScsEmmcHs400Enabled" = "1" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 51 | register "SkipExtGfxScan" = "1" |
Angel Pons | 6fadde0 | 2021-04-04 16:11:53 +0200 | [diff] [blame] | 52 | register "SaGv" = "SaGv_Enabled" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 53 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 54 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 55 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 56 | register "PmConfigSlpAMinAssert" = "3" # 2s |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 57 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 58 | # VR Settings Configuration for 4 Domains |
| 59 | #+----------------+-------+-------+-------+-------+ |
| 60 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 61 | #+----------------+-------+-------+-------+-------+ |
| 62 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
| 63 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
| 64 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 65 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 66 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 67 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 68 | #| ImonOffset | 0 | 0 | 0 | 0 | |
| 69 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
statham_chu | 200262c | 2018-09-20 16:02:04 +0800 | [diff] [blame] | 70 | #| AcLoadline | 14.4 | 4.2 | 5.7 | 4.47 | |
| 71 | #| DcLoadline | 14.0 | 4.17 | 4.2 | 4.3 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 72 | #+----------------+-------+-------+-------+-------+ |
| 73 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 74 | .vr_config_enable = 1, |
| 75 | .psi1threshold = VR_CFG_AMP(20), |
| 76 | .psi2threshold = VR_CFG_AMP(2), |
| 77 | .psi3threshold = VR_CFG_AMP(1), |
| 78 | .psi3enable = 1, |
| 79 | .psi4enable = 1, |
| 80 | .imon_slope = 0x0, |
| 81 | .imon_offset = 0x0, |
| 82 | .voltage_limit = 1520, |
statham_chu | 200262c | 2018-09-20 16:02:04 +0800 | [diff] [blame] | 83 | .ac_loadline = 1440, |
| 84 | .dc_loadline = 1400, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 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 | .voltage_limit = 1520, |
statham_chu | 200262c | 2018-09-20 16:02:04 +0800 | [diff] [blame] | 97 | .ac_loadline = 420, |
| 98 | .dc_loadline = 417, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 99 | }" |
| 100 | |
| 101 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 102 | .vr_config_enable = 1, |
| 103 | .psi1threshold = VR_CFG_AMP(20), |
| 104 | .psi2threshold = VR_CFG_AMP(2), |
| 105 | .psi3threshold = VR_CFG_AMP(1), |
| 106 | .psi3enable = 1, |
| 107 | .psi4enable = 1, |
| 108 | .imon_slope = 0x0, |
| 109 | .imon_offset = 0x0, |
| 110 | .voltage_limit = 1520, |
statham_chu | 200262c | 2018-09-20 16:02:04 +0800 | [diff] [blame] | 111 | .ac_loadline = 570, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 112 | .dc_loadline = 420, |
| 113 | }" |
| 114 | |
| 115 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 116 | .vr_config_enable = 1, |
| 117 | .psi1threshold = VR_CFG_AMP(20), |
| 118 | .psi2threshold = VR_CFG_AMP(2), |
| 119 | .psi3threshold = VR_CFG_AMP(1), |
| 120 | .psi3enable = 1, |
| 121 | .psi4enable = 1, |
| 122 | .imon_slope = 0x0, |
| 123 | .imon_offset = 0x0, |
| 124 | .voltage_limit = 1520, |
statham_chu | 200262c | 2018-09-20 16:02:04 +0800 | [diff] [blame] | 125 | .ac_loadline = 447, |
| 126 | .dc_loadline = 430, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 127 | }" |
| 128 | |
| 129 | # Enable Root port 1. |
| 130 | register "PcieRpEnable[0]" = "1" |
| 131 | # Enable CLKREQ# |
| 132 | register "PcieRpClkReqSupport[0]" = "1" |
| 133 | # RP 1 uses SRCCLKREQ1# |
| 134 | register "PcieRpClkReqNumber[0]" = "1" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 135 | # RP 1 uses CLK SRC 1 |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 136 | register "PcieRpClkSrcNumber[0]" = "1" |
| 137 | # RP 1, Enable Advanced Error Reporting |
| 138 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 139 | # RP 1, Enable Latency Tolerance Reporting Mechanism |
| 140 | register "PcieRpLtrEnable[0]" = "1" |
| 141 | |
| 142 | register "usb2_ports[0]" = "USB2_PORT_SHORT(OC0)" # Type-C Port 1 |
| 143 | register "usb2_ports[1]" = "USB2_PORT_LONG(OC3)" # Type-A Port |
| 144 | register "usb2_ports[2]" = "USB2_PORT_SHORT(OC_SKIP)" # Bluetooth |
| 145 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
| 146 | register "usb2_ports[6]" = "USB2_PORT_SHORT(OC_SKIP)" # H1 |
| 147 | register "usb2_ports[8]" = "USB2_PORT_SHORT(OC_SKIP)" # Camera |
| 148 | |
| 149 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 150 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
| 151 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC3)" # Type-A Port |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 152 | |
| 153 | # Intel Common SoC Config |
| 154 | #+-------------------+---------------------------+ |
| 155 | #| Field | Value | |
| 156 | #+-------------------+---------------------------+ |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 157 | #| I2C0 | Touchscreen | |
| 158 | #| I2C1 | Trackpad | |
| 159 | #| I2C5 | Audio | |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 160 | #| pch_thermal_trip | PCH Trip Temperature | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 161 | #+-------------------+---------------------------+ |
| 162 | register "common_soc_config" = "{ |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 163 | .i2c[0] = { |
| 164 | .speed = I2C_SPEED_FAST, |
| 165 | .speed_config[0] = { |
| 166 | .speed = I2C_SPEED_FAST, |
| 167 | .scl_lcnt = 190, |
| 168 | .scl_hcnt = 100, |
| 169 | .sda_hold = 36, |
| 170 | }, |
| 171 | }, |
| 172 | .i2c[1] = { |
| 173 | .speed = I2C_SPEED_FAST, |
| 174 | .speed_config[0] = { |
| 175 | .speed = I2C_SPEED_FAST, |
kane_chen | 8440bf7 | 2018-11-29 17:22:57 +0800 | [diff] [blame] | 176 | .scl_lcnt = 170, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 177 | .scl_hcnt = 100, |
| 178 | .sda_hold = 36, |
| 179 | }, |
| 180 | .early_init = 1, |
| 181 | }, |
| 182 | .i2c[5] = { |
| 183 | .speed = I2C_SPEED_FAST, |
| 184 | .speed_config[0] = { |
| 185 | .speed = I2C_SPEED_FAST, |
| 186 | .scl_lcnt = 190, |
| 187 | .scl_hcnt = 100, |
| 188 | .sda_hold = 36, |
| 189 | }, |
| 190 | }, |
kane_chen | e781856 | 2018-08-31 17:38:07 +0800 | [diff] [blame] | 191 | .gspi[0] = { |
| 192 | .speed_mhz = 1, |
| 193 | .early_init = 1, |
| 194 | }, |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 195 | .pch_thermal_trip = 75, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 196 | }" |
| 197 | |
| 198 | # Touchscreen |
| 199 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
| 200 | |
| 201 | # Trackpad |
| 202 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
| 203 | |
| 204 | # Audio |
| 205 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
| 206 | |
| 207 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 208 | register "SerialIoDevMode" = "{ |
| 209 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 210 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 211 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
| 212 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, |
| 213 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 214 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 215 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
| 216 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Angel Pons | 0856494 | 2021-06-04 18:55:03 +0200 | [diff] [blame] | 217 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 218 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 219 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 220 | }" |
| 221 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 222 | # PL2 override 18W for AML-Y |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 223 | register "power_limits_config" = "{ |
| 224 | .tdp_pl2_override = 18, |
| 225 | .psys_pmax = 45, |
| 226 | }" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 227 | register "tcc_offset" = "10" # TCC of 90C |
| 228 | |
| 229 | # Use default SD card detect GPIO configuration |
Angel Pons | 6bd99f9 | 2021-02-20 00:16:47 +0100 | [diff] [blame] | 230 | register "sdcard_cd_gpio" = "GPP_E15" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 231 | |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 232 | device domain 0 on |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 233 | device ref system_agent on end |
| 234 | device ref igpu on end |
| 235 | device ref sa_thermal on end |
| 236 | device ref imgu off end |
| 237 | device ref south_xhci on |
marxwang | a3a2ffb | 2019-01-02 20:34:53 +0800 | [diff] [blame] | 238 | chip drivers/usb/acpi |
| 239 | register "desc" = ""Root Hub"" |
| 240 | register "type" = "UPC_TYPE_HUB" |
| 241 | device usb 0.0 on |
| 242 | chip drivers/usb/acpi |
| 243 | register "desc" = ""USB Type C Port 1"" |
| 244 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 245 | device usb 2.0 on end |
| 246 | end |
| 247 | chip drivers/usb/acpi |
| 248 | register "desc" = ""USB Type A Port 1"" |
| 249 | register "type" = "UPC_TYPE_A" |
| 250 | device usb 2.1 on end |
| 251 | end |
| 252 | chip drivers/usb/acpi |
| 253 | register "desc" = ""Bluetooth"" |
| 254 | register "type" = "UPC_TYPE_INTERNAL" |
| 255 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C8)" |
| 256 | device usb 2.2 on end |
| 257 | end |
| 258 | chip drivers/usb/acpi |
| 259 | register "desc" = ""USB Type C Port 2"" |
| 260 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 261 | device usb 2.4 on end |
| 262 | end |
| 263 | chip drivers/usb/acpi |
| 264 | register "desc" = ""Camera"" |
| 265 | register "type" = "UPC_TYPE_INTERNAL" |
| 266 | device usb 2.8 on end |
| 267 | end |
| 268 | end |
| 269 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 270 | end |
| 271 | device ref south_xdci off end |
| 272 | device ref thermal on end |
| 273 | device ref cio off end |
| 274 | device ref i2c0 on |
kane_chen | 888af33 | 2018-09-14 10:02:18 +0800 | [diff] [blame] | 275 | chip drivers/i2c/hid |
| 276 | register "generic.hid" = ""PNP0C50"" |
| 277 | register "generic.desc" = ""SISC Touchscreen"" |
| 278 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Matt DeVillier | 86425c8 | 2022-03-28 23:45:14 -0500 | [diff] [blame] | 279 | register "generic.detect" = "1" |
kane_chen | 888af33 | 2018-09-14 10:02:18 +0800 | [diff] [blame] | 280 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
Kane Chenffd | b3591f3 | 2018-12-12 15:57:04 +0800 | [diff] [blame] | 281 | register "generic.enable_delay_ms" = "105" |
| 282 | register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E3)" |
| 283 | register "generic.stop_off_delay_ms" = "1" |
kane_chen | 888af33 | 2018-09-14 10:02:18 +0800 | [diff] [blame] | 284 | register "generic.has_power_resource" = "1" |
kane_chen | 888af33 | 2018-09-14 10:02:18 +0800 | [diff] [blame] | 285 | register "hid_desc_reg_offset" = "0x0" |
| 286 | device i2c 5c on end |
| 287 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 288 | end |
| 289 | device ref i2c1 on |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 290 | chip drivers/i2c/generic |
| 291 | register "hid" = ""ELAN0000"" |
| 292 | register "desc" = ""ELAN Touchpad"" |
Matt DeVillier | 1c2f5ce | 2019-11-28 01:45:11 -0600 | [diff] [blame] | 293 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 294 | register "wake" = "GPE0_DW0_05" # GPP_B5 |
Matt DeVillier | 86425c8 | 2022-03-28 23:45:14 -0500 | [diff] [blame] | 295 | register "detect" = "1" |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 296 | device i2c 15 on end |
| 297 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 298 | end |
| 299 | device ref i2c2 off end |
| 300 | device ref i2c3 off end |
| 301 | device ref heci1 on end |
| 302 | device ref heci2 off end |
| 303 | device ref csme_ider off end |
| 304 | device ref csme_ktr off end |
| 305 | device ref heci3 off end |
| 306 | device ref sata off end |
| 307 | device ref uart2 on end |
| 308 | device ref i2c5 on |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 309 | chip drivers/i2c/max98927 |
| 310 | register "interleave_mode" = "1" |
| 311 | register "vmon_slot_no" = "4" |
| 312 | register "imon_slot_no" = "5" |
| 313 | register "uid" = "0" |
| 314 | register "desc" = ""SSM4567 Right Speaker Amp"" |
| 315 | register "name" = ""MAXR"" |
| 316 | device i2c 39 on end |
| 317 | end |
| 318 | chip drivers/i2c/max98927 |
| 319 | register "interleave_mode" = "1" |
| 320 | register "vmon_slot_no" = "6" |
| 321 | register "imon_slot_no" = "7" |
| 322 | register "uid" = "1" |
| 323 | register "desc" = ""SSM4567 Left Speaker Amp"" |
| 324 | register "name" = ""MAXL"" |
| 325 | device i2c 3A on end |
| 326 | end |
marxwang | 3b8ef2b | 2018-09-07 13:42:00 +0800 | [diff] [blame] | 327 | chip drivers/i2c/da7219 |
| 328 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)" |
| 329 | register "btn_cfg" = "50" |
Terry Cheong | 053c901 | 2023-12-12 11:04:33 +0800 | [diff] [blame] | 330 | register "mic_det_thr" = "200" |
marxwang | 3b8ef2b | 2018-09-07 13:42:00 +0800 | [diff] [blame] | 331 | register "jack_ins_deb" = "20" |
| 332 | register "jack_det_rate" = ""32ms_64ms"" |
| 333 | register "jack_rem_deb" = "1" |
| 334 | register "a_d_btn_thr" = "0xa" |
| 335 | register "d_b_btn_thr" = "0x16" |
| 336 | register "b_c_btn_thr" = "0x21" |
| 337 | register "c_mic_btn_thr" = "0x3e" |
| 338 | register "btn_avg" = "4" |
| 339 | register "adc_1bit_rpt" = "1" |
| 340 | register "micbias_lvl" = "2600" |
| 341 | register "mic_amp_in_sel" = ""diff"" |
| 342 | device i2c 1A on end |
| 343 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 344 | end |
| 345 | device ref i2c4 off end |
| 346 | device ref pcie_rp1 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 347 | chip drivers/wifi/generic |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 348 | register "wake" = "GPE0_DW0_00" # GPP_B0 |
| 349 | device pci 00.0 on end |
| 350 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 351 | end |
| 352 | device ref pcie_rp2 off end |
| 353 | device ref pcie_rp3 off end |
| 354 | device ref pcie_rp4 off end |
| 355 | device ref pcie_rp5 off end |
| 356 | device ref pcie_rp6 off end |
| 357 | device ref pcie_rp7 off end |
| 358 | device ref pcie_rp8 off end |
| 359 | device ref pcie_rp9 off end |
| 360 | device ref pcie_rp10 off end |
| 361 | device ref pcie_rp11 off end |
| 362 | device ref pcie_rp12 off end |
| 363 | device ref uart0 on end |
| 364 | device ref uart1 off end |
| 365 | device ref gspi0 on |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 366 | chip drivers/spi/acpi |
| 367 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 368 | register "compat_string" = ""google,cr50"" |
| 369 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 370 | device spi 0 on end |
| 371 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 372 | end |
| 373 | device ref gspi1 off end |
| 374 | device ref emmc on end |
| 375 | device ref sdio off end |
| 376 | device ref sdxc on end |
| 377 | device ref lpc_espi on |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 378 | chip ec/google/chromeec |
| 379 | device pnp 0c09.0 on end |
| 380 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 381 | end |
| 382 | device ref p2sb on end |
| 383 | device ref pmc on end |
| 384 | device ref hda on end |
| 385 | device ref smbus on end |
| 386 | device ref fast_spi on end |
| 387 | device ref gbe off end |
Zhuohao Lee | 11f0160 | 2018-08-02 23:59:16 +0800 | [diff] [blame] | 388 | end |
| 389 | end |