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 |
Felix Singer | 743242b | 2023-06-16 01:33:25 +0200 | [diff] [blame] | 31 | register "s0ix_enable" = true |
Rajat Jain | 2671afc | 2017-07-20 19:31:01 -0700 | [diff] [blame] | 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" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 35 | register "SataPortsEnable[0]" = "0" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 36 | register "DspEnable" = "1" |
| 37 | register "IoBufferOwnership" = "3" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 38 | register "SsicPortEnable" = "0" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 39 | register "ScsEmmcHs400Enabled" = "1" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 40 | register "SkipExtGfxScan" = "1" |
Angel Pons | 6fadde0 | 2021-04-04 16:11:53 +0200 | [diff] [blame] | 41 | register "SaGv" = "SaGv_Enabled" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 42 | register "PmConfigSlpS3MinAssert" = "2" # 50ms |
| 43 | register "PmConfigSlpS4MinAssert" = "1" # 1s |
| 44 | register "PmConfigSlpSusMinAssert" = "1" # 500ms |
| 45 | register "PmConfigSlpAMinAssert" = "3" # 2s |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 46 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 47 | # VR Settings Configuration for 4 Domains |
| 48 | #+----------------+-------+-------+-------+-------+ |
| 49 | #| Domain/Setting | SA | IA | GTUS | GTS | |
| 50 | #+----------------+-------+-------+-------+-------+ |
| 51 | #| Psi1Threshold | 20A | 20A | 20A | 20A | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 52 | #| Psi2Threshold | 2A | 2A | 2A | 2A | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 53 | #| Psi3Threshold | 1A | 1A | 1A | 1A | |
| 54 | #| Psi3Enable | 1 | 1 | 1 | 1 | |
| 55 | #| Psi4Enable | 1 | 1 | 1 | 1 | |
| 56 | #| ImonSlope | 0 | 0 | 0 | 0 | |
| 57 | #| ImonOffset | 0 | 0 | 0 | 0 | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 58 | #| IccMax | 5A | 24A | 24A | 24A | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 59 | #| VrVoltageLimit | 1.52V | 1.52V | 1.52V | 1.52V | |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 60 | #| AcLoadline | 15 | 5.7 | 5.5 | 5.5 | |
| 61 | #| DcLoadline | 14.3 | 4.83 | 4.2 | 4.2 | |
Duncan Laurie | 4fa8a6f | 2017-03-14 16:37:55 -0700 | [diff] [blame] | 62 | #+----------------+-------+-------+-------+-------+ |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 63 | register "domain_vr_config[VR_SYSTEM_AGENT]" = "{ |
| 64 | .vr_config_enable = 1, |
| 65 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 66 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 67 | .psi3threshold = VR_CFG_AMP(1), |
| 68 | .psi3enable = 1, |
| 69 | .psi4enable = 1, |
| 70 | .imon_slope = 0x0, |
| 71 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 72 | .icc_max = VR_CFG_AMP(5), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 73 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 74 | .ac_loadline = 1500, |
| 75 | .dc_loadline = 1430, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 76 | }" |
| 77 | |
| 78 | register "domain_vr_config[VR_IA_CORE]" = "{ |
| 79 | .vr_config_enable = 1, |
| 80 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 81 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 82 | .psi3threshold = VR_CFG_AMP(1), |
| 83 | .psi3enable = 1, |
| 84 | .psi4enable = 1, |
| 85 | .imon_slope = 0x0, |
| 86 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 87 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 88 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 89 | .ac_loadline = 570, |
| 90 | .dc_loadline = 483, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 91 | }" |
| 92 | |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 93 | register "domain_vr_config[VR_GT_UNSLICED]" = "{ |
| 94 | .vr_config_enable = 1, |
| 95 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 96 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 97 | .psi3threshold = VR_CFG_AMP(1), |
| 98 | .psi3enable = 1, |
| 99 | .psi4enable = 1, |
| 100 | .imon_slope = 0x0, |
| 101 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 102 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 103 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 104 | .ac_loadline = 550, |
| 105 | .dc_loadline = 420, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 106 | }" |
| 107 | |
| 108 | register "domain_vr_config[VR_GT_SLICED]" = "{ |
| 109 | .vr_config_enable = 1, |
| 110 | .psi1threshold = VR_CFG_AMP(20), |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 111 | .psi2threshold = VR_CFG_AMP(2), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 112 | .psi3threshold = VR_CFG_AMP(1), |
| 113 | .psi3enable = 1, |
| 114 | .psi4enable = 1, |
| 115 | .imon_slope = 0x0, |
| 116 | .imon_offset = 0x0, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 117 | .icc_max = VR_CFG_AMP(24), |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 118 | .voltage_limit = 1520, |
Furquan Shaikh | 3f09b0f | 2017-08-18 17:26:27 -0700 | [diff] [blame] | 119 | .ac_loadline = 550, |
| 120 | .dc_loadline = 420, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 121 | }" |
| 122 | |
| 123 | # Enable Root port 1. |
| 124 | register "PcieRpEnable[0]" = "1" |
| 125 | # Enable CLKREQ# |
| 126 | register "PcieRpClkReqSupport[0]" = "1" |
| 127 | # RP 1 uses SRCCLKREQ1# |
| 128 | register "PcieRpClkReqNumber[0]" = "1" |
Rizwan Qureshi | ea4649f | 2017-09-06 19:08:23 +0530 | [diff] [blame] | 129 | # RP 1, Enable Advanced Error Reporting |
Rizwan Qureshi | 09703f6 | 2017-09-16 02:01:13 +0530 | [diff] [blame] | 130 | register "PcieRpAdvancedErrorReporting[0]" = "1" |
| 131 | # RP 1, Enable Latency Tolerance Reporting Mechanism |
| 132 | register "PcieRpLtrEnable[0]" = "1" |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 133 | # RP 1 uses CLK SRC 1 |
Divya Chellap | e7fb7ce | 2017-12-19 20:16:50 +0530 | [diff] [blame] | 134 | register "PcieRpClkSrcNumber[0]" = "1" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 135 | |
| 136 | register "usb2_ports[0]" = "USB2_PORT_LONG(OC0)" # Type-C Port 1 |
| 137 | register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 138 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth |
| 139 | register "usb2_ports[4]" = "USB2_PORT_LONG(OC1)" # Type-C Port 2 |
| 140 | register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 141 | register "usb2_ports[8]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port |
| 142 | |
| 143 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC0)" # Type-C Port 1 |
| 144 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC1)" # Type-C Port 2 |
| 145 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A Port |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 146 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 147 | # Intel Common SoC Config |
| 148 | #+-------------------+---------------------------+ |
| 149 | #| Field | Value | |
| 150 | #+-------------------+---------------------------+ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 151 | #| I2C0 | Touchscreen | |
| 152 | #| I2C1 | H1 | |
| 153 | #| I2C2 | Camera | |
| 154 | #| I2C3 | Pen | |
| 155 | #| I2C4 | Camera | |
| 156 | #| I2C5 | Audio | |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 157 | #| pch_thermal_trip | PCH Trip Temperature | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 158 | #+-------------------+---------------------------+ |
| 159 | register "common_soc_config" = "{ |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 160 | .i2c[0] = { |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 161 | .speed = I2C_SPEED_FAST, |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 162 | .speed_config[0] = { |
| 163 | .speed = I2C_SPEED_FAST, |
| 164 | .scl_lcnt = 185, |
| 165 | .scl_hcnt = 90, |
| 166 | .sda_hold = 36, |
| 167 | }, |
| 168 | }, |
| 169 | .i2c[1] = { |
| 170 | .speed = I2C_SPEED_FAST, |
| 171 | .speed_config[0] = { |
| 172 | .speed = I2C_SPEED_FAST, |
| 173 | .scl_lcnt = 190, |
| 174 | .scl_hcnt = 100, |
| 175 | .sda_hold = 36, |
| 176 | }, |
| 177 | .early_init = 1, |
| 178 | }, |
| 179 | .i2c[2] = { |
| 180 | .speed = I2C_SPEED_FAST, |
| 181 | .speed_config[0] = { |
| 182 | .speed = I2C_SPEED_FAST, |
| 183 | .scl_lcnt = 190, |
| 184 | .scl_hcnt = 97, |
| 185 | .sda_hold = 36, |
| 186 | }, |
| 187 | }, |
| 188 | .i2c[4] = { |
| 189 | .speed = I2C_SPEED_FAST, |
| 190 | .speed_config[0] = { |
| 191 | .speed = I2C_SPEED_FAST, |
| 192 | .scl_lcnt = 190, |
| 193 | .scl_hcnt = 97, |
| 194 | .sda_hold = 36, |
| 195 | }, |
| 196 | }, |
| 197 | .i2c[5] = { |
| 198 | .speed = I2C_SPEED_FAST, |
| 199 | .speed_config[0] = { |
| 200 | .speed = I2C_SPEED_FAST, |
| 201 | .scl_lcnt = 190, |
| 202 | .scl_hcnt = 98, |
| 203 | .sda_hold = 36, |
| 204 | }, |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 205 | }, |
Subrata Banik | c077b22 | 2019-08-01 10:50:35 +0530 | [diff] [blame] | 206 | .pch_thermal_trip = 75, |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 207 | }" |
| 208 | |
Subrata Banik | c4986eb | 2018-05-09 14:55:09 +0530 | [diff] [blame] | 209 | # Touchscreen |
| 210 | register "i2c_voltage[0]" = "I2C_VOLTAGE_3V3" |
| 211 | |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 212 | # H1 |
| 213 | register "i2c_voltage[1]" = "I2C_VOLTAGE_3V3" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 214 | |
| 215 | # Camera |
| 216 | register "i2c_voltage[2]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 217 | |
| 218 | # Pen |
| 219 | register "i2c_voltage[3]" = "I2C_VOLTAGE_1V8" |
| 220 | |
| 221 | # Camera |
| 222 | register "i2c_voltage[4]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | c3e4f63 | 2017-08-25 09:50:15 -0700 | [diff] [blame] | 223 | |
| 224 | # Audio |
| 225 | register "i2c_voltage[5]" = "I2C_VOLTAGE_1V8" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 226 | |
| 227 | # Must leave UART0 enabled or SD/eMMC will not work as PCI |
| 228 | register "SerialIoDevMode" = "{ |
| 229 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 230 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 231 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 232 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 233 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
| 234 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
Furquan Shaikh | bea9b47 | 2017-12-04 12:16:22 -0800 | [diff] [blame] | 235 | [PchSerialIoIndexSpi0] = PchSerialIoDisabled, |
Furquan Shaikh | 296c79c | 2017-06-09 18:41:39 -0700 | [diff] [blame] | 236 | [PchSerialIoIndexSpi1] = PchSerialIoDisabled, |
Angel Pons | 0856494 | 2021-06-04 18:55:03 +0200 | [diff] [blame] | 237 | [PchSerialIoIndexUart0] = PchSerialIoSkipInit, |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 238 | [PchSerialIoIndexUart1] = PchSerialIoDisabled, |
| 239 | [PchSerialIoIndexUart2] = PchSerialIoSkipInit, |
| 240 | }" |
| 241 | |
Sumeet Pawnikar | b4411d3 | 2017-08-10 18:55:12 +0530 | [diff] [blame] | 242 | # PL2 override 15W for KBL-Y |
Sumeet R Pawnikar | 97c5464 | 2020-05-10 01:24:11 +0530 | [diff] [blame] | 243 | register "power_limits_config" = "{ |
| 244 | .tdp_pl2_override = 15, |
| 245 | .psys_pmax = 45, |
| 246 | }" |
Sumeet Pawnikar | d56fae1 | 2017-02-20 10:34:01 +0530 | [diff] [blame] | 247 | register "tcc_offset" = "10" # TCC of 90C |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 248 | |
Furquan Shaikh | d093e4a | 2017-01-13 17:27:36 -0800 | [diff] [blame] | 249 | # Use default SD card detect GPIO configuration |
Angel Pons | 6bd99f9 | 2021-02-20 00:16:47 +0100 | [diff] [blame] | 250 | register "sdcard_cd_gpio" = "GPP_E15" |
Furquan Shaikh | d093e4a | 2017-01-13 17:27:36 -0800 | [diff] [blame] | 251 | |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 252 | device domain 0 on |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 253 | device ref system_agent on end |
| 254 | device ref igpu on end |
| 255 | device ref sa_thermal on end |
| 256 | device ref imgu on end |
| 257 | device ref south_xhci on end |
| 258 | device ref south_xdci on end |
| 259 | device ref thermal on end |
| 260 | device ref cio on end |
| 261 | device ref i2c0 on |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 262 | chip drivers/i2c/generic |
Furquan Shaikh | 5677e7d | 2017-06-05 09:19:29 -0700 | [diff] [blame] | 263 | register "hid" = ""ELAN0001"" |
| 264 | register "desc" = ""ELAN Touchscreen"" |
Matt DeVillier | 1c2f5ce | 2019-11-28 01:45:11 -0600 | [diff] [blame] | 265 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Matt DeVillier | 86425c8 | 2022-03-28 23:45:14 -0500 | [diff] [blame] | 266 | register "detect" = "1" |
Furquan Shaikh | 5677e7d | 2017-06-05 09:19:29 -0700 | [diff] [blame] | 267 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_E3)" |
| 268 | register "reset_delay_ms" = "20" |
| 269 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 270 | register "enable_delay_ms" = "1" |
| 271 | register "has_power_resource" = "1" |
| 272 | device i2c 10 on end |
| 273 | end |
| 274 | chip drivers/i2c/generic |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 275 | register "hid" = ""ATML0001"" |
| 276 | register "desc" = ""Atmel Touchscreen"" |
Furquan Shaikh | 6133508 | 2017-02-21 15:52:57 -0800 | [diff] [blame] | 277 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E7_IRQ)" |
Matt DeVillier | 86425c8 | 2022-03-28 23:45:14 -0500 | [diff] [blame] | 278 | register "detect" = "1" |
Furquan Shaikh | 73108de | 2017-05-23 11:56:09 -0700 | [diff] [blame] | 279 | register "has_power_resource" = "1" |
Furquan Shaikh | 73108de | 2017-05-23 11:56:09 -0700 | [diff] [blame] | 280 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C22)" |
| 281 | register "enable_delay_ms" = "250" |
Furquan Shaikh | 13dae93 | 2017-01-12 02:06:47 -0800 | [diff] [blame] | 282 | device i2c 4b on end |
| 283 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 284 | end |
| 285 | device ref i2c1 on |
Furquan Shaikh | 1581543 | 2017-05-23 22:46:52 -0700 | [diff] [blame] | 286 | chip drivers/i2c/tpm |
| 287 | register "hid" = ""GOOG0005"" |
| 288 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_E0_IRQ)" |
| 289 | device i2c 50 on end |
| 290 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 291 | end |
| 292 | device ref i2c2 on end |
| 293 | device ref i2c3 on |
Furquan Shaikh | 5360c7e | 2017-02-19 01:18:09 -0800 | [diff] [blame] | 294 | chip drivers/i2c/hid |
| 295 | register "generic.hid" = ""WCOM50C1"" |
| 296 | register "generic.desc" = ""WCOM Digitizer"" |
Furquan Shaikh | 5b9b593 | 2017-02-21 13:16:30 -0800 | [diff] [blame] | 297 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D1_IRQ)" |
Furquan Shaikh | 2d12a90 | 2017-12-17 21:01:54 -0800 | [diff] [blame] | 298 | register "generic.wake" = "GPE0_DW1_12" |
Furquan Shaikh | c57c48b | 2017-02-15 09:53:50 -0800 | [diff] [blame] | 299 | register "hid_desc_reg_offset" = "0x1" |
| 300 | device i2c 0x9 on end |
| 301 | end |
Nicolas Boichat | 3bfd734 | 2018-03-14 15:46:15 +0800 | [diff] [blame] | 302 | chip drivers/generic/gpio_keys |
| 303 | register "name" = ""PENH"" |
| 304 | register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_D8)" |
| 305 | register "key.dev_name" = ""EJCT"" |
| 306 | register "key.linux_code" = "SW_PEN_INSERTED" |
| 307 | register "key.linux_input_type" = "EV_SW" |
| 308 | register "key.label" = ""pen_eject"" |
Furquan Shaikh | fa8b75f | 2020-06-26 01:19:46 -0700 | [diff] [blame] | 309 | register "key.wakeup_route" = "WAKEUP_ROUTE_DISABLED" |
Nicolas Boichat | 3bfd734 | 2018-03-14 15:46:15 +0800 | [diff] [blame] | 310 | device generic 0 on end |
| 311 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 312 | end |
| 313 | device ref heci1 on end |
| 314 | device ref heci2 off end |
| 315 | device ref csme_ider off end |
| 316 | device ref csme_ktr off end |
| 317 | device ref heci3 off end |
| 318 | device ref sata off end |
| 319 | device ref uart2 on end |
| 320 | device ref i2c5 on |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 321 | chip drivers/i2c/max98927 |
| 322 | register "interleave_mode" = "1" |
Harsha Priya | 130b4a2 | 2017-08-24 14:40:04 -0700 | [diff] [blame] | 323 | register "vmon_slot_no" = "4" |
| 324 | register "imon_slot_no" = "5" |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 325 | register "uid" = "0" |
| 326 | register "desc" = ""SSM4567 Right Speaker Amp"" |
| 327 | register "name" = ""MAXR"" |
| 328 | device i2c 39 on end |
| 329 | end |
| 330 | chip drivers/i2c/max98927 |
| 331 | register "interleave_mode" = "1" |
Harsha Priya | 130b4a2 | 2017-08-24 14:40:04 -0700 | [diff] [blame] | 332 | register "vmon_slot_no" = "6" |
| 333 | register "imon_slot_no" = "7" |
Rizwan Qureshi | 7ed1eff | 2017-01-13 22:22:42 +0530 | [diff] [blame] | 334 | register "uid" = "1" |
| 335 | register "desc" = ""SSM4567 Left Speaker Amp"" |
| 336 | register "name" = ""MAXL"" |
| 337 | device i2c 3A on end |
| 338 | end |
Rizwan Qureshi | a04ceaa | 2017-02-07 21:11:45 +0530 | [diff] [blame] | 339 | chip drivers/i2c/generic |
| 340 | register "hid" = ""10EC5663"" |
| 341 | register "name" = ""RT53"" |
| 342 | register "desc" = ""Realtek RT5663"" |
Rizwan Qureshi | 6a1503e | 2017-03-16 13:19:22 +0530 | [diff] [blame] | 343 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D9)" |
Rizwan Qureshi | a04ceaa | 2017-02-07 21:11:45 +0530 | [diff] [blame] | 344 | register "probed" = "1" |
| 345 | device i2c 13 on end |
| 346 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 347 | end |
| 348 | device ref i2c4 on end |
| 349 | device ref pcie_rp1 on |
Furquan Shaikh | a266d1e | 2020-10-04 12:52:54 -0700 | [diff] [blame] | 350 | chip drivers/wifi/generic |
Furquan Shaikh | 5e9ba6e | 2017-12-18 01:17:08 -0800 | [diff] [blame] | 351 | register "wake" = "GPE0_DW0_00" |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 352 | device pci 00.0 on end |
| 353 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 354 | end |
| 355 | device ref pcie_rp2 off end |
| 356 | device ref pcie_rp3 off end |
| 357 | device ref pcie_rp4 off end |
| 358 | device ref pcie_rp5 off end |
| 359 | device ref pcie_rp6 off end |
| 360 | device ref pcie_rp7 off end |
| 361 | device ref pcie_rp8 off end |
| 362 | device ref pcie_rp9 off end |
| 363 | device ref pcie_rp10 off end |
| 364 | device ref pcie_rp11 off end |
| 365 | device ref pcie_rp12 off end |
| 366 | device ref uart0 on end |
| 367 | device ref uart1 off end |
| 368 | device ref gspi0 off end |
| 369 | device ref gspi1 off end |
| 370 | device ref emmc on end |
| 371 | device ref sdio off end |
| 372 | device ref sdxc on end |
| 373 | device ref lpc_espi on |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 374 | chip ec/google/chromeec |
| 375 | device pnp 0c09.0 on end |
| 376 | end |
Marvin Evers | 059476d | 2023-12-04 02:28:25 +0100 | [diff] [blame] | 377 | end |
| 378 | device ref p2sb on end |
| 379 | device ref pmc on end |
| 380 | device ref hda on end |
| 381 | device ref smbus on end |
| 382 | device ref fast_spi on end |
| 383 | device ref gbe off end |
Furquan Shaikh | 06cd903 | 2016-12-14 12:10:21 -0800 | [diff] [blame] | 384 | end |
| 385 | end |