Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 1 | chip soc/intel/skylake |
| 2 | |
| 3 | # Deep Sx states |
Duncan Laurie | 1fe32d6 | 2017-04-10 21:02:13 -0700 | [diff] [blame] | 4 | register "deep_s3_enable_ac" = "0" |
| 5 | register "deep_s3_enable_dc" = "0" |
| 6 | register "deep_s5_enable_ac" = "1" |
| 7 | register "deep_s5_enable_dc" = "1" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 8 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN" |
| 9 | |
Shelley Chen | da6e4f6 | 2017-06-29 16:13:33 -0700 | [diff] [blame] | 10 | # Mapping of USB port # to device |
| 11 | #+----------------+-------+-----------------------------------+ |
| 12 | #| Device | Port# | Rev | |
| 13 | #+----------------+-------+-----------------------------------+ |
| 14 | #| USB C | 1 | 2/3 | |
| 15 | #| USB A Rear | 2 | 2/3 | |
| 16 | #| USB A Front | 3 | 2/3 | |
| 17 | #| USB A Front | 4 | 2/3 | |
| 18 | #| USB A Rear | 5 | 2 on base celeron, 2/3 all others | |
| 19 | #| USB A Rear | 6 | 2 on base celeron, 2/3 all others | |
| 20 | #| Bluetooth | 7 | | |
| 21 | #| Daughter Board | 8 | | |
| 22 | #+----------------+-------+-----------------------------------+ |
| 23 | |
| 24 | # Bitmap for Wake Enable on USB attach/detach |
| 25 | register "usb2_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | \ |
| 26 | USB_PORT_WAKE_ENABLE(3) | \ |
| 27 | USB_PORT_WAKE_ENABLE(4) | \ |
| 28 | USB_PORT_WAKE_ENABLE(5) | \ |
| 29 | USB_PORT_WAKE_ENABLE(6)" |
| 30 | register "usb3_wake_enable_bitmap" = "USB_PORT_WAKE_ENABLE(2) | \ |
| 31 | USB_PORT_WAKE_ENABLE(3) | \ |
| 32 | USB_PORT_WAKE_ENABLE(4) | \ |
| 33 | USB_PORT_WAKE_ENABLE(5) | \ |
| 34 | USB_PORT_WAKE_ENABLE(6)" |
| 35 | |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 36 | # GPE configuration |
| 37 | # Note that GPE events called out in ASL code rely on this |
| 38 | # route. i.e. If this route changes then the affected GPE |
| 39 | # offset bits also need to be changed. |
| 40 | register "gpe0_dw0" = "GPP_B" |
| 41 | register "gpe0_dw1" = "GPP_D" |
| 42 | register "gpe0_dw2" = "GPP_E" |
| 43 | |
| 44 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 45 | register "gen1_dec" = "0x00fc0801" |
| 46 | register "gen2_dec" = "0x000c0201" |
| 47 | # EC memory map range is 0x900-0x9ff |
| 48 | register "gen3_dec" = "0x00fc0901" |
| 49 | |
Tsai, Gaggery | b2a3ac4 | 2017-08-22 10:55:13 +0800 | [diff] [blame] | 50 | # Enable DPTF |
| 51 | register "dptf_enable" = "1" |
| 52 | |
Shelley Chen | 6dd9e59 | 2017-12-20 10:43:25 -0800 | [diff] [blame^] | 53 | # Enable S0ix |
| 54 | register "s0ix_enable" = "1" |
| 55 | |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 56 | # FSP Configuration |
| 57 | register "ProbelessTrace" = "0" |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 58 | register "EnableLan" = "1" |
| 59 | register "EnableSata" = "1" |
| 60 | register "SataSalpSupport" = "1" |
Kane Chen | 91ea9f0 | 2017-12-13 11:35:54 +0800 | [diff] [blame] | 61 | register "SataMode" = "0" |
David Wu | 0f82905 | 2017-12-11 14:08:11 +0800 | [diff] [blame] | 62 | register "SataPortsEnable[0]" = "1" |
Shelley Chen | e8365aa | 2017-04-24 13:11:43 -0700 | [diff] [blame] | 63 | register "SataPortsEnable[1]" = "1" |
Gaggery Tsai | bc37c67 | 2017-09-29 13:40:04 +0800 | [diff] [blame] | 64 | register "SataPortsDevSlp[1]" = "1" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 65 | register "EnableAzalia" = "1" |
| 66 | register "DspEnable" = "1" |
| 67 | register "IoBufferOwnership" = "3" |
| 68 | register "EnableTraceHub" = "0" |
| 69 | register "XdciEnable" = "0" |
| 70 | register "SsicPortEnable" = "0" |
| 71 | register "SmbusEnable" = "1" |
| 72 | register "Cio2Enable" = "0" |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 73 | register "ScsEmmcEnabled" = "0" |
| 74 | register "ScsEmmcHs400Enabled" = "0" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 75 | register "ScsSdCardEnabled" = "2" |
| 76 | register "IshEnable" = "0" |
| 77 | register "PttSwitch" = "0" |
| 78 | register "InternalGfx" = "1" |
| 79 | register "SkipExtGfxScan" = "1" |
| 80 | register "Device4Enable" = "1" |
| 81 | register "HeciEnabled" = "0" |
| 82 | register "FspSkipMpInit" = "1" |
| 83 | register "SaGv" = "3" |
| 84 | register "SerialIrqConfigSirqEnable" = "1" |
| 85 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 86 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 87 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 88 | register "PmConfigSlpAMinAssert" = "3" # 2s |
| 89 | register "PmTimerDisabled" = "1" |
| 90 | register "SendVrMbxCmd" = "1" # IMVP8 workaround |
| 91 | |
Rizwan Qureshi | bbff157 | 2017-12-07 02:10:06 +0530 | [diff] [blame] | 92 | # Intersil VR c-state issue workaround |
| 93 | # send VR mailbox command for IA/GT/SA rails |
| 94 | register "IslVrCmd" = "2" |
| 95 | |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 96 | register "pirqa_routing" = "PCH_IRQ11" |
| 97 | register "pirqb_routing" = "PCH_IRQ10" |
| 98 | register "pirqc_routing" = "PCH_IRQ11" |
| 99 | register "pirqd_routing" = "PCH_IRQ11" |
| 100 | register "pirqe_routing" = "PCH_IRQ11" |
| 101 | register "pirqf_routing" = "PCH_IRQ11" |
| 102 | register "pirqg_routing" = "PCH_IRQ11" |
| 103 | register "pirqh_routing" = "PCH_IRQ11" |
| 104 | |
| 105 | # VR Settings Configuration for 4 Domains |
| 106 | #+----------------+-------+-------+-------+-------+ |
| 107 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 108 | #+----------------+-------+-------+-------+-------+ |
| 109 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
| 110 | #| Psi2Threshold | 4A | 5A | 5A | 5A | |
| 111 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 112 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 113 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 114 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 115 | #| ImonOffset | 0 | 0 | 0 | 0 | |
| 116 | #| IccMax | 7A | 34A | 35A | 35A | |
| 117 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
| 118 | #+----------------+-------+-------+-------+-------+ |
| 119 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 120 | .vr_config_enable = 1, |
| 121 | .psi1threshold = VR_CFG_AMP(20), |
| 122 | .psi2threshold = VR_CFG_AMP(4), |
| 123 | .psi3threshold = VR_CFG_AMP(1), |
| 124 | .psi3enable = 1, |
| 125 | .psi4enable = 1, |
| 126 | .imon_slope = 0x0, |
| 127 | .imon_offset = 0x0, |
| 128 | .icc_max = VR_CFG_AMP(7), |
| 129 | .voltage_limit = 1520, |
| 130 | }" |
| 131 | |
| 132 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 133 | .vr_config_enable = 1, |
| 134 | .psi1threshold = VR_CFG_AMP(20), |
| 135 | .psi2threshold = VR_CFG_AMP(5), |
| 136 | .psi3threshold = VR_CFG_AMP(1), |
| 137 | .psi3enable = 1, |
| 138 | .psi4enable = 1, |
| 139 | .imon_slope = 0x0, |
| 140 | .imon_offset = 0x0, |
| 141 | .icc_max = VR_CFG_AMP(34), |
| 142 | .voltage_limit = 1520, |
| 143 | }" |
| 144 | |
| 145 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 146 | .vr_config_enable = 1, |
| 147 | .psi1threshold = VR_CFG_AMP(20), |
| 148 | .psi2threshold = VR_CFG_AMP(5), |
| 149 | .psi3threshold = VR_CFG_AMP(1), |
| 150 | .psi3enable = 1, |
| 151 | .psi4enable = 1, |
| 152 | .imon_slope = 0x0, |
| 153 | .imon_offset = 0x0, |
| 154 | .icc_max = VR_CFG_AMP(35), |
| 155 | .voltage_limit = 1520, |
| 156 | }" |
| 157 | |
| 158 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 159 | .vr_config_enable = 1, |
| 160 | .psi1threshold = VR_CFG_AMP(20), |
| 161 | .psi2threshold = VR_CFG_AMP(5), |
| 162 | .psi3threshold = VR_CFG_AMP(1), |
| 163 | .psi3enable = 1, |
| 164 | .psi4enable = 1, |
| 165 | .imon_slope = 0x0, |
| 166 | .imon_offset = 0x0, |
| 167 | .icc_max = VR_CFG_AMP(35), |
| 168 | .voltage_limit = 1520, |
| 169 | }" |
| 170 | |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 171 | # Enable Root port 3(x1) for LAN. |
| 172 | register "PcieRpEnable[2]" = "1" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 173 | # Enable CLKREQ# |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 174 | register "PcieRpClkReqSupport[2]" = "1" |
| 175 | # RP 3 uses SRCCLKREQ0# |
| 176 | register "PcieRpClkReqNumber[2]" = "0" |
Kane Chen | 6708d3a | 2017-10-11 12:39:46 +0800 | [diff] [blame] | 177 | # RP 3, Enable Advanced Error Reporting |
| 178 | register "PcieRpAdvancedErrorReporting[2]" = "1" |
| 179 | # RP 3, Enable Latency Tolerance Reporting Mechanism |
| 180 | register "PcieRpLtrEnable[2]" = "1" |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 181 | |
| 182 | # Enable Root port 4(x1) for WLAN. |
| 183 | register "PcieRpEnable[3]" = "1" |
| 184 | # Enable CLKREQ# |
| 185 | register "PcieRpClkReqSupport[3]" = "1" |
| 186 | # RP 4 uses SRCCLKREQ5# |
| 187 | register "PcieRpClkReqNumber[3]" = "5" |
Kane Chen | 6708d3a | 2017-10-11 12:39:46 +0800 | [diff] [blame] | 188 | # RP 4, Enable Advanced Error Reporting |
| 189 | register "PcieRpAdvancedErrorReporting[3]" = "1" |
| 190 | # RP 4, Enable Latency Tolerance Reporting Mechanism |
| 191 | register "PcieRpLtrEnable[3]" = "1" |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 192 | |
| 193 | # Enable Root port 5(x4) for NVMe. |
| 194 | register "PcieRpEnable[4]" = "1" |
| 195 | # Enable CLKREQ# |
| 196 | register "PcieRpClkReqSupport[4]" = "1" |
| 197 | # RP 5 uses SRCCLKREQ1# |
| 198 | register "PcieRpClkReqNumber[4]" = "1" |
Kane Chen | 6708d3a | 2017-10-11 12:39:46 +0800 | [diff] [blame] | 199 | # RP 5, Enable Advanced Error Reporting |
| 200 | register "PcieRpAdvancedErrorReporting[4]" = "1" |
| 201 | # RP 5, Enable Latency Tolerance Reporting Mechanism |
| 202 | register "PcieRpLtrEnable[4]" = "1" |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 203 | |
| 204 | # Enable Root port 9 for BtoB. |
| 205 | register "PcieRpEnable[8]" = "1" |
| 206 | # Enable CLKREQ# |
| 207 | register "PcieRpClkReqSupport[8]" = "1" |
| 208 | # RP 9 uses SRCCLKREQ2# |
| 209 | register "PcieRpClkReqNumber[8]" = "2" |
Kane Chen | 6708d3a | 2017-10-11 12:39:46 +0800 | [diff] [blame] | 210 | # RP 9, Enable Advanced Error Reporting |
| 211 | register "PcieRpAdvancedErrorReporting[8]" = "1" |
| 212 | # RP 9, Enable Latency Tolerance Reporting Mechanism |
| 213 | register "PcieRpLtrEnable[8]" = "1" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 214 | |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 215 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C |
| 216 | register "usb2_ports[1]" = "USB2_PORT_MID(OC3)" # Type-A Rear |
| 217 | register "usb2_ports[2]" = "USB2_PORT_MID(OC2)" # Type-A Front |
| 218 | register "usb2_ports[3]" = "USB2_PORT_MID(OC2)" # Type-A Front |
| 219 | register "usb2_ports[4]" = "USB2_PORT_MID(OC1)" # Type-A Rear |
| 220 | register "usb2_ports[5]" = "USB2_PORT_MID(OC1)" # Type-A Rear |
| 221 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 222 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A 2.0 / Debug |
| 223 | register "usb2_ports[8]" = "USB2_PORT_EMPTY" # H1 (disconnected) |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 224 | |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 225 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C |
| 226 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC3)" # Type-A Rear |
| 227 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front |
| 228 | register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC2)" # Type-A Front |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 229 | register "usb3_ports[4]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear |
| 230 | register "usb3_ports[5]" = "USB3_PORT_DEFAULT(OC1)" # Type-A Rear |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 231 | |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 232 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" # HDMI CEC |
| 233 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" # TPM |
| 234 | register "i2c_voltage[2]" = "I2C_VOLTAGE_3V3" # Debug |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 235 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" # Audio |
| 236 | |
Shelley Chen | 5aa64b9 | 2017-06-09 13:05:29 -0700 | [diff] [blame] | 237 | # Use GSPI0 for cr50 TPM. Early init is required to set up a BAR for TPM |
| 238 | # communication before memory is up. |
| 239 | register "gspi[0]" = "{ |
| 240 | .speed_mhz = 1, |
| 241 | .early_init = 1, |
| 242 | }" |
| 243 | |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 244 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 245 | register "SerialIoDevMode" = "{ |
Shelley Chen | 5537f02 | 2017-11-22 16:55:27 -0800 | [diff] [blame] | 246 | [PchSerialIoIndexI2C0] = PchSerialIoDisabled, |
| 247 | [PchSerialIoIndexI2C1] = PchSerialIoDisabled, |
| 248 | [PchSerialIoIndexI2C2] = PchSerialIoDisabled, |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 249 | [PchSerialIoIndexI2C3] = PchSerialIoDisabled, |
| 250 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 251 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 252 | [PchSerialIoIndexSpi0] = PchSerialIoPci, |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 253 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 254 | [PchSerialIoIndexUart0] = PchSerialIoPci, |
| 255 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 256 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 257 | }" |
| 258 | |
| 259 | register "speed_shift_enable" = "1" |
Shelley Chen | 8c81c6a | 2017-06-29 14:58:59 -0700 | [diff] [blame] | 260 | register "tdp_psyspl2" = "90" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 261 | register "tcc_offset" = "10" # TCC of 90C |
| 262 | |
| 263 | # Use default SD card detect GPIO configuration |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 264 | register "sdcard_cd_gpio_default" = "GPP_A7" |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 265 | |
Subrata Banik | c204aaa | 2017-08-17 15:49:58 +0530 | [diff] [blame] | 266 | # Lock Down |
| 267 | register "chipset_lockdown" = "CHIPSET_LOCKDOWN_COREBOOT" |
| 268 | |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 269 | device cpu_cluster 0 on |
| 270 | device lapic 0 on end |
| 271 | end |
| 272 | device domain 0 on |
| 273 | device pci 00.0 on end # Host Bridge |
| 274 | device pci 02.0 on end # Integrated Graphics Device |
| 275 | device pci 14.0 on end # USB xHCI |
| 276 | device pci 14.1 off end # USB xDCI (OTG) |
| 277 | device pci 14.2 on end # Thermal Subsystem |
Shelley Chen | 5537f02 | 2017-11-22 16:55:27 -0800 | [diff] [blame] | 278 | device pci 15.0 off end # I2C #0 |
| 279 | device pci 15.1 off end # I2C #1 |
| 280 | device pci 15.2 off end # I2C #2 |
| 281 | device pci 15.3 off end # I2C #3 |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 282 | device pci 16.0 on end # Management Engine Interface 1 |
| 283 | device pci 16.1 off end # Management Engine Interface 2 |
| 284 | device pci 16.2 off end # Management Engine IDE-R |
| 285 | device pci 16.3 off end # Management Engine KT Redirection |
| 286 | device pci 16.4 off end # Management Engine Interface 3 |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 287 | device pci 17.0 on end # SATA |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 288 | device pci 19.0 on end # UART #2 |
| 289 | device pci 19.1 on |
Kevin Cheng | 2a6f4ae | 2017-06-06 10:37:59 +0800 | [diff] [blame] | 290 | chip drivers/i2c/generic |
| 291 | register "hid" = ""10EC5663"" |
| 292 | register "name" = ""RT53"" |
| 293 | register "desc" = ""Realtek RT5663"" |
| 294 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)" |
| 295 | device i2c 13 on end |
| 296 | end |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 297 | end # I2C #5 |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 298 | device pci 19.2 off end # I2C #4 |
Gaggery Tsai | 2ecf3f8 | 2017-11-02 09:58:06 +0800 | [diff] [blame] | 299 | device pci 1c.0 on # PCI Express Port 1 |
| 300 | chip drivers/net |
| 301 | register "customized_leds" = "0x0fa7" |
Gaggery Tsai | 61c817d | 2017-11-23 13:23:57 +0800 | [diff] [blame] | 302 | register "wake" = "GPE0_PCI_EXP" |
Gaggery Tsai | 2ecf3f8 | 2017-11-02 09:58:06 +0800 | [diff] [blame] | 303 | device pci 00.0 on end |
| 304 | end |
| 305 | end # PCI Express Port 1 |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 306 | device pci 1c.1 off end # PCI Express Port 2 |
Gaggery Tsai | 2ecf3f8 | 2017-11-02 09:58:06 +0800 | [diff] [blame] | 307 | # PCI Express Port 3 for LAN, but will be swapped to port 1 |
| 308 | device pci 1c.2 on end |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 309 | device pci 1c.3 on |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 310 | chip drivers/intel/wifi |
| 311 | register "wake" = "GPE0_PCI_EXP" |
| 312 | device pci 00.0 on end |
| 313 | end |
Naresh G Solanki | 561f7fc | 2017-04-20 16:45:01 +0530 | [diff] [blame] | 314 | end # PCI Express Port 4 for WLAN |
| 315 | device pci 1c.4 on end # PCI Express Port 5 for NVMe |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 316 | device pci 1c.5 off end # PCI Express Port 6 |
| 317 | device pci 1c.6 off end # PCI Express Port 7 |
| 318 | device pci 1c.7 off end # PCI Express Port 8 |
David Wu | 5f7fa72 | 2017-12-11 14:40:36 +0800 | [diff] [blame] | 319 | device pci 1d.0 on # PCI Express Port 9 for 2nd LAN |
| 320 | chip drivers/net |
| 321 | register "customized_leds" = "0x0fa7" |
| 322 | device pci 00.0 on end |
| 323 | end |
| 324 | end # PCI Express Port 9 for BtoB |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 325 | device pci 1d.1 off end # PCI Express Port 10 |
| 326 | device pci 1d.2 off end # PCI Express Port 11 |
| 327 | device pci 1d.3 off end # PCI Express Port 12 |
| 328 | device pci 1e.0 on end # UART #0 |
| 329 | device pci 1e.1 off end # UART #1 |
Shelley Chen | 5aa64b9 | 2017-06-09 13:05:29 -0700 | [diff] [blame] | 330 | device pci 1e.2 on |
| 331 | chip drivers/spi/acpi |
| 332 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 333 | register "compat_string" = ""google,cr50"" |
| 334 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 335 | device spi 0 on end |
| 336 | end |
| 337 | end # GSPI #0 |
Shelley Chen | c516883 | 2017-03-21 15:04:04 -0700 | [diff] [blame] | 338 | device pci 1e.3 off end # GSPI #1 |
| 339 | device pci 1e.4 off end # eMMC |
Shelley Chen | 243dc39 | 2017-03-15 15:25:48 -0700 | [diff] [blame] | 340 | device pci 1e.5 off end # SDIO |
| 341 | device pci 1e.6 on end # SDCard |
| 342 | device pci 1f.0 on |
| 343 | chip ec/google/chromeec |
| 344 | device pnp 0c09.0 on end |
| 345 | end |
| 346 | end # LPC Interface |
| 347 | device pci 1f.1 on end # P2SB |
| 348 | device pci 1f.2 on end # Power Management Controller |
| 349 | device pci 1f.3 on end # Intel HDA |
| 350 | device pci 1f.4 on end # SMBus |
| 351 | device pci 1f.5 on end # PCH SPI |
| 352 | device pci 1f.6 off end # GbE |
| 353 | end |
| 354 | end |