Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 1 | chip soc/intel/skylake |
| 2 | |
Matt DeVillier | 205df70 | 2018-04-20 14:24:21 -0700 | [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 = 100, |
| 8 | .down_delay_ms = 500, |
| 9 | .cycle_delay_ms = 500, |
| 10 | .backlight_on_delay_ms = 1, |
| 11 | .backlight_off_delay_ms = 200, |
| 12 | .backlight_pwm_hz = 1000, |
| 13 | }" |
Nico Huber | 55c5777 | 2018-12-16 03:39:35 +0100 | [diff] [blame] | 14 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 15 | # Enable deep Sx states |
Duncan Laurie | 73ff0fb | 2017-04-10 21:07:06 -0700 | [diff] [blame] | 16 | register "deep_s3_enable_ac" = "0" |
Duncan Laurie | 1fe32d6 | 2017-04-10 21:02:13 -0700 | [diff] [blame] | 17 | register "deep_s3_enable_dc" = "1" |
| 18 | register "deep_s5_enable_ac" = "1" |
| 19 | register "deep_s5_enable_dc" = "1" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 20 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN" |
| 21 | |
Matt Delco | 1950ed9 | 2018-08-15 11:51:43 -0700 | [diff] [blame] | 22 | register "eist_enable" = "1" |
| 23 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 24 | # GPE configuration |
| 25 | # Note that GPE events called out in ASL code rely on this |
| 26 | # route. i.e. If this route changes then the affected GPE |
| 27 | # offset bits also need to be changed. |
| 28 | register "gpe0_dw0" = "GPP_B" |
| 29 | register "gpe0_dw1" = "GPP_D" |
| 30 | register "gpe0_dw2" = "GPP_E" |
| 31 | |
| 32 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 33 | register "gen1_dec" = "0x00fc0801" |
| 34 | register "gen2_dec" = "0x000c0201" |
| 35 | # EC memory map range is 0x900-0x9ff |
| 36 | register "gen3_dec" = "0x00fc0901" |
| 37 | |
| 38 | # FSP Configuration |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 39 | register "SataSalpSupport" = "0" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 40 | register "SataPortsEnable[0]" = "0" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 41 | register "DspEnable" = "1" |
| 42 | register "IoBufferOwnership" = "3" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 43 | register "SsicPortEnable" = "0" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 44 | register "ScsEmmcHs400Enabled" = "1" |
Duncan Laurie | 81485d2 | 2016-10-28 09: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" |
Duncan Laurie | 81485d2 | 2016-10-28 09: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 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 51 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 52 | # VR Settings Configuration for 4 Domains |
| 53 | #+----------------+-------+-------+-------+-------+ |
| 54 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 55 | #+----------------+-------+-------+-------+-------+ |
| 56 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 57 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 58 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 59 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 60 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 61 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 62 | #| ImonOffset | 0 | 0 | 0 | 0 | |
| 63 | #| IccMax | 4A | 24A | 24A | 24A | |
| 64 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 65 | #| AcLoadline | 14.9 | 5 | 5.7 | 4.57 | |
| 66 | #| DcLoadline | 14.2 | 4.86 | 4.2 | 4.3 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 67 | #+----------------+-------+-------+-------+-------+ |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 68 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 69 | .vr_config_enable = 1, |
| 70 | .psi1threshold = VR_CFG_AMP(20), |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 71 | .psi2threshold = VR_CFG_AMP(2), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 72 | .psi3threshold = VR_CFG_AMP(1), |
| 73 | .psi3enable = 1, |
| 74 | .psi4enable = 1, |
| 75 | .imon_slope = 0x0, |
| 76 | .imon_offset = 0x0, |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 77 | .icc_max = VR_CFG_AMP(4), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 78 | .voltage_limit = 1520, |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 79 | .ac_loadline = 1490, |
| 80 | .dc_loadline = 1420, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 81 | }" |
| 82 | |
| 83 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 84 | .vr_config_enable = 1, |
| 85 | .psi1threshold = VR_CFG_AMP(20), |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 86 | .psi2threshold = VR_CFG_AMP(2), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 87 | .psi3threshold = VR_CFG_AMP(1), |
| 88 | .psi3enable = 1, |
| 89 | .psi4enable = 1, |
| 90 | .imon_slope = 0x0, |
| 91 | .imon_offset = 0x0, |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 92 | .icc_max = VR_CFG_AMP(24), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 93 | .voltage_limit = 1520, |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 94 | .ac_loadline = 500, |
| 95 | .dc_loadline = 486, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 96 | }" |
| 97 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 98 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 99 | .vr_config_enable = 1, |
| 100 | .psi1threshold = VR_CFG_AMP(20), |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 101 | .psi2threshold = VR_CFG_AMP(2), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 102 | .psi3threshold = VR_CFG_AMP(1), |
| 103 | .psi3enable = 1, |
| 104 | .psi4enable = 1, |
| 105 | .imon_slope = 0x0, |
| 106 | .imon_offset = 0x0, |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 107 | .icc_max = VR_CFG_AMP(24), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 108 | .voltage_limit = 1520, |
Duncan Laurie | 57e9e3b | 2017-03-14 16:42:33 -0700 | [diff] [blame] | 109 | .ac_loadline = 570, |
| 110 | .dc_loadline = 420, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 111 | }" |
| 112 | |
| 113 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 114 | .vr_config_enable = 1, |
| 115 | .psi1threshold = VR_CFG_AMP(20), |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 116 | .psi2threshold = VR_CFG_AMP(2), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 117 | .psi3threshold = VR_CFG_AMP(1), |
| 118 | .psi3enable = 1, |
| 119 | .psi4enable = 1, |
| 120 | .imon_slope = 0x0, |
| 121 | .imon_offset = 0x0, |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 122 | .icc_max = VR_CFG_AMP(24), |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 123 | .voltage_limit = 1520, |
V Sowmya | 41f9373 | 2017-05-23 14:17:01 +0530 | [diff] [blame] | 124 | .ac_loadline = 457, |
| 125 | .dc_loadline = 430, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 126 | }" |
| 127 | |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 128 | # Enable Root port 1 with SRCCLKREQ1# |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 129 | register "PcieRpEnable[0]" = "1" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 130 | register "PcieRpClkReqSupport[0]" = "1" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 131 | register "PcieRpClkReqNumber[0]" = "1" |
Furquan Shaikh | ebd67c2 | 2017-09-18 14:21:48 -0700 | [diff] [blame] | 132 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 133 | register "PcieRpLtrEnable[0]" = "1" |
Duncan Laurie | 25874b8 | 2018-01-29 12:02:41 -0800 | [diff] [blame] | 134 | register "PcieRpHotPlug[0]" = "1" |
Divya Chellap | e7fb7ce | 2017-12-19 20:16:50 +0530 | [diff] [blame] | 135 | #RP 1 uses CLK SRC 1 |
| 136 | register "PcieRpClkSrcNumber[0]" = "1" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 137 | |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 138 | # Enable Root port 5 with SRCCLKREQ4# |
| 139 | register "PcieRpEnable[4]" = "1" |
| 140 | register "PcieRpClkReqSupport[4]" = "1" |
| 141 | register "PcieRpClkReqNumber[4]" = "4" |
Furquan Shaikh | ebd67c2 | 2017-09-18 14:21:48 -0700 | [diff] [blame] | 142 | register "PcieRpAdvancedErrorReporting[4]" = "1" |
| 143 | register "PcieRpLtrEnable[4]" = "1" |
Divya Chellap | e7fb7ce | 2017-12-19 20:16:50 +0530 | [diff] [blame] | 144 | #RP 5 uses CLK SRC 4 |
| 145 | register "PcieRpClkSrcNumber[4]" = "4" |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 146 | |
Subrata Banik | 2c3054c | 2016-11-22 20:21:49 +0530 | [diff] [blame] | 147 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
| 148 | register "usb2_ports[1]" = "USB2_PORT_FLEX(OC_SKIP)" # Camera |
| 149 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 150 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 151 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # H1 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 152 | |
Subrata Banik | 2c3054c | 2016-11-22 20:21:49 +0530 | [diff] [blame] | 153 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 154 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 155 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 156 | # Intel Common SoC Config |
| 157 | #+-------------------+---------------------------+ |
| 158 | #| Field | Value | |
| 159 | #+-------------------+---------------------------+ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 160 | #| I2C0 | Touchscreen | |
| 161 | #| I2C1 | Early TPM access | |
| 162 | #| I2C2 | Touchpad | |
| 163 | #| I2C4 | Audio | |
| 164 | #+-------------------+---------------------------+ |
| 165 | register "common_soc_config" = "{ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 166 | .i2c[0] = { |
| 167 | .speed = I2C_SPEED_FAST_PLUS, |
| 168 | .rise_time_ns = 98, |
| 169 | .fall_time_ns = 38, |
| 170 | }, |
| 171 | .i2c[1] = { |
| 172 | .early_init = 1, |
| 173 | .speed = I2C_SPEED_FAST, |
| 174 | .rise_time_ns = 112, |
| 175 | .fall_time_ns = 34, |
| 176 | }, |
| 177 | .i2c[2] = { |
| 178 | .speed = I2C_SPEED_FAST, |
| 179 | .speed_config[0] = { |
| 180 | .speed = I2C_SPEED_FAST, |
| 181 | .scl_lcnt = 186, |
| 182 | .scl_hcnt = 93, |
| 183 | .sda_hold = 36, |
| 184 | } |
| 185 | }, |
| 186 | .i2c[4] = { |
| 187 | .speed = I2C_SPEED_FAST, |
| 188 | .speed_config[0] = { |
| 189 | .speed = I2C_SPEED_FAST, |
| 190 | .scl_lcnt = 176, |
| 191 | .scl_hcnt = 95, |
| 192 | .sda_hold = 36, |
| 193 | } |
| 194 | }, |
| 195 | }" |
| 196 | |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 197 | # Touchscreen |
| 198 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 199 | |
| 200 | # Enable I2C1 bus early for TPM access |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 201 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 202 | |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 203 | # Touchpad |
| 204 | register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8" |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 205 | |
| 206 | # Audio |
| 207 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 208 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 209 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 210 | register "SerialIoDevMode" = "{ |
| 211 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 212 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 213 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
Duncan Laurie | 93eb8c4 | 2016-12-12 10:43:45 -0800 | [diff] [blame] | 214 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 215 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 216 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 217 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
Duncan Laurie | c5eab98 | 2017-05-16 19:06:04 -0700 | [diff] [blame] | 218 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Duncan Laurie | e49b866 | 2017-04-13 01:40:53 -0700 | [diff] [blame] | 219 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 220 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 221 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 222 | }" |
| 223 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 224 | register "dptf_enable" = "1" |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 225 | register "power_limits_config" = "{ |
| 226 | .tdp_pl1_override = 7, |
| 227 | .tdp_pl2_override = 15, |
| 228 | }" |
Duncan Laurie | 690831d | 2016-12-16 08:01:09 -0800 | [diff] [blame] | 229 | register "tcc_offset" = "10" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 230 | |
Arthur Heymans | 69cd729 | 2022-11-07 13:52:11 +0100 | [diff] [blame^] | 231 | device cpu_cluster 0 on end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 232 | device domain 0 on |
| 233 | device pci 00.0 on end # Host Bridge |
| 234 | device pci 02.0 on end # Integrated Graphics Device |
Felix Singer | 9c1c009 | 2020-07-29 20:48:08 +0200 | [diff] [blame] | 235 | device pci 04.0 on end # SA thermal subsystem |
Duncan Laurie | 283b01d | 2018-05-07 15:39:37 -0700 | [diff] [blame] | 236 | device pci 14.0 on |
| 237 | chip drivers/usb/acpi |
| 238 | register "desc" = ""Root Hub"" |
| 239 | register "type" = "UPC_TYPE_HUB" |
| 240 | device usb 0.0 on |
| 241 | chip drivers/usb/acpi |
| 242 | register "desc" = ""USB2 Type-C Left"" |
| 243 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Duncan Laurie | b0a0c6c | 2018-12-01 17:15:29 -0800 | [diff] [blame] | 244 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
Duncan Laurie | 283b01d | 2018-05-07 15:39:37 -0700 | [diff] [blame] | 245 | device usb 2.0 on end |
| 246 | end |
| 247 | chip drivers/usb/acpi |
| 248 | register "desc" = ""USB2 Camera"" |
| 249 | register "type" = "UPC_TYPE_INTERNAL" |
| 250 | device usb 2.1 on end |
| 251 | end |
| 252 | chip drivers/usb/acpi |
| 253 | register "desc" = ""USB2 Bluetooth"" |
| 254 | register "type" = "UPC_TYPE_INTERNAL" |
| 255 | device usb 2.2 on end |
| 256 | end |
| 257 | chip drivers/usb/acpi |
| 258 | register "desc" = ""USB2 Type-C Right"" |
| 259 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Duncan Laurie | b0a0c6c | 2018-12-01 17:15:29 -0800 | [diff] [blame] | 260 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
Duncan Laurie | 283b01d | 2018-05-07 15:39:37 -0700 | [diff] [blame] | 261 | device usb 2.4 on end |
| 262 | end |
| 263 | chip drivers/usb/acpi |
| 264 | register "desc" = ""USB2 H1 TPM"" |
| 265 | register "type" = "UPC_TYPE_INTERNAL" |
| 266 | device usb 2.6 on end |
| 267 | end |
| 268 | chip drivers/usb/acpi |
| 269 | register "desc" = ""USB3 Type-C Left"" |
| 270 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Duncan Laurie | b0a0c6c | 2018-12-01 17:15:29 -0800 | [diff] [blame] | 271 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
Duncan Laurie | 283b01d | 2018-05-07 15:39:37 -0700 | [diff] [blame] | 272 | device usb 3.0 on end |
| 273 | end |
| 274 | chip drivers/usb/acpi |
| 275 | register "desc" = ""USB3 Type-C Right"" |
| 276 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Duncan Laurie | b0a0c6c | 2018-12-01 17:15:29 -0800 | [diff] [blame] | 277 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
Duncan Laurie | 283b01d | 2018-05-07 15:39:37 -0700 | [diff] [blame] | 278 | device usb 3.1 on end |
| 279 | end |
| 280 | end |
| 281 | end |
| 282 | end # USB xHCI |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 283 | device pci 14.1 off end # USB xDCI (OTG) |
| 284 | device pci 14.2 on end # Thermal Subsystem |
Felix Singer | e218667 | 2020-07-29 23:20:52 +0200 | [diff] [blame] | 285 | device pci 14.3 off end # Camera |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 286 | device pci 15.0 on |
Furquan Shaikh | 5360c7e | 2017-02-19 01:18:09 -0800 | [diff] [blame] | 287 | chip drivers/i2c/hid |
| 288 | register "generic.hid" = ""WCOM50C1"" |
| 289 | register "generic.desc" = ""WCOM Digitizer"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 290 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Duncan Laurie | 658a6dc | 2017-02-17 17:27:51 -0800 | [diff] [blame] | 291 | register "generic.speed" = "I2C_SPEED_FAST_PLUS" |
Duncan Laurie | 2d14021 | 2016-12-15 18:51:29 -0800 | [diff] [blame] | 292 | register "hid_desc_reg_offset" = "0x1" |
| 293 | device i2c 0a on end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 294 | end |
| 295 | end # I2C #0 |
| 296 | device pci 15.1 on |
| 297 | chip drivers/i2c/tpm |
| 298 | register "hid" = ""GOOG0005"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 299 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 300 | device i2c 50 on end |
| 301 | end |
| 302 | end # I2C #1 |
| 303 | device pci 15.2 on |
Wei-Ning Huang | 267e4a5 | 2017-04-24 18:53:22 +0800 | [diff] [blame] | 304 | chip drivers/i2c/hid |
| 305 | register "generic.hid" = ""ACPI0C50"" |
| 306 | register "generic.desc" = ""Touchpad"" |
| 307 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)" |
| 308 | register "hid_desc_reg_offset" = "0x1" |
Duncan Laurie | 2d14021 | 2016-12-15 18:51:29 -0800 | [diff] [blame] | 309 | device i2c 49 on end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 310 | end |
Wei-Ning Huang | 267e4a5 | 2017-04-24 18:53:22 +0800 | [diff] [blame] | 311 | chip drivers/i2c/generic |
| 312 | register "hid" = ""GOOG0008"" |
| 313 | register "desc" = ""Touchpad EC Interface"" |
| 314 | device i2c 1e on end |
| 315 | end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 316 | end # I2C #2 |
Duncan Laurie | 93eb8c4 | 2016-12-12 10:43:45 -0800 | [diff] [blame] | 317 | device pci 15.3 off end # I2C #3 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 318 | device pci 16.0 on end # Management Engine Interface 1 |
| 319 | device pci 16.1 off end # Management Engine Interface 2 |
| 320 | device pci 16.2 off end # Management Engine IDE-R |
| 321 | device pci 16.3 off end # Management Engine KT Redirection |
| 322 | device pci 16.4 off end # Management Engine Interface 3 |
| 323 | device pci 17.0 off end # SATA |
| 324 | device pci 19.0 on end # UART #2 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 325 | device pci 19.1 off end # I2C #5 |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 326 | device pci 19.2 on |
| 327 | chip drivers/i2c/max98927 |
| 328 | register "interleave_mode" = "1" |
Harsha Priya | 130b4a2 | 2017-08-24 14:40:04 -0700 | [diff] [blame] | 329 | register "vmon_slot_no" = "4" |
| 330 | register "imon_slot_no" = "5" |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 331 | register "uid" = "0" |
| 332 | register "desc" = ""Right Speaker Amp"" |
| 333 | register "name" = ""MAXR"" |
| 334 | device i2c 39 on end |
| 335 | end |
| 336 | chip drivers/i2c/max98927 |
| 337 | register "interleave_mode" = "1" |
Harsha Priya | 130b4a2 | 2017-08-24 14:40:04 -0700 | [diff] [blame] | 338 | register "vmon_slot_no" = "6" |
| 339 | register "imon_slot_no" = "7" |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 340 | register "uid" = "1" |
| 341 | register "desc" = ""Left Speaker Amp"" |
| 342 | register "name" = ""MAXL"" |
| 343 | device i2c 3a on end |
| 344 | end |
Duncan Laurie | f8e4eb8 | 2017-08-10 18:42:08 -0700 | [diff] [blame] | 345 | chip drivers/i2c/rt5663 |
Harsha Priya | ad12610 | 2018-05-02 14:39:29 -0700 | [diff] [blame] | 346 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH_WAKE(GPP_D9)" |
Duncan Laurie | f8e4eb8 | 2017-08-10 18:42:08 -0700 | [diff] [blame] | 347 | register "dc_offset_l_manual" = "0xffd160" |
| 348 | register "dc_offset_r_manual" = "0xffd1c0" |
| 349 | register "dc_offset_l_manual_mic" = "0xff8a10" |
| 350 | register "dc_offset_r_manual_mic" = "0xff8ab0" |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 351 | device i2c 13 on end |
| 352 | end |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 353 | chip drivers/i2c/generic |
| 354 | register "hid" = ""10EC5514"" |
| 355 | register "name" = ""RT54"" |
| 356 | register "desc" = ""Realtek RT5514"" |
Cheng-Yi Chiang | 09ab157 | 2017-11-01 15:01:34 +0800 | [diff] [blame] | 357 | register "property_count" = "3" |
Duncan Laurie | f10c8f9 | 2017-08-29 08:36:55 -0700 | [diff] [blame] | 358 | # Set the DMIC initial delay to 16ms to avoid pop noise |
| 359 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 360 | register "property_list[0].name" = ""realtek,dmic-init-delay"" |
| 361 | register "property_list[0].integer" = "16" |
Cheng-Yi Chiang | 09ab157 | 2017-11-01 15:01:34 +0800 | [diff] [blame] | 362 | # Set clock name for RT5514 to calibrate DSP clock. |
| 363 | register "property_list[1].type" = "ACPI_DP_TYPE_STRING" |
| 364 | register "property_list[1].name" = ""realtek,dsp-calib-clk-name"" |
| 365 | register "property_list[1].string" = ""ssp1_mclk"" |
| 366 | # Set clock rate for RT5514 to calibrate DSP clock. |
| 367 | register "property_list[2].type" = "ACPI_DP_TYPE_INTEGER" |
| 368 | register "property_list[2].name" = ""realtek,dsp-calib-clk-rate"" |
| 369 | register "property_list[2].integer" = "24000000" |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 370 | device i2c 57 on end |
| 371 | end |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 372 | end # I2C #4 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 373 | device pci 1c.0 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 374 | chip drivers/wifi/generic |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 375 | register "wake" = "GPE0_PCI_EXP" |
| 376 | device pci 00.0 on end |
| 377 | end |
| 378 | end # PCI Express Port 1 |
| 379 | device pci 1c.1 off end # PCI Express Port 2 |
| 380 | device pci 1c.2 off end # PCI Express Port 3 |
| 381 | device pci 1c.3 off end # PCI Express Port 4 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 382 | device pci 1c.4 on end # PCI Express Port 5 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 383 | device pci 1c.5 off end # PCI Express Port 6 |
| 384 | device pci 1c.6 off end # PCI Express Port 7 |
| 385 | device pci 1c.7 off end # PCI Express Port 8 |
| 386 | device pci 1d.0 off end # PCI Express Port 9 |
| 387 | device pci 1d.1 off end # PCI Express Port 10 |
| 388 | device pci 1d.2 off end # PCI Express Port 11 |
| 389 | device pci 1d.3 off end # PCI Express Port 12 |
| 390 | device pci 1e.0 on end # UART #0 |
| 391 | device pci 1e.1 off end # UART #1 |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 392 | device pci 1e.2 on |
| 393 | chip drivers/spi/acpi |
| 394 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 395 | register "compat_string" = ""realtek,rt5514"" |
Duncan Laurie | 9692f31 | 2017-06-30 02:01:02 -0700 | [diff] [blame] | 396 | register "irq" = "ACPI_IRQ_EDGE_HIGH(GPP_F10_IRQ)" |
Duncan Laurie | 37da884 | 2017-09-27 03:45:53 -0700 | [diff] [blame] | 397 | register "speed" = "12 * MHz" |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 398 | device spi 0 on end |
| 399 | end |
| 400 | end # GSPI #0 |
Duncan Laurie | c5eab98 | 2017-05-16 19:06:04 -0700 | [diff] [blame] | 401 | device pci 1e.3 off end # GSPI #1 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 402 | device pci 1e.4 on end # eMMC |
| 403 | device pci 1e.5 off end # SDIO |
| 404 | device pci 1e.6 off end # SDCard |
| 405 | device pci 1f.0 on |
| 406 | chip ec/google/chromeec |
| 407 | device pnp 0c09.0 on end |
| 408 | end |
| 409 | end # LPC Interface |
| 410 | device pci 1f.1 on end # P2SB |
| 411 | device pci 1f.2 on end # Power Management Controller |
| 412 | device pci 1f.3 on end # Intel HDA |
| 413 | device pci 1f.4 on end # SMBus |
| 414 | device pci 1f.5 on end # PCH SPI |
| 415 | device pci 1f.6 off end # GbE |
| 416 | end |
| 417 | end |