Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -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 | |
Furquan Shaikh | 2eb0837 | 2017-02-22 16:42:04 -0800 | [diff] [blame] | 6 | # Deep Sx states |
Duncan Laurie | 1fe32d6 | 2017-04-10 21:02:13 -0700 | [diff] [blame] | 7 | register "deep_s3_enable_ac" = "0" |
Furquan Shaikh | d37107e | 2017-11-08 11:28:10 -0800 | [diff] [blame] | 8 | register "deep_s3_enable_dc" = "0" |
Duncan Laurie | 1fe32d6 | 2017-04-10 21:02:13 -0700 | [diff] [blame] | 9 | register "deep_s5_enable_ac" = "1" |
| 10 | register "deep_s5_enable_dc" = "1" |
Furquan Shaikh | 9d867af | 2017-12-03 21:45:47 -0800 | [diff] [blame] | 11 | register "deep_sx_config" = "DSX_EN_LAN_WAKE_PIN | DSX_EN_WAKE_PIN | DSX_DIS_AC_PRESENT_PD" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 12 | |
| 13 | # GPE configuration |
| 14 | # Note that GPE events called out in ASL code rely on this |
| 15 | # route. i.e. If this route changes then the affected GPE |
| 16 | # offset bits also need to be changed. |
| 17 | register "gpe0_dw0" = "GPP_B" |
| 18 | register "gpe0_dw1" = "GPP_D" |
| 19 | register "gpe0_dw2" = "GPP_E" |
| 20 | |
| 21 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 22 | register "gen1_dec" = "0x00fc0801" |
| 23 | register "gen2_dec" = "0x000c0201" |
| 24 | # EC memory map range is 0x900-0x9ff |
| 25 | register "gen3_dec" = "0x00fc0901" |
| 26 | |
Sumeet Pawnikar | d56fae1 | 2017-02-20 10:34:01 +0530 | [diff] [blame] | 27 | # Enable DPTF |
| 28 | register "dptf_enable" = "1" |
| 29 | |
Rajat Jain | 2671afc | 2017-07-20 19:31:01 -0700 | [diff] [blame] | 30 | # Enable S0ix |
| 31 | register "s0ix_enable" = "1" |
| 32 | |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 33 | # FSP Configuration |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 34 | register "SataSalpSupport" = "0" |
| 35 | register "SataMode" = "0" |
| 36 | register "SataPortsEnable[0]" = "0" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 37 | register "DspEnable" = "1" |
| 38 | register "IoBufferOwnership" = "3" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 39 | register "SsicPortEnable" = "0" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 40 | register "ScsEmmcHs400Enabled" = "1" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 41 | register "SkipExtGfxScan" = "1" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 42 | register "HeciEnabled" = "0" |
Angel Pons | 6fadde0 | 2021-04-04 16:11:53 +0200 | [diff] [blame^] | 43 | register "SaGv" = "SaGv_Enabled" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 44 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 45 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 46 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 47 | register "PmConfigSlpAMinAssert" = "3" # 2s |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 48 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 49 | # VR Settings Configuration for 4 Domains |
| 50 | #+----------------+-------+-------+-------+-------+ |
| 51 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 52 | #+----------------+-------+-------+-------+-------+ |
| 53 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 54 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 55 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 56 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 57 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 58 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 59 | #| ImonOffset | 0 | 0 | 0 | 0 | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 60 | #| IccMax | 5A | 24A | 24A | 24A | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 61 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 62 | #| AcLoadline | 15 | 5.7 | 5.5 | 5.5 | |
| 63 | #| DcLoadline | 14.3 | 4.83 | 4.2 | 4.2 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 64 | #+----------------+-------+-------+-------+-------+ |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 65 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 66 | .vr_config_enable = 1, |
| 67 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 68 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 69 | .psi3threshold = VR_CFG_AMP(1), |
| 70 | .psi3enable = 1, |
| 71 | .psi4enable = 1, |
| 72 | .imon_slope = 0x0, |
| 73 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 74 | .icc_max = VR_CFG_AMP(5), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 75 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 76 | .ac_loadline = 1500, |
| 77 | .dc_loadline = 1430, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 78 | }" |
| 79 | |
| 80 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 81 | .vr_config_enable = 1, |
| 82 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 83 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 84 | .psi3threshold = VR_CFG_AMP(1), |
| 85 | .psi3enable = 1, |
| 86 | .psi4enable = 1, |
| 87 | .imon_slope = 0x0, |
| 88 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 89 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 90 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 91 | .ac_loadline = 570, |
| 92 | .dc_loadline = 483, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 93 | }" |
| 94 | |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 95 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 96 | .vr_config_enable = 1, |
| 97 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 98 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 99 | .psi3threshold = VR_CFG_AMP(1), |
| 100 | .psi3enable = 1, |
| 101 | .psi4enable = 1, |
| 102 | .imon_slope = 0x0, |
| 103 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 104 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 105 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 106 | .ac_loadline = 550, |
| 107 | .dc_loadline = 420, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 108 | }" |
| 109 | |
| 110 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 111 | .vr_config_enable = 1, |
| 112 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 113 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 114 | .psi3threshold = VR_CFG_AMP(1), |
| 115 | .psi3enable = 1, |
| 116 | .psi4enable = 1, |
| 117 | .imon_slope = 0x0, |
| 118 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 119 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 120 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 121 | .ac_loadline = 550, |
| 122 | .dc_loadline = 420, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 123 | }" |
| 124 | |
| 125 | # Enable Root port 1. |
| 126 | register "PcieRpEnable[0]" = "1" |
| 127 | # Enable CLKREQ# |
| 128 | register "PcieRpClkReqSupport[0]" = "1" |
| 129 | # RP 1 uses SRCCLKREQ1# |
| 130 | register "PcieRpClkReqNumber[0]" = "1" |
Rizwan Qureshi | ea4649f | 2017-09-06 19:08:23 +0530 | [diff] [blame] | 131 | # RP 1, Enable Advanced Error Reporting |
Rizwan Qureshi | 09703f6 | 2017-09-16 02:01:13 +0530 | [diff] [blame] | 132 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 133 | # RP 1, Enable Latency Tolerance Reporting Mechanism |
| 134 | register "PcieRpLtrEnable[0]" = "1" |
Divya Chellap | e7fb7ce | 2017-12-19 20:16:50 +0530 | [diff] [blame] | 135 | # RP 1 uses uses CLK SRC 1 |
| 136 | register "PcieRpClkSrcNumber[0]" = "1" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 137 | |
| 138 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
| 139 | register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 140 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 141 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
| 142 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 143 | register "usb2_ports[8]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 144 | |
| 145 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 146 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
| 147 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A Port |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 148 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 149 | # Intel Common SoC Config |
| 150 | #+-------------------+---------------------------+ |
| 151 | #| Field | Value | |
| 152 | #+-------------------+---------------------------+ |
| 153 | #| chipset_lockdown | CHIPSET_LOCKDOWN_COREBOOT | |
| 154 | #| I2C0 | Touchscreen | |
| 155 | #| I2C1 | H1 | |
| 156 | #| I2C2 | Camera | |
| 157 | #| I2C3 | Pen | |
| 158 | #| I2C4 | Camera | |
| 159 | #| I2C5 | Audio | |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 160 | #| pch_thermal_trip | PCH Trip Temperature | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 161 | #+-------------------+---------------------------+ |
| 162 | register "common_soc_config" = "{ |
| 163 | .chipset_lockdown = CHIPSET_LOCKDOWN_COREBOOT, |
| 164 | .i2c[0] = { |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 165 | .speed = I2C_SPEED_FAST, |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 166 | .speed_config[0] = { |
| 167 | .speed = I2C_SPEED_FAST, |
| 168 | .scl_lcnt = 185, |
| 169 | .scl_hcnt = 90, |
| 170 | .sda_hold = 36, |
| 171 | }, |
| 172 | }, |
| 173 | .i2c[1] = { |
| 174 | .speed = I2C_SPEED_FAST, |
| 175 | .speed_config[0] = { |
| 176 | .speed = I2C_SPEED_FAST, |
| 177 | .scl_lcnt = 190, |
| 178 | .scl_hcnt = 100, |
| 179 | .sda_hold = 36, |
| 180 | }, |
| 181 | .early_init = 1, |
| 182 | }, |
| 183 | .i2c[2] = { |
| 184 | .speed = I2C_SPEED_FAST, |
| 185 | .speed_config[0] = { |
| 186 | .speed = I2C_SPEED_FAST, |
| 187 | .scl_lcnt = 190, |
| 188 | .scl_hcnt = 97, |
| 189 | .sda_hold = 36, |
| 190 | }, |
| 191 | }, |
| 192 | .i2c[4] = { |
| 193 | .speed = I2C_SPEED_FAST, |
| 194 | .speed_config[0] = { |
| 195 | .speed = I2C_SPEED_FAST, |
| 196 | .scl_lcnt = 190, |
| 197 | .scl_hcnt = 97, |
| 198 | .sda_hold = 36, |
| 199 | }, |
| 200 | }, |
| 201 | .i2c[5] = { |
| 202 | .speed = I2C_SPEED_FAST, |
| 203 | .speed_config[0] = { |
| 204 | .speed = I2C_SPEED_FAST, |
| 205 | .scl_lcnt = 190, |
| 206 | .scl_hcnt = 98, |
| 207 | .sda_hold = 36, |
| 208 | }, |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 209 | }, |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 210 | .pch_thermal_trip = 75, |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 211 | }" |
| 212 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 213 | # Touchscreen |
| 214 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
| 215 | |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 216 | # H1 |
| 217 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 218 | |
| 219 | # Camera |
| 220 | register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 221 | |
| 222 | # Pen |
| 223 | register "i2c_voltage[3]" = "I2C_VOLTAGE_1V8" |
| 224 | |
| 225 | # Camera |
| 226 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 227 | |
| 228 | # Audio |
| 229 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 230 | |
| 231 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 232 | register "SerialIoDevMode" = "{ |
| 233 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 234 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 235 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 236 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 237 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 238 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
Furquan Shaikh | bea9b47 | 2017-12-04 12:16:22 -0800 | [diff] [blame] | 239 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
Furquan Shaikh | 296c79c | 2017-06-09 18:41:39 -0700 | [diff] [blame] | 240 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 241 | [PchSerialIoIndexUart0] = PchSerialIoPci, |
| 242 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 243 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 244 | }" |
| 245 | |
Sumeet Pawnikar | b4411d3 | 2017-08-10 18:55:12 +0530 | [diff] [blame] | 246 | # PL2 override 15W for KBL-Y |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 247 | register "power_limits_config" = "{ |
| 248 | .tdp_pl2_override = 15, |
| 249 | .psys_pmax = 45, |
| 250 | }" |
Sumeet Pawnikar | d56fae1 | 2017-02-20 10:34:01 +0530 | [diff] [blame] | 251 | register "tcc_offset" = "10" # TCC of 90C |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 252 | |
Furquan Shaikh | d093e4a | 2017-01-13 17:27:36 -0800 | [diff] [blame] | 253 | # Use default SD card detect GPIO configuration |
Angel Pons | 6bd99f9 | 2021-02-20 00:16:47 +0100 | [diff] [blame] | 254 | register "sdcard_cd_gpio" = "GPP_E15" |
Furquan Shaikh | d093e4a | 2017-01-13 17:27:36 -0800 | [diff] [blame] | 255 | |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 256 | device cpu_cluster 0 on |
| 257 | device lapic 0 on end |
| 258 | end |
| 259 | device domain 0 on |
| 260 | device pci 00.0 on end # Host Bridge |
| 261 | device pci 02.0 on end # Integrated Graphics Device |
Felix Singer | 9c1c009 | 2020-07-29 20:48:08 +0200 | [diff] [blame] | 262 | device pci 04.0 on end # SA thermal subsystem |
Felix Singer | 4d5c4e0 | 2020-07-29 22:28:37 +0200 | [diff] [blame] | 263 | device pci 05.0 on end # SA IMGU |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 264 | device pci 14.0 on end # USB xHCI |
Furquan Shaikh | 7ca4006 | 2018-04-25 17:59:09 -0700 | [diff] [blame] | 265 | device pci 14.1 on end # USB xDCI (OTG) |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 266 | device pci 14.2 on end # Thermal Subsystem |
Felix Singer | e218667 | 2020-07-29 23:20:52 +0200 | [diff] [blame] | 267 | device pci 14.3 on end # Camera |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 268 | device pci 15.0 on |
| 269 | chip drivers/i2c/generic |
Furquan Shaikh | 5677e7d | 2017-06-05 09:19:29 -0700 | [diff] [blame] | 270 | register "hid" = ""ELAN0001"" |
| 271 | register "desc" = ""ELAN Touchscreen"" |
| 272 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 273 | register "probed" = "1" |
| 274 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E3)" |
| 275 | register "reset_delay_ms" = "20" |
| 276 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 277 | register "enable_delay_ms" = "1" |
| 278 | register "has_power_resource" = "1" |
| 279 | device i2c 10 on end |
| 280 | end |
| 281 | chip drivers/i2c/generic |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 282 | register "hid" = ""ATML0001"" |
| 283 | register "desc" = ""Atmel Touchscreen"" |
Furquan Shaikh | 6133508 | 2017-02-21 15:52:57 -0800 | [diff] [blame] | 284 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 285 | register "probed" = "1" |
Furquan Shaikh | 73108de | 2017-05-23 11:56:09 -0700 | [diff] [blame] | 286 | register "has_power_resource" = "1" |
| 287 | register "disable_gpio_export_in_crs" = "1" |
| 288 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 289 | register "enable_delay_ms" = "250" |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 290 | device i2c 4b on end |
| 291 | end |
| 292 | end # I2C #0 |
Furquan Shaikh | 1581543 | 2017-05-23 22:46:52 -0700 | [diff] [blame] | 293 | device pci 15.1 on |
| 294 | chip drivers/i2c/tpm |
| 295 | register "hid" = ""GOOG0005"" |
| 296 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 297 | device i2c 50 on end |
| 298 | end |
| 299 | end # I2C #1 |
V Sowmya | 5dc1538 | 2017-05-05 14:21:48 +0530 | [diff] [blame] | 300 | device pci 15.2 on end # I2C #2 |
Furquan Shaikh | c57c48b | 2017-02-15 09:53:50 -0800 | [diff] [blame] | 301 | device pci 15.3 on |
Furquan Shaikh | 5360c7e | 2017-02-19 01:18:09 -0800 | [diff] [blame] | 302 | chip drivers/i2c/hid |
| 303 | register "generic.hid" = ""WCOM50C1"" |
| 304 | register "generic.desc" = ""WCOM Digitizer"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 305 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D1_IRQ)" |
Furquan Shaikh | 2d12a90 | 2017-12-17 21:01:54 -0800 | [diff] [blame] | 306 | register "generic.wake" = "GPE0_DW1_12" |
Furquan Shaikh | c57c48b | 2017-02-15 09:53:50 -0800 | [diff] [blame] | 307 | register "hid_desc_reg_offset" = "0x1" |
| 308 | device i2c 0x9 on end |
| 309 | end |
Nicolas Boichat | 3bfd734 | 2018-03-14 15:46:15 +0800 | [diff] [blame] | 310 | chip drivers/generic/gpio_keys |
| 311 | register "name" = ""PENH"" |
| 312 | register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D8)" |
| 313 | register "key.dev_name" = ""EJCT"" |
| 314 | register "key.linux_code" = "SW_PEN_INSERTED" |
| 315 | register "key.linux_input_type" = "EV_SW" |
| 316 | register "key.label" = ""pen_eject"" |
Furquan Shaikh | fa8b75f | 2020-06-26 01:19:46 -0700 | [diff] [blame] | 317 | register "key.wakeup_route" = "WAKEUP_ROUTE_DISABLED" |
Nicolas Boichat | 3bfd734 | 2018-03-14 15:46:15 +0800 | [diff] [blame] | 318 | device generic 0 on end |
| 319 | end |
Furquan Shaikh | c57c48b | 2017-02-15 09:53:50 -0800 | [diff] [blame] | 320 | end # I2C #3 |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 321 | device pci 16.0 on end # Management Engine Interface 1 |
| 322 | device pci 16.1 off end # Management Engine Interface 2 |
| 323 | device pci 16.2 off end # Management Engine IDE-R |
| 324 | device pci 16.3 off end # Management Engine KT Redirection |
| 325 | device pci 16.4 off end # Management Engine Interface 3 |
| 326 | device pci 17.0 off end # SATA |
| 327 | device pci 19.0 on end # UART #2 |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 328 | device pci 19.1 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" |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 333 | register "uid" = "0" |
| 334 | register "desc" = ""SSM4567 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" |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 342 | register "uid" = "1" |
| 343 | register "desc" = ""SSM4567 Left Speaker Amp"" |
| 344 | register "name" = ""MAXL"" |
| 345 | device i2c 3A on end |
| 346 | end |
Rizwan Qureshi | a04ceaa | 2017-02-07 21:11:45 +0530 | [diff] [blame] | 347 | chip drivers/i2c/generic |
| 348 | register "hid" = ""10EC5663"" |
| 349 | register "name" = ""RT53"" |
| 350 | register "desc" = ""Realtek RT5663"" |
Rizwan Qureshi | 6a1503e | 2017-03-16 13:19:22 +0530 | [diff] [blame] | 351 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)" |
Rizwan Qureshi | a04ceaa | 2017-02-07 21:11:45 +0530 | [diff] [blame] | 352 | register "probed" = "1" |
| 353 | device i2c 13 on end |
| 354 | end |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 355 | end # I2C #5 |
V Sowmya | 5dc1538 | 2017-05-05 14:21:48 +0530 | [diff] [blame] | 356 | device pci 19.2 on end # I2C #4 |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 357 | device pci 1c.0 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 358 | chip drivers/wifi/generic |
Furquan Shaikh | 5e9ba6e | 2017-12-18 01:17:08 -0800 | [diff] [blame] | 359 | register "wake" = "GPE0_DW0_00" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 360 | device pci 00.0 on end |
| 361 | end |
| 362 | end # PCI Express Port 1 |
| 363 | device pci 1c.1 off end # PCI Express Port 2 |
| 364 | device pci 1c.2 off end # PCI Express Port 3 |
| 365 | device pci 1c.3 off end # PCI Express Port 4 |
| 366 | device pci 1c.4 off end # PCI Express Port 5 |
| 367 | device pci 1c.5 off end # PCI Express Port 6 |
| 368 | device pci 1c.6 off end # PCI Express Port 7 |
| 369 | device pci 1c.7 off end # PCI Express Port 8 |
| 370 | device pci 1d.0 off end # PCI Express Port 9 |
| 371 | device pci 1d.1 off end # PCI Express Port 10 |
| 372 | device pci 1d.2 off end # PCI Express Port 11 |
| 373 | device pci 1d.3 off end # PCI Express Port 12 |
| 374 | device pci 1e.0 on end # UART #0 |
| 375 | device pci 1e.1 off end # UART #1 |
Furquan Shaikh | bea9b47 | 2017-12-04 12:16:22 -0800 | [diff] [blame] | 376 | device pci 1e.2 off end # GSPI #0 |
Furquan Shaikh | 296c79c | 2017-06-09 18:41:39 -0700 | [diff] [blame] | 377 | device pci 1e.3 off end # GSPI #1 |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 378 | device pci 1e.4 on end # eMMC |
| 379 | device pci 1e.5 off end # SDIO |
Furquan Shaikh | b3b5dd9 | 2017-01-11 20:32:55 -0800 | [diff] [blame] | 380 | device pci 1e.6 on end # SDCard |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 381 | device pci 1f.0 on |
| 382 | chip ec/google/chromeec |
| 383 | device pnp 0c09.0 on end |
| 384 | end |
| 385 | end # LPC Interface |
| 386 | device pci 1f.1 on end # P2SB |
| 387 | device pci 1f.2 on end # Power Management Controller |
| 388 | device pci 1f.3 on end # Intel HDA |
| 389 | device pci 1f.4 on end # SMBus |
| 390 | device pci 1f.5 on end # PCH SPI |
| 391 | device pci 1f.6 off end # GbE |
| 392 | end |
| 393 | end |