Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 1 | fw_config |
| 2 | field MB_SD 0 1 |
| 3 | option SD_ABSENT 0 |
| 4 | option SD_GL9750 1 |
| 5 | end |
| 6 | field KB_BL 2 2 |
| 7 | option KB_BL_ABSENT 0 |
| 8 | option KB_BL_PRESENT 1 |
| 9 | end |
| 10 | field AUDIO 3 5 |
| 11 | option AUDIO_UNKNOWN 0 |
| 12 | option MAX98360_CS42L42 1 |
| 13 | end |
| 14 | field DB_LTE 6 7 |
| 15 | option LTE_ABSENT 0 |
| 16 | option LTE_USB 1 |
| 17 | end |
| 18 | end |
| 19 | |
Terry Chen | 5e8ecf5 | 2022-01-27 10:29:04 +0800 | [diff] [blame] | 20 | chip soc/intel/alderlake |
Terry Chen | 03bdf47 | 2022-05-18 15:29:50 +0800 | [diff] [blame] | 21 | register "sagv" = "SaGv_Enabled" |
Scott Chao | ab638c1 | 2022-04-20 15:16:06 +0800 | [diff] [blame] | 22 | register "max_dram_speed_mts" = "4800" |
Terry Chen | c8a986d | 2022-05-03 11:34:08 +0800 | [diff] [blame] | 23 | register "cnvi_bt_audio_offload" = "1" |
Johnny Li | d7328ab | 2022-11-02 13:43:00 +0800 | [diff] [blame] | 24 | # +-----------+-------+-------+---------+-------------+----------+ |
| 25 | # | Setting | AC LL | DC LL | ICC MAX | TDC Current | TDC Time | |
| 26 | # | |(mOhms)|(mOhms)| (A) | (A) | (msec) | |
| 27 | # +-----------+-------+-------+---------+-------------+----------+ |
| 28 | # | IA | 2.8 | 2.8 | 80 | 43 | 28000 | |
| 29 | # +-----------+-------+-------+---------+-------------+----------+ |
| 30 | # | GT | 3.2 | 3.2 | 40 | 23 | 28000 | |
| 31 | # +-----------+-------+-------+---------+-------------+----------+ |
| 32 | register "domain_vr_config[VR_DOMAIN_IA]" = "{ |
| 33 | .vr_config_enable = 1, |
| 34 | .ac_loadline = 280, |
| 35 | .dc_loadline = 280, |
| 36 | .icc_max = VR_CFG_AMP(80), |
| 37 | .tdc_timewindow = 28000, |
| 38 | .tdc_currentlimit = VR_CFG_TDC_AMP(43), |
| 39 | }" |
| 40 | |
| 41 | register "domain_vr_config[VR_DOMAIN_GT]" = "{ |
| 42 | .vr_config_enable = 1, |
| 43 | .ac_loadline = 320, |
| 44 | .dc_loadline = 320, |
| 45 | .icc_max = VR_CFG_AMP(40), |
| 46 | .tdc_timewindow = 28000, |
| 47 | .tdc_currentlimit = VR_CFG_TDC_AMP(23), |
| 48 | }" |
Scott Chao | ab58d2b | 2022-04-18 11:11:46 +0800 | [diff] [blame] | 49 | |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 50 | # Acoustic settings |
| 51 | register "acoustic_noise_mitigation" = "1" |
| 52 | register "slow_slew_rate[VR_DOMAIN_IA]" = "SLEW_FAST_4" |
| 53 | register "slow_slew_rate[VR_DOMAIN_GT]" = "SLEW_FAST_4" |
| 54 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_IA]" = "1" |
| 55 | register "fast_pkg_c_ramp_disable[VR_DOMAIN_GT]" = "1" |
Terry Chen | 5e8ecf5 | 2022-01-27 10:29:04 +0800 | [diff] [blame] | 56 | |
Terry Chen | 23ddcb0 | 2022-07-01 13:46:26 +0800 | [diff] [blame] | 57 | # As per Intel Advisory doc#723158, the change is required to prevent possible |
| 58 | # display flickering issue. |
| 59 | register "usb2_phy_sus_pg_disable" = "1" |
| 60 | |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 61 | # Intel Common SoC Config |
| 62 | #+-------------------+---------------------------+ |
| 63 | #| Field | Value | |
| 64 | #+-------------------+---------------------------+ |
| 65 | #| GSPI1 | Fingerprint MCU | |
| 66 | #| I2C0 | Audio | |
| 67 | #| I2C1 | cr50 TPM. Early init is | |
| 68 | #| | required to set up a BAR | |
| 69 | #| | for TPM communication | |
| 70 | #| I2C2 | | |
| 71 | #| I2C3 | Touchscreen | |
| 72 | #| I2C5 | Trackpad | |
| 73 | #+-------------------+---------------------------+ |
| 74 | register "common_soc_config" = "{ |
| 75 | .i2c[0] = { |
| 76 | .speed = I2C_SPEED_FAST, |
| 77 | }, |
| 78 | .i2c[1] = { |
| 79 | .early_init = 1, |
| 80 | .speed = I2C_SPEED_FAST, |
| 81 | .rise_time_ns = 600, |
| 82 | .fall_time_ns = 400, |
| 83 | .data_hold_time_ns = 50, |
| 84 | }, |
| 85 | .i2c[2] = { |
| 86 | .speed = I2C_SPEED_FAST, |
| 87 | }, |
| 88 | .i2c[3] = { |
| 89 | .speed = I2C_SPEED_FAST, |
| 90 | .rise_time_ns = 650, |
| 91 | .fall_time_ns = 400, |
| 92 | .data_hold_time_ns = 50, |
| 93 | }, |
| 94 | .i2c[5] = { |
| 95 | .speed = I2C_SPEED_FAST, |
| 96 | }, |
| 97 | }" |
| 98 | |
| 99 | register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2_C1 |
| 100 | register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable USB2_C4 |
| 101 | register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable USB2_C6 |
| 102 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A MLB Port |
| 103 | register "usb2_ports[8]" = "USB2_PORT_EMPTY" # Disable USB2_C8 |
| 104 | register "usb3_ports[0]" = "USB3_PORT_EMPTY" |
| 105 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A MLB port |
| 106 | register "tcss_ports[1]" = "TCSS_PORT_EMPTY" |
Johnny Li | 93e8f80 | 2022-09-19 17:31:24 +0800 | [diff] [blame] | 107 | register "tcc_offset" = "1" # TCC of 99C |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 108 | |
| 109 | device domain 0 on |
Johnny Li | 5242eef | 2022-06-30 22:28:22 +0800 | [diff] [blame] | 110 | device ref dtt on |
| 111 | chip drivers/intel/dptf |
| 112 | ## sensor information |
| 113 | register "options.tsr[0].desc" = ""SOC"" |
| 114 | register "options.tsr[1].desc" = ""DRAM"" |
| 115 | register "options.tsr[2].desc" = ""Charger"" |
| 116 | register "options.tsr[3].desc" = ""Ambient"" |
| 117 | |
| 118 | ## Passive Policy |
| 119 | register "policies.passive" = "{ |
| 120 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
Johnny Li | eed8079 | 2022-08-02 15:59:19 +0800 | [diff] [blame] | 121 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 90, 5000), |
| 122 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 90, 5000), |
| 123 | [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 90, 5000), |
| 124 | [4] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 90, 5000), |
Johnny Li | 5242eef | 2022-06-30 22:28:22 +0800 | [diff] [blame] | 125 | }" |
| 126 | |
| 127 | ## Critical Policy |
| 128 | register "policies.critical" = "{ |
| 129 | [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), |
| 130 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 85, SHUTDOWN), |
| 131 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 85, SHUTDOWN), |
| 132 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 85, SHUTDOWN), |
| 133 | [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 85, SHUTDOWN), |
| 134 | }" |
| 135 | |
| 136 | register "controls.power_limits" = "{ |
| 137 | .pl1 = { |
| 138 | .min_power = 3000, |
| 139 | .max_power = 15000, |
| 140 | .time_window_min = 28 * MSECS_PER_SEC, |
| 141 | .time_window_max = 32 * MSECS_PER_SEC, |
| 142 | .granularity = 200, |
| 143 | }, |
| 144 | .pl2 = { |
| 145 | .min_power = 55000, |
| 146 | .max_power = 55000, |
| 147 | .time_window_min = 28 * MSECS_PER_SEC, |
| 148 | .time_window_max = 32 * MSECS_PER_SEC, |
| 149 | .granularity = 1000, |
| 150 | } |
| 151 | }" |
| 152 | |
| 153 | ## Charger Performance Control (Control, mA) |
| 154 | register "controls.charger_perf" = "{ |
| 155 | [0] = { 255, 1700 }, |
| 156 | [1] = { 24, 1500 }, |
| 157 | [2] = { 16, 1000 }, |
| 158 | [3] = { 8, 500 } |
| 159 | }" |
| 160 | device generic 0 alias dptf_policy on end |
| 161 | end |
| 162 | end |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 163 | device ref cnvi_wifi on |
| 164 | chip drivers/wifi/generic |
| 165 | register "wake" = "GPE0_PME_B0" |
| 166 | device generic 0 on end |
| 167 | end |
| 168 | end |
| 169 | device ref pcie_rp3 on |
| 170 | chip soc/intel/common/block/pcie/rtd3 |
Scott Chao | c480707 | 2022-04-18 11:20:52 +0800 | [diff] [blame] | 171 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B4)" |
| 172 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D11)" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 173 | register "srcclk_pin" = "1" |
Terry Chen | 9686ac2 | 2022-05-16 20:55:05 +0800 | [diff] [blame] | 174 | register "reset_delay_ms" = "50" |
| 175 | register "enable_delay_ms" = "20" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 176 | device generic 0 alias emmc_rtd3 on end |
| 177 | end |
| 178 | # Enable PCIe-to-eMMC bridge PCIE 3 using clk 1 |
| 179 | register "pch_pcie_rp[PCH_RP(3)]" = "{ |
| 180 | .clk_src = 1, |
| 181 | .clk_req = 1, |
| 182 | .flags = PCIE_RP_LTR | PCIE_RP_AER, |
| 183 | }" |
| 184 | end #PCIE3 BH799BB |
Scott Chao | c480707 | 2022-04-18 11:20:52 +0800 | [diff] [blame] | 185 | device ref pcie_rp9 off end |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 186 | device ref tcss_dma0 on |
| 187 | chip drivers/intel/usb4/retimer |
| 188 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 189 | use tcss_usb3_port1 as dfp[0].typec_port |
| 190 | device generic 0 on end |
| 191 | end |
| 192 | end |
| 193 | device ref tcss_dma1 on |
| 194 | chip drivers/intel/usb4/retimer |
| 195 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)" |
| 196 | use tcss_usb3_port3 as dfp[0].typec_port |
| 197 | device generic 0 on end |
| 198 | end |
| 199 | end |
| 200 | device ref pcie_rp6 off end #PCIE6 WWAN |
| 201 | device ref pcie_rp8 on |
| 202 | chip soc/intel/common/block/pcie/rtd3 |
| 203 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 204 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 205 | register "srcclk_pin" = "3" |
| 206 | device generic 0 on end |
| 207 | end |
| 208 | end #PCIE8 SD card |
| 209 | device ref pcie4_0 on |
Scott Chao | c480707 | 2022-04-18 11:20:52 +0800 | [diff] [blame] | 210 | # Enable CPU PCIE RP 1 using CLK 0 |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 211 | register "cpu_pcie_rp[CPU_RP(1)]" = "{ |
Scott Chao | c480707 | 2022-04-18 11:20:52 +0800 | [diff] [blame] | 212 | .clk_req = 0, |
| 213 | .clk_src = 0, |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 214 | .flags = PCIE_RP_LTR | PCIE_RP_AER, |
| 215 | }" |
| 216 | end |
| 217 | device ref i2c0 on |
| 218 | chip drivers/i2c/cs42l42 |
| 219 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_A23_IRQ)" |
Terry Chen | 3d51519 | 2022-05-04 16:03:12 +0800 | [diff] [blame] | 220 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B15)" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 221 | register "ts_inv" = "true" |
| 222 | register "ts_dbnc_rise" = "RISE_DEB_1000_MS" |
| 223 | register "ts_dbnc_fall" = "FALL_DEB_0_MS" |
| 224 | register "btn_det_init_dbnce" = "100" |
| 225 | register "btn_det_event_dbnce" = "10" |
| 226 | register "bias_lvls[0]" = "15" |
| 227 | register "bias_lvls[1]" = "8" |
| 228 | register "bias_lvls[2]" = "4" |
| 229 | register "bias_lvls[3]" = "1" |
| 230 | register "hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW" |
| 231 | register "hs_bias_sense_disable" = "true" |
| 232 | device i2c 48 on end |
| 233 | end |
| 234 | end #I2C0 |
| 235 | device ref i2c1 on |
| 236 | chip drivers/i2c/tpm |
| 237 | register "hid" = ""GOOG0005"" |
| 238 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)" |
| 239 | device i2c 50 on end |
| 240 | end |
| 241 | end |
| 242 | device ref i2c3 on |
| 243 | chip drivers/i2c/hid |
Terry Chen | 37ffdf3 | 2022-05-06 21:38:50 +0800 | [diff] [blame] | 244 | register "generic.hid" = ""ELAN900C"" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 245 | register "generic.desc" = ""ELAN Touchscreen"" |
| 246 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
Matt DeVillier | 8a0e6b5 | 2023-04-27 10:04:27 -0500 | [diff] [blame^] | 247 | register "generic.detect" = "1" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 248 | register "generic.reset_gpio" = |
| 249 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
Paz Zcharya | 64b502f | 2022-10-25 20:47:45 +0000 | [diff] [blame] | 250 | register "generic.reset_delay_ms" = "150" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 251 | register "generic.reset_off_delay_ms" = "1" |
| 252 | register "generic.enable_gpio" = |
| 253 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 254 | register "generic.enable_delay_ms" = "6" |
| 255 | register "generic.stop_gpio" = |
| 256 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 257 | register "generic.stop_off_delay_ms" = "1" |
| 258 | register "generic.has_power_resource" = "1" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 259 | register "hid_desc_reg_offset" = "0x01" |
Terry Chen | 37ffdf3 | 2022-05-06 21:38:50 +0800 | [diff] [blame] | 260 | device i2c 0x16 on end |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 261 | end |
| 262 | end |
| 263 | device ref i2c5 on |
| 264 | chip drivers/i2c/generic |
| 265 | register "hid" = ""ELAN0000"" |
| 266 | register "desc" = ""ELAN Touchpad"" |
| 267 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 268 | register "wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 269 | register "detect" = "1" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 270 | device i2c 15 on end |
| 271 | end |
| 272 | chip drivers/i2c/hid |
Terry Chen | df2685c | 2022-04-26 13:50:50 +0800 | [diff] [blame] | 273 | register "generic.hid" = ""GXTP7863"" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 274 | register "generic.desc" = ""Goodix Touchpad"" |
| 275 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F14_IRQ)" |
| 276 | register "generic.wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 277 | register "generic.detect" = "1" |
Terry Chen | df2685c | 2022-04-26 13:50:50 +0800 | [diff] [blame] | 278 | register "hid_desc_reg_offset" = "0x20" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 279 | device i2c 2c on end |
| 280 | end |
| 281 | end |
| 282 | device ref hda on |
| 283 | chip drivers/generic/max98357a |
| 284 | register "hid" = ""MX98360A"" |
| 285 | register "sdmode_gpio" = |
| 286 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 287 | register "sdmode_delay" = "5" |
| 288 | device generic 0 on end |
| 289 | end |
| 290 | end |
| 291 | device ref gspi1 on |
| 292 | chip drivers/spi/acpi |
| 293 | register "name" = ""CRFP"" |
| 294 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 295 | register "uid" = "1" |
| 296 | register "compat_string" = ""google,cros-ec-spi"" |
| 297 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F15_IRQ)" |
| 298 | register "wake" = "GPE0_DW2_15" |
Tarun Tuli | 2b523ce | 2022-08-29 13:39:58 -0400 | [diff] [blame] | 299 | register "has_power_resource" = "1" |
| 300 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D1)" |
| 301 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D2)" |
| 302 | register "enable_delay_ms" = "3" |
Terry Chen | 707eace | 2022-03-23 19:22:14 +0800 | [diff] [blame] | 303 | device spi 0 on end |
| 304 | end # FPMCU |
| 305 | end |
| 306 | device ref pch_espi on |
| 307 | chip ec/google/chromeec |
| 308 | use conn0 as mux_conn[0] |
| 309 | use conn1 as mux_conn[1] |
| 310 | device pnp 0c09.0 on end |
| 311 | end |
| 312 | end |
| 313 | device ref pmc hidden |
| 314 | chip drivers/intel/pmc_mux |
| 315 | device generic 0 on |
| 316 | chip drivers/intel/pmc_mux/conn |
| 317 | use usb2_port1 as usb2_port |
| 318 | use tcss_usb3_port1 as usb3_port |
| 319 | device generic 0 alias conn0 on end |
| 320 | end |
| 321 | chip drivers/intel/pmc_mux/conn |
| 322 | use usb2_port3 as usb2_port |
| 323 | use tcss_usb3_port3 as usb3_port |
| 324 | device generic 1 alias conn1 on end |
| 325 | end |
| 326 | end |
| 327 | end |
| 328 | end |
| 329 | device ref tcss_xhci on |
| 330 | chip drivers/usb/acpi |
| 331 | device ref tcss_root_hub on |
| 332 | chip drivers/usb/acpi |
| 333 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 334 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 335 | register "use_custom_pld" = "true" |
| 336 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 337 | device ref tcss_usb3_port1 on end |
| 338 | end |
| 339 | chip drivers/usb/acpi |
| 340 | register "desc" = ""USB3 Type-C Port C2 (MLB)"" |
| 341 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 342 | register "use_custom_pld" = "true" |
| 343 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
| 344 | device ref tcss_usb3_port3 on end |
| 345 | end |
| 346 | end |
| 347 | end |
| 348 | end |
| 349 | device ref xhci on |
| 350 | chip drivers/usb/acpi |
| 351 | device ref xhci_root_hub on |
| 352 | chip drivers/usb/acpi |
| 353 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 354 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 355 | register "use_custom_pld" = "true" |
| 356 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
| 357 | device ref usb2_port1 on end |
| 358 | end |
| 359 | chip drivers/usb/acpi |
| 360 | register "desc" = ""USB2 Type-C Port C2 (MLB)"" |
| 361 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 362 | register "use_custom_pld" = "true" |
| 363 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
| 364 | device ref usb2_port3 on end |
| 365 | end |
| 366 | chip drivers/usb/acpi |
| 367 | register "desc" = ""USB2 WWAN"" |
| 368 | register "type" = "UPC_TYPE_INTERNAL" |
| 369 | device ref usb2_port4 on end |
| 370 | end |
| 371 | chip drivers/usb/acpi |
| 372 | register "desc" = ""USB2 Camera"" |
| 373 | register "type" = "UPC_TYPE_INTERNAL" |
| 374 | device ref usb2_port6 on end |
| 375 | end |
| 376 | chip drivers/usb/acpi |
| 377 | register "desc" = ""USB2 Type-A Port (MLB)"" |
| 378 | register "type" = "UPC_TYPE_A" |
| 379 | register "use_custom_pld" = "true" |
| 380 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))" |
| 381 | device ref usb2_port8 on end |
| 382 | end |
| 383 | chip drivers/usb/acpi |
| 384 | register "desc" = ""USB2 Bluetooth"" |
| 385 | register "type" = "UPC_TYPE_INTERNAL" |
| 386 | register "reset_gpio" = |
| 387 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 388 | device ref usb2_port10 on end |
| 389 | end |
| 390 | chip drivers/usb/acpi |
| 391 | register "desc" = ""USB3 Type-A Port (MLB)"" |
| 392 | register "type" = "UPC_TYPE_USB3_A" |
| 393 | register "use_custom_pld" = "true" |
| 394 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, LEFT, ACPI_PLD_GROUP(3, 1))" |
| 395 | device ref usb3_port2 on end |
| 396 | end |
| 397 | chip drivers/usb/acpi |
| 398 | register "desc" = ""USB3 WWAN"" |
| 399 | register "type" = "UPC_TYPE_INTERNAL" |
| 400 | device ref usb3_port4 on end |
| 401 | end |
| 402 | end |
| 403 | end |
| 404 | end |
| 405 | end |
Terry Chen | 5e8ecf5 | 2022-01-27 10:29:04 +0800 | [diff] [blame] | 406 | end |