Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 1 | chip soc/intel/alderlake |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 2 | # Intel Common SoC Config |
| 3 | #+-------------------+---------------------------+ |
| 4 | #| Field | Value | |
| 5 | #+-------------------+---------------------------+ |
| 6 | #| I2C0 | Audio | |
| 7 | #| I2C1 | GPU | |
| 8 | #| I2C2 | External graphic | |
| 9 | #| I2C3 | cr50 TPM. Early init is | |
| 10 | #| | required to set up a BAR | |
| 11 | #| | for TPM communication | |
| 12 | #| I2C5 | Trackpad | |
| 13 | #+-------------------+---------------------------+ |
| 14 | register "common_soc_config" = "{ |
| 15 | .i2c[0] = { |
| 16 | .speed = I2C_SPEED_FAST, |
Tony Huang | 6a0e470 | 2022-07-19 07:32:43 +0800 | [diff] [blame] | 17 | .rise_time_ns = 650, |
| 18 | .fall_time_ns = 400, |
| 19 | .data_hold_time_ns = 50, |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 20 | }, |
| 21 | .i2c[1] = { |
| 22 | .speed = I2C_SPEED_FAST, |
Tarun Tuli | 2072296 | 2023-02-13 16:41:36 +0000 | [diff] [blame] | 23 | .rise_time_ns = 650, |
| 24 | .fall_time_ns = 300, |
| 25 | .data_hold_time_ns = 50, |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 26 | }, |
| 27 | .i2c[2] = { |
| 28 | .speed = I2C_SPEED_FAST, |
Tarun Tuli | 2072296 | 2023-02-13 16:41:36 +0000 | [diff] [blame] | 29 | .rise_time_ns = 650, |
| 30 | .fall_time_ns = 300, |
| 31 | .data_hold_time_ns = 50, |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 32 | }, |
| 33 | .i2c[3] = { |
| 34 | .early_init = 1, |
| 35 | .speed = I2C_SPEED_FAST, |
Tony Huang | 6a0e470 | 2022-07-19 07:32:43 +0800 | [diff] [blame] | 36 | .rise_time_ns = 600, |
| 37 | .fall_time_ns = 400, |
| 38 | .data_hold_time_ns = 50, |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 39 | }, |
| 40 | .i2c[5] = { |
| 41 | .speed = I2C_SPEED_FAST, |
Tony Huang | 6a0e470 | 2022-07-19 07:32:43 +0800 | [diff] [blame] | 42 | .rise_time_ns = 650, |
| 43 | .fall_time_ns = 400, |
| 44 | .data_hold_time_ns = 50, |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 45 | }, |
| 46 | }" |
| 47 | |
Tony Huang | f3e5f99 | 2022-07-29 10:10:44 +0800 | [diff] [blame] | 48 | register "tcc_offset" = "3" # TCC of 97 |
Anil Kumar | f136ddb | 2022-06-21 11:41:56 -0700 | [diff] [blame] | 49 | register "sagv" = "SaGv_Disabled" |
Tony Huang | 394057e | 2022-04-26 11:27:41 +0800 | [diff] [blame] | 50 | register "tcss_aux_ori" = "0x10" |
| 51 | register "typec_aux_bias_pads[2]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" |
Tony Huang | 4893003 | 2022-02-10 16:19:03 +0800 | [diff] [blame] | 52 | |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 53 | register "usb2_ports[1]" = "USB2_PORT_EMPTY" # Disable USB2_C1 |
Ivy Jian | 81d3856 | 2022-06-06 17:11:54 +0800 | [diff] [blame] | 54 | register "usb2_ports[2]" = "USB2_PORT_MAX_TYPE_C(OC2)" # set to Max for USB2_C2 |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 55 | register "usb2_ports[3]" = "USB2_PORT_EMPTY" # Disable M.2 WWAN |
| 56 | register "usb2_ports[4]" = "USB2_PORT_EMPTY" # |
| 57 | register "usb2_ports[6]" = "USB2_PORT_EMPTY" # |
| 58 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A2 |
| 59 | |
| 60 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type A port A2 |
| 61 | register "usb3_ports[3]" = "USB3_PORT_EMPTY" # Disable M.2 WWAN |
| 62 | |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 63 | register "serial_io_i2c_mode" = "{ |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 64 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 65 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 66 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 67 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 68 | [PchSerialIoIndexI2C4] = PchSerialIoDisabled, |
| 69 | [PchSerialIoIndexI2C5] = PchSerialIoPci, |
| 70 | }" |
| 71 | |
MAULIK V VAGHELA | 215a97e | 2022-03-07 18:39:17 +0530 | [diff] [blame] | 72 | register "serial_io_gspi_mode" = "{ |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 73 | [PchSerialIoIndexGSPI0] = PchSerialIoDisabled, |
| 74 | [PchSerialIoIndexGSPI1] = PchSerialIoDisabled, |
| 75 | }" |
Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 76 | |
| 77 | device domain 0 on |
Tony Huang | 6cfe262 | 2022-07-07 17:57:55 +0800 | [diff] [blame] | 78 | device ref tbt_pcie_rp0 off end |
| 79 | device ref tbt_pcie_rp1 off end |
| 80 | device ref tbt_pcie_rp2 off end |
| 81 | |
| 82 | device ref tcss_dma0 off end |
| 83 | device ref tcss_dma1 off end |
Tim Wawrzynczak | f9734fc | 2022-02-17 11:42:34 -0700 | [diff] [blame] | 84 | device ref pcie4_0 on |
| 85 | # Enable CPU PCIe RP 1 using CLKREQ 0 and CLKSRC 0 |
| 86 | register "cpu_pcie_rp[CPU_RP(1)]" = "{ |
| 87 | .clk_req = 0, |
| 88 | .clk_src = 0, |
| 89 | .flags = PCIE_RP_LTR | PCIE_RP_AER, |
| 90 | }" |
Matt DeVillier | f493857 | 2023-11-01 18:50:25 -0500 | [diff] [blame] | 91 | device generic 0 alias dgpu on end |
Tim Wawrzynczak | f9734fc | 2022-02-17 11:42:34 -0700 | [diff] [blame] | 92 | end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 93 | device ref dtt on |
| 94 | chip drivers/intel/dptf |
| 95 | ## sensor information |
| 96 | register "options.tsr[0].desc" = ""DRAM"" |
Tony Huang | df86470 | 2022-08-02 12:51:56 +0800 | [diff] [blame] | 97 | register "options.tsr[1].desc" = ""GPU"" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 98 | register "options.tsr[2].desc" = ""Charger"" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 99 | # TODO: below values are initial reference values only |
Tony Huang | df86470 | 2022-08-02 12:51:56 +0800 | [diff] [blame] | 100 | ## Active Policy |
| 101 | register "policies.active" = "{ |
| 102 | [0] = { |
| 103 | .target = DPTF_CPU, |
| 104 | .thresholds = { |
| 105 | TEMP_PCT(85, 90), |
| 106 | TEMP_PCT(80, 80), |
| 107 | TEMP_PCT(75, 70), |
| 108 | TEMP_PCT(70, 50), |
| 109 | TEMP_PCT(65, 30), |
| 110 | } |
| 111 | }, |
| 112 | [1] = { |
| 113 | .target = DPTF_TEMP_SENSOR_1, |
| 114 | .thresholds = { |
| 115 | TEMP_PCT(50, 90), |
| 116 | TEMP_PCT(48, 70), |
| 117 | TEMP_PCT(46, 60), |
| 118 | TEMP_PCT(43, 40), |
| 119 | TEMP_PCT(40, 30), |
| 120 | } |
| 121 | } |
| 122 | }" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 123 | ## Passive Policy |
| 124 | register "policies.passive" = "{ |
| 125 | [0] = DPTF_PASSIVE(CPU, CPU, 95, 5000), |
| 126 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 5000), |
| 127 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 5000), |
| 128 | [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 5000), |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 129 | }" |
| 130 | ## Critical Policy |
| 131 | register "policies.critical" = "{ |
| 132 | [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), |
Tony Huang | df86470 | 2022-08-02 12:51:56 +0800 | [diff] [blame] | 133 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 105, SHUTDOWN), |
| 134 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 105, SHUTDOWN), |
| 135 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 105, SHUTDOWN), |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 136 | }" |
| 137 | register "controls.power_limits" = "{ |
| 138 | .pl1 = { |
| 139 | .min_power = 3000, |
| 140 | .max_power = 15000, |
| 141 | .time_window_min = 28 * MSECS_PER_SEC, |
| 142 | .time_window_max = 32 * MSECS_PER_SEC, |
| 143 | .granularity = 200, |
| 144 | }, |
| 145 | .pl2 = { |
| 146 | .min_power = 55000, |
| 147 | .max_power = 55000, |
| 148 | .time_window_min = 28 * MSECS_PER_SEC, |
| 149 | .time_window_max = 32 * MSECS_PER_SEC, |
| 150 | .granularity = 1000, |
| 151 | } |
| 152 | }" |
Tony Huang | a1cc780 | 2022-08-09 13:02:57 +0800 | [diff] [blame] | 153 | register "oem_data.oem_variables" = "{ |
| 154 | [0] = 0x0 |
| 155 | }" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 156 | ## Charger Performance Control (Control, mA) |
| 157 | register "controls.charger_perf" = "{ |
| 158 | [0] = { 255, 1700 }, |
| 159 | [1] = { 24, 1500 }, |
| 160 | [2] = { 16, 1000 }, |
| 161 | [3] = { 8, 500 } |
| 162 | }" |
Tony Huang | df86470 | 2022-08-02 12:51:56 +0800 | [diff] [blame] | 163 | ## Fan Performance Control (Percent, Speed, Noise, Power) |
| 164 | register "controls.fan_perf" = "{ |
| 165 | [0] = { 90, 4700, 220, 2200, }, |
| 166 | [1] = { 80, 4500, 180, 1800, }, |
| 167 | [2] = { 70, 4300, 145, 1450, }, |
| 168 | [3] = { 60, 3700, 115, 1150, }, |
| 169 | [4] = { 50, 3300, 90, 900, }, |
| 170 | [5] = { 40, 3100, 55, 550, }, |
| 171 | [6] = { 30, 2800, 30, 300, }, |
| 172 | [7] = { 20, 2500, 15, 150, }, |
| 173 | [8] = { 10, 2300, 10, 100, }, |
| 174 | [9] = { 0, 0, 0, 50, } |
| 175 | }" |
| 176 | |
| 177 | ## Fan options |
| 178 | register "options.fan.fine_grained_control" = "1" |
| 179 | register "options.fan.step_size" = "2" |
| 180 | |
| 181 | device generic 0 alias dptf_policy on end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 182 | end |
| 183 | end |
| 184 | device ref cnvi_wifi on |
| 185 | chip drivers/wifi/generic |
| 186 | register "wake" = "GPE0_PME_B0" |
| 187 | device generic 0 on end |
| 188 | end |
| 189 | end |
| 190 | device ref i2c0 on |
| 191 | chip drivers/i2c/generic |
| 192 | register "hid" = ""RTL5682"" |
| 193 | register "name" = ""RT58"" |
| 194 | register "desc" = ""Headset Codec"" |
| 195 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 196 | # Set the jd_src to RT5668_JD1 for jack detection |
| 197 | register "property_count" = "1" |
| 198 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 199 | register "property_list[0].name" = ""realtek,jd-src"" |
| 200 | register "property_list[0].integer" = "1" |
| 201 | device i2c 1a on end |
| 202 | end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 203 | end #I2C0 |
| 204 | device ref i2c1 on end # GPU |
| 205 | device ref i2c2 on end # External GPU |
| 206 | device ref i2c3 on |
| 207 | chip drivers/i2c/tpm |
| 208 | register "hid" = ""GOOG0005"" |
| 209 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_A13_IRQ)" |
| 210 | device i2c 50 on end |
| 211 | end |
| 212 | end |
| 213 | device ref i2c5 on |
Tony Huang | 83881e7 | 2022-02-14 11:38:38 +0800 | [diff] [blame] | 214 | chip drivers/i2c/generic |
| 215 | register "hid" = ""ELAN0000"" |
| 216 | register "desc" = ""ELAN Touchpad"" |
| 217 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 218 | register "wake" = "GPE0_DW2_14" |
Matt DeVillier | 2cf52d8 | 2022-09-01 15:09:24 -0500 | [diff] [blame] | 219 | register "detect" = "1" |
Tony Huang | 83881e7 | 2022-02-14 11:38:38 +0800 | [diff] [blame] | 220 | device i2c 15 on end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 221 | end |
| 222 | end |
| 223 | device ref pcie_rp3 on |
Tony Huang | 1ffec67 | 2022-05-09 16:15:43 +0800 | [diff] [blame] | 224 | # Enable PCIE 3 using clk 4 |
| 225 | register "pch_pcie_rp[PCH_RP(3)]" = "{ |
| 226 | .clk_src = 4, |
| 227 | .clk_req = 4, |
| 228 | .flags = PCIE_RP_LTR | PCIE_RP_AER, |
| 229 | }" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 230 | chip drivers/net |
| 231 | register "customized_leds" = "0x05af" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 232 | register "wake" = "GPE0_DW0_07" |
Tony Huang | cc89a76 | 2022-06-14 11:09:30 +0800 | [diff] [blame] | 233 | register "device_index" = "0" |
Kapil Porwal | 39f5042 | 2022-11-26 02:38:38 +0530 | [diff] [blame] | 234 | register "add_acpi_dma_property" = "true" |
Matt DeVillier | 5b4bbe5 | 2023-11-19 16:22:21 -0600 | [diff] [blame^] | 235 | device pci 00.0 on end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 236 | end |
| 237 | end #RTL8111H Ethernet NIC |
| 238 | device ref pcie_rp4 off end |
| 239 | device ref pcie_rp6 off end |
| 240 | device ref pcie_rp7 off end |
| 241 | device ref pcie_rp8 on |
| 242 | chip soc/intel/common/block/pcie/rtd3 |
| 243 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 244 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D18)" |
| 245 | register "srcclk_pin" = "3" |
| 246 | device generic 0 on end |
| 247 | end |
| 248 | end #PCIE8 SD card |
Tony Huang | f00ab8c | 2022-03-30 14:59:19 +0800 | [diff] [blame] | 249 | device ref hda on |
| 250 | chip drivers/generic/max98357a |
| 251 | register "hid" = ""MX98360A"" |
| 252 | register "sdmode_gpio" = |
| 253 | "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 254 | register "sdmode_delay" = "5" |
| 255 | device generic 0 on end |
| 256 | end |
| 257 | end |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 258 | device ref pch_espi on |
| 259 | chip ec/google/chromeec |
| 260 | use conn0 as mux_conn[0] |
| 261 | use conn1 as mux_conn[1] |
| 262 | device pnp 0c09.0 on end |
| 263 | end |
| 264 | end |
| 265 | device ref pmc hidden |
| 266 | chip drivers/intel/pmc_mux |
| 267 | device generic 0 on |
| 268 | chip drivers/intel/pmc_mux/conn |
| 269 | use usb2_port1 as usb2_port |
Ivy Jian | d74089d | 2022-05-27 16:58:52 +0800 | [diff] [blame] | 270 | use tcss_usb3_port3 as usb3_port |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 271 | device generic 0 alias conn0 on end |
| 272 | end |
| 273 | chip drivers/intel/pmc_mux/conn |
| 274 | use usb2_port3 as usb2_port |
Ivy Jian | d74089d | 2022-05-27 16:58:52 +0800 | [diff] [blame] | 275 | use tcss_usb3_port1 as usb3_port |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 276 | device generic 1 alias conn1 on end |
| 277 | end |
| 278 | end |
| 279 | end |
| 280 | end |
| 281 | device ref tcss_xhci on |
| 282 | chip drivers/usb/acpi |
| 283 | device ref tcss_root_hub on |
| 284 | chip drivers/usb/acpi |
| 285 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 286 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 287 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 288 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 289 | device ref tcss_usb3_port1 on end |
| 290 | end |
| 291 | chip drivers/usb/acpi |
| 292 | register "desc" = ""USB3 Type-C Port C2 (MLB)"" |
| 293 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 294 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 295 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 296 | device ref tcss_usb3_port3 on end |
| 297 | end |
| 298 | end |
| 299 | end |
| 300 | end |
| 301 | device ref xhci on |
| 302 | chip drivers/usb/acpi |
| 303 | device ref xhci_root_hub on |
| 304 | chip drivers/usb/acpi |
| 305 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 306 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 307 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 308 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 309 | device ref usb2_port1 on end |
| 310 | end |
| 311 | chip drivers/usb/acpi |
| 312 | register "desc" = ""USB2 Type-C Port C2 (MLB)"" |
| 313 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 314 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 315 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 316 | device ref usb2_port3 on end |
| 317 | end |
| 318 | chip drivers/usb/acpi |
| 319 | register "desc" = ""USB2 Camera"" |
| 320 | register "type" = "UPC_TYPE_INTERNAL" |
| 321 | device ref usb2_port6 on end |
| 322 | end |
| 323 | chip drivers/usb/acpi |
| 324 | register "desc" = ""USB2 Type-A Port 2"" |
| 325 | register "type" = "UPC_TYPE_A" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 326 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 327 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, LEFT, ACPI_PLD_GROUP(3, 2))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 328 | device ref usb2_port8 on end |
| 329 | end |
| 330 | chip drivers/usb/acpi |
| 331 | register "desc" = ""USB2 Type-A Port 0"" |
| 332 | register "type" = "UPC_TYPE_A" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 333 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 334 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 335 | device ref usb2_port9 on end |
| 336 | end |
| 337 | chip drivers/usb/acpi |
| 338 | register "desc" = ""USB2 Bluetooth"" |
| 339 | register "type" = "UPC_TYPE_INTERNAL" |
| 340 | register "reset_gpio" = |
| 341 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 342 | device ref usb2_port10 on end |
| 343 | end |
| 344 | chip drivers/usb/acpi |
| 345 | register "desc" = ""USB3 Type-A Port 0"" |
| 346 | register "type" = "UPC_TYPE_USB3_A" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 347 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 348 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 349 | device ref usb3_port1 on end |
| 350 | end |
| 351 | chip drivers/usb/acpi |
| 352 | register "desc" = ""USB3 Type-A Port 2"" |
| 353 | register "type" = "UPC_TYPE_USB3_A" |
Subrata Banik | a55e5b7 | 2022-02-16 16:25:32 +0530 | [diff] [blame] | 354 | register "use_custom_pld" = "true" |
Won Chung | 0c790c8 | 2022-06-10 17:04:25 +0000 | [diff] [blame] | 355 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, LEFT, ACPI_PLD_GROUP(3, 2))" |
Tony Huang | 6b416ff | 2022-01-06 19:14:28 +0800 | [diff] [blame] | 356 | device ref usb3_port2 on end |
| 357 | end |
| 358 | end |
| 359 | end |
| 360 | end |
Subrata Banik | 895691a | 2022-02-16 12:54:53 +0530 | [diff] [blame] | 361 | end |
Tony Huang | 642bcbf | 2022-01-05 16:47:22 +0800 | [diff] [blame] | 362 | end |