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