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" |
| 35 | register "XdciEnable" = "0" |
| 36 | register "SsicPortEnable" = "0" |
| 37 | register "SmbusEnable" = "1" |
| 38 | register "Cio2Enable" = "0" |
| 39 | register "ScsEmmcEnabled" = "1" |
| 40 | register "ScsEmmcHs400Enabled" = "1" |
| 41 | register "ScsSdCardEnabled" = "0" |
| 42 | register "IshEnable" = "0" |
| 43 | register "PttSwitch" = "0" |
| 44 | register "InternalGfx" = "1" |
| 45 | register "SkipExtGfxScan" = "1" |
| 46 | register "Device4Enable" = "1" |
| 47 | register "HeciEnabled" = "0" |
| 48 | register "FspSkipMpInit" = "1" |
| 49 | register "SaGv" = "3" |
| 50 | register "SerialIrqConfigSirqEnable" = "1" |
| 51 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 52 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 53 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 54 | register "PmConfigSlpAMinAssert" = "3" # 2s |
| 55 | register "PmTimerDisabled" = "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 | |
| 71 | #| Psi2Threshold | 4A | 5A | 5A | 5A | |
| 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 | |
Duncan Laurie | 57e9e3b | 2017-03-14 16:42:33 -0700 | [diff] [blame] | 79 | #| AcLoadline | 17.9 | 5.9 | 5.7 | 5.7 | |
| 80 | #| DcLoadline | 14 | 4.7 | 4.2 | 4.2 | |
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), |
| 85 | .psi2threshold = VR_CFG_AMP(4), |
| 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, |
Duncan Laurie | 57e9e3b | 2017-03-14 16:42:33 -0700 | [diff] [blame] | 93 | .ac_loadline = 1790, |
| 94 | .dc_loadline = 1400, |
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), |
| 100 | .psi2threshold = VR_CFG_AMP(5), |
| 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, |
Duncan Laurie | 57e9e3b | 2017-03-14 16:42:33 -0700 | [diff] [blame] | 108 | .ac_loadline = 590, |
| 109 | .dc_loadline = 470, |
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), |
| 115 | .psi2threshold = VR_CFG_AMP(5), |
| 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), |
| 130 | .psi2threshold = VR_CFG_AMP(5), |
| 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, |
Duncan Laurie | 57e9e3b | 2017-03-14 16:42:33 -0700 | [diff] [blame] | 138 | .ac_loadline = 570, |
| 139 | .dc_loadline = 420, |
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" |
| 146 | |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 147 | # Enable Root port 5 with SRCCLKREQ4# |
| 148 | register "PcieRpEnable[4]" = "1" |
| 149 | register "PcieRpClkReqSupport[4]" = "1" |
| 150 | register "PcieRpClkReqNumber[4]" = "4" |
| 151 | |
Subrata Banik | 2c3054c | 2016-11-22 20:21:49 +0530 | [diff] [blame] | 152 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
| 153 | register "usb2_ports[1]" = "USB2_PORT_FLEX(OC_SKIP)" # Camera |
| 154 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 155 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 156 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # H1 |
Subrata Banik | 2c3054c | 2016-11-22 20:21:49 +0530 | [diff] [blame] | 157 | register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Empty |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 158 | |
Subrata Banik | 2c3054c | 2016-11-22 20:21:49 +0530 | [diff] [blame] | 159 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 160 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 161 | register "usb3_ports[2]" = "USB3_PORT_EMPTY" # Empty |
| 162 | register "usb3_ports[3]" = "USB3_PORT_EMPTY" # Empty |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 163 | |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 164 | # Touchscreen |
| 165 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
| 166 | register "i2c[0]" = "{ |
| 167 | .speed = I2C_SPEED_FAST_PLUS, |
Duncan Laurie | 92dde2f | 2017-04-07 02:03:45 -0700 | [diff] [blame] | 168 | .rise_time_ns = 98, |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 169 | .fall_time_ns = 38, |
| 170 | }" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 171 | |
| 172 | # Enable I2C1 bus early for TPM access |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 173 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
Duncan Laurie | c86fa6d | 2017-02-17 17:26:04 -0800 | [diff] [blame] | 174 | register "i2c[1]" = "{ |
| 175 | .early_init = 1, |
| 176 | .speed = I2C_SPEED_FAST, |
Duncan Laurie | 92dde2f | 2017-04-07 02:03:45 -0700 | [diff] [blame] | 177 | .rise_time_ns = 112, |
| 178 | .fall_time_ns = 34, |
Duncan Laurie | c86fa6d | 2017-02-17 17:26:04 -0800 | [diff] [blame] | 179 | }" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 180 | |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 181 | # Touchpad |
| 182 | register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8" |
| 183 | register "i2c[2]" = "{ |
| 184 | .speed = I2C_SPEED_FAST, |
Duncan Laurie | 92dde2f | 2017-04-07 02:03:45 -0700 | [diff] [blame] | 185 | .rise_time_ns = 111, |
| 186 | .fall_time_ns = 41, |
Duncan Laurie | d4d6ba1 | 2017-02-24 12:28:12 -0800 | [diff] [blame] | 187 | }" |
| 188 | |
| 189 | # Audio |
| 190 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
| 191 | register "i2c[4]" = "{ |
| 192 | .speed = I2C_SPEED_FAST, |
| 193 | .rise_time_ns = 240, |
| 194 | .fall_time_ns = 30, |
| 195 | }" |
| 196 | |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 197 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 198 | register "SerialIoDevMode" = "{ |
| 199 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 200 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 201 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
Duncan Laurie | 93eb8c4 | 2016-12-12 10:43:45 -0800 | [diff] [blame] | 202 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 203 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 204 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 205 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
| 206 | [PchSerialIoIndexSpi1] = PchSerialIoPci, |
| 207 | [PchSerialIoIndexUart0] = PchSerialIoPci, |
| 208 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 209 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 210 | }" |
| 211 | |
| 212 | register "speed_shift_enable" = "1" |
| 213 | register "dptf_enable" = "1" |
| 214 | register "tdp_pl2_override" = "7" |
Duncan Laurie | 690831d | 2016-12-16 08:01:09 -0800 | [diff] [blame] | 215 | register "tcc_offset" = "10" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 216 | |
| 217 | device cpu_cluster 0 on |
| 218 | device lapic 0 on end |
| 219 | end |
| 220 | device domain 0 on |
| 221 | device pci 00.0 on end # Host Bridge |
| 222 | device pci 02.0 on end # Integrated Graphics Device |
| 223 | device pci 14.0 on end # USB xHCI |
| 224 | device pci 14.1 off end # USB xDCI (OTG) |
| 225 | device pci 14.2 on end # Thermal Subsystem |
| 226 | device pci 15.0 on |
Furquan Shaikh | 5360c7e | 2017-02-19 01:18:09 -0800 | [diff] [blame] | 227 | chip drivers/i2c/hid |
| 228 | register "generic.hid" = ""WCOM50C1"" |
| 229 | register "generic.desc" = ""WCOM Digitizer"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 230 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Duncan Laurie | 658a6dc | 2017-02-17 17:27:51 -0800 | [diff] [blame] | 231 | register "generic.speed" = "I2C_SPEED_FAST_PLUS" |
Duncan Laurie | 2d14021 | 2016-12-15 18:51:29 -0800 | [diff] [blame] | 232 | register "hid_desc_reg_offset" = "0x1" |
| 233 | device i2c 0a on end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 234 | end |
| 235 | end # I2C #0 |
| 236 | device pci 15.1 on |
| 237 | chip drivers/i2c/tpm |
| 238 | register "hid" = ""GOOG0005"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 239 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 240 | device i2c 50 on end |
| 241 | end |
| 242 | end # I2C #1 |
| 243 | device pci 15.2 on |
Wei-Ning Huang | e9a2295 | 2017-02-07 14:14:39 +0800 | [diff] [blame] | 244 | chip drivers/i2c/generic |
| 245 | register "hid" = ""GOOG5400"" |
| 246 | register "desc" = ""Touchpad"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 247 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_B3_IRQ)" |
Duncan Laurie | 2d14021 | 2016-12-15 18:51:29 -0800 | [diff] [blame] | 248 | device i2c 49 on end |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 249 | end |
| 250 | end # I2C #2 |
Duncan Laurie | 93eb8c4 | 2016-12-12 10:43:45 -0800 | [diff] [blame] | 251 | device pci 15.3 off end # I2C #3 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 252 | device pci 16.0 on end # Management Engine Interface 1 |
| 253 | device pci 16.1 off end # Management Engine Interface 2 |
| 254 | device pci 16.2 off end # Management Engine IDE-R |
| 255 | device pci 16.3 off end # Management Engine KT Redirection |
| 256 | device pci 16.4 off end # Management Engine Interface 3 |
| 257 | device pci 17.0 off end # SATA |
| 258 | device pci 19.0 on end # UART #2 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 259 | device pci 19.1 off end # I2C #5 |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 260 | device pci 19.2 on |
| 261 | chip drivers/i2c/max98927 |
| 262 | register "interleave_mode" = "1" |
| 263 | register "uid" = "0" |
| 264 | register "desc" = ""Right Speaker Amp"" |
| 265 | register "name" = ""MAXR"" |
| 266 | device i2c 39 on end |
| 267 | end |
| 268 | chip drivers/i2c/max98927 |
| 269 | register "interleave_mode" = "1" |
| 270 | register "uid" = "1" |
| 271 | register "desc" = ""Left Speaker Amp"" |
| 272 | register "name" = ""MAXL"" |
| 273 | device i2c 3a on end |
| 274 | end |
| 275 | chip drivers/i2c/generic |
| 276 | register "hid" = ""10EC5663"" |
| 277 | register "name" = ""RT53"" |
| 278 | register "desc" = ""Realtek RT5663"" |
Duncan Laurie | 887e793 | 2017-03-15 11:34:04 -0700 | [diff] [blame] | 279 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)" |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 280 | register "probed" = "1" |
| 281 | device i2c 13 on end |
| 282 | end |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 283 | chip drivers/i2c/generic |
| 284 | register "hid" = ""10EC5514"" |
| 285 | register "name" = ""RT54"" |
| 286 | register "desc" = ""Realtek RT5514"" |
| 287 | device i2c 57 on end |
| 288 | end |
Duncan Laurie | 5492bfb5 | 2017-02-17 17:40:10 -0800 | [diff] [blame] | 289 | end # I2C #4 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 290 | device pci 1c.0 on |
| 291 | chip drivers/intel/wifi |
| 292 | register "wake" = "GPE0_PCI_EXP" |
| 293 | device pci 00.0 on end |
| 294 | end |
| 295 | end # PCI Express Port 1 |
| 296 | device pci 1c.1 off end # PCI Express Port 2 |
| 297 | device pci 1c.2 off end # PCI Express Port 3 |
| 298 | device pci 1c.3 off end # PCI Express Port 4 |
Duncan Laurie | 949e34c | 2017-01-21 19:11:37 -0800 | [diff] [blame] | 299 | device pci 1c.4 on end # PCI Express Port 5 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 300 | device pci 1c.5 off end # PCI Express Port 6 |
| 301 | device pci 1c.6 off end # PCI Express Port 7 |
| 302 | device pci 1c.7 off end # PCI Express Port 8 |
| 303 | device pci 1d.0 off end # PCI Express Port 9 |
| 304 | device pci 1d.1 off end # PCI Express Port 10 |
| 305 | device pci 1d.2 off end # PCI Express Port 11 |
| 306 | device pci 1d.3 off end # PCI Express Port 12 |
| 307 | device pci 1e.0 on end # UART #0 |
| 308 | device pci 1e.1 off end # UART #1 |
Duncan Laurie | 2661a9f | 2017-03-02 10:15:23 -0800 | [diff] [blame] | 309 | device pci 1e.2 on |
| 310 | chip drivers/spi/acpi |
| 311 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 312 | register "compat_string" = ""realtek,rt5514"" |
| 313 | register "irq" = "ACPI_IRQ_LEVEL_HIGH(GPP_F10_IRQ)" |
| 314 | device spi 0 on end |
| 315 | end |
| 316 | end # GSPI #0 |
Furquan Shaikh | 231c198 | 2017-02-11 12:02:40 -0800 | [diff] [blame] | 317 | device pci 1e.3 on |
| 318 | chip drivers/spi/acpi |
| 319 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 320 | register "uid" = "1" |
| 321 | register "compat_string" = ""fpc,fpc1020"" |
Duncan Laurie | 6c82385 | 2017-02-17 17:24:12 -0800 | [diff] [blame] | 322 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_HIGH(GPP_C8)" |
| 323 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C9)" |
Furquan Shaikh | 231c198 | 2017-02-11 12:02:40 -0800 | [diff] [blame] | 324 | device spi 0 on end |
| 325 | end |
| 326 | end # GSPI #1 |
Duncan Laurie | 81485d2 | 2016-10-28 09:13:52 -0700 | [diff] [blame] | 327 | device pci 1e.4 on end # eMMC |
| 328 | device pci 1e.5 off end # SDIO |
| 329 | device pci 1e.6 off end # SDCard |
| 330 | device pci 1f.0 on |
| 331 | chip ec/google/chromeec |
| 332 | device pnp 0c09.0 on end |
| 333 | end |
| 334 | end # LPC Interface |
| 335 | device pci 1f.1 on end # P2SB |
| 336 | device pci 1f.2 on end # Power Management Controller |
| 337 | device pci 1f.3 on end # Intel HDA |
| 338 | device pci 1f.4 on end # SMBus |
| 339 | device pci 1f.5 on end # PCH SPI |
| 340 | device pci 1f.6 off end # GbE |
| 341 | end |
| 342 | end |