Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 1 | fw_config |
| 2 | field DB_USB 0 1 |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 3 | option DB_NONE 0 |
| 4 | option DB_1C_1A 1 |
| 5 | option DB_1C_LTE 2 |
| 6 | end |
| 7 | field WFC 2 3 |
| 8 | option WFC_ABSENT 0 |
| 9 | option WFC_MIPI_OVTI5675 1 |
Tyler Wang | 20b58bc8 | 2022-05-16 13:43:43 +0800 | [diff] [blame] | 10 | option WFC_MIPI_OVTI8856 2 |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 11 | end |
| 12 | field STYLUS 4 |
| 13 | option STYLUS_ABSENT 0 |
| 14 | option STYLUS_PRESENT 1 |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 15 | end |
Tyler Wang | 129e6b7 | 2022-06-14 18:08:06 +0800 | [diff] [blame] | 16 | field SD_CARD 5 |
| 17 | option SD_GL9750S 0 |
| 18 | option SD_ABSENT 1 |
| 19 | end |
Tyler Wang | 3f52aa5 | 2022-06-09 14:34:08 +0800 | [diff] [blame^] | 20 | field CODEC 6 7 |
| 21 | option CODEC_NAU8825 0 |
| 22 | option CODEC_ALC5682I_VS 1 |
| 23 | end |
| 24 | field AMP 8 9 |
| 25 | option AMP_MX98360A 0 |
| 26 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 27 | end |
| 28 | |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 29 | chip soc/intel/alderlake |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 30 | register "sagv" = "SaGv_Enabled" |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 31 | |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 32 | # SOC Aux orientation override: |
| 33 | # This is a bitfield that corresponds to up to 4 TCSS ports. |
| 34 | # Bits (0,1) allocated for TCSS Port1 configuration and Bits (2,3)for TCSS Port2. |
| 35 | # TcssAuxOri = 0101b |
| 36 | # Bit0,Bit2 set to "1" indicates no retimer on USBC Ports |
| 37 | # Bit1,Bit3 set to "0" indicates Aux lines are not swapped on the |
| 38 | # motherboard to USBC connector |
| 39 | register "tcss_aux_ori" = "5" |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 40 | |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 41 | register "typec_aux_bias_pads[0]" = "{.pad_auxp_dc = GPP_E22, .pad_auxn_dc = GPP_E23}" |
| 42 | register "typec_aux_bias_pads[1]" = "{.pad_auxp_dc = GPP_A21, .pad_auxn_dc = GPP_A22}" |
| 43 | |
| 44 | register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth port for CNVi WLAN |
| 45 | |
Tyler Wang | 322aa80 | 2022-05-24 18:37:24 +0800 | [diff] [blame] | 46 | # Configure external V1P05/Vnn/VnnSx Rails |
| 47 | register "ext_fivr_settings" = "{ |
| 48 | .configure_ext_fivr = 1, |
| 49 | .v1p05_enable_bitmap = FIVR_ENABLE_ALL_SX, |
| 50 | .vnn_enable_bitmap = FIVR_ENABLE_ALL_SX, |
| 51 | .vnn_sx_enable_bitmap = FIVR_ENABLE_ALL_SX, |
| 52 | .v1p05_supported_voltage_bitmap = FIVR_VOLTAGE_NORMAL, |
| 53 | .vnn_supported_voltage_bitmap = FIVR_VOLTAGE_MIN_ACTIVE, |
| 54 | .v1p05_voltage_mv = 1050, |
| 55 | .vnn_voltage_mv = 780, |
| 56 | .vnn_sx_voltage_mv = 1050, |
| 57 | .v1p05_icc_max_ma = 500, |
| 58 | .vnn_icc_max_ma = 500, |
| 59 | }" |
| 60 | |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 61 | device domain 0 on |
| 62 | device ref ipu on |
| 63 | chip drivers/intel/mipi_camera |
| 64 | register "acpi_uid" = "0x50000" |
| 65 | register "acpi_name" = ""IPU0"" |
| 66 | register "device_type" = "INTEL_ACPI_CAMERA_CIO2" |
| 67 | |
| 68 | register "cio2_num_ports" = "1" |
| 69 | register "cio2_lanes_used" = "{2}" # 2 CSI Camera lanes are used |
| 70 | register "cio2_lane_endpoint[0]" = ""^I2C2.CAM0"" |
| 71 | register "cio2_prt[0]" = "1" |
| 72 | device generic 0 on end |
| 73 | end |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 74 | probe WFC WFC_MIPI_OVTI5675 |
Tyler Wang | 20b58bc8 | 2022-05-16 13:43:43 +0800 | [diff] [blame] | 75 | probe WFC WFC_MIPI_OVTI8856 |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 76 | end |
| 77 | device ref i2c1 on |
| 78 | chip drivers/i2c/hid |
| 79 | register "generic.hid" = ""ELAN6915"" |
| 80 | register "generic.desc" = ""ELAN Touchscreen"" |
| 81 | register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)" |
| 82 | register "generic.probed" = "1" |
| 83 | register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)" |
| 84 | register "generic.reset_delay_ms" = "20" |
| 85 | register "generic.reset_off_delay_ms" = "2" |
| 86 | register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C6)" |
| 87 | register "generic.stop_delay_ms" = "280" |
| 88 | register "generic.stop_off_delay_ms" = "2" |
| 89 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)" |
| 90 | register "generic.enable_delay_ms" = "1" |
| 91 | register "generic.has_power_resource" = "1" |
| 92 | register "generic.disable_gpio_export_in_crs" = "1" |
| 93 | register "hid_desc_reg_offset" = "0x01" |
| 94 | device i2c 15 on end |
| 95 | end |
| 96 | chip drivers/generic/gpio_keys |
| 97 | register "name" = ""PENH"" |
| 98 | register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_F13)" |
| 99 | register "key.wake_gpe" = "GPE0_DW2_15" |
| 100 | register "key.wakeup_route" = "WAKEUP_ROUTE_SCI" |
Tyler Wang | 453f841 | 2022-05-23 10:19:33 +0800 | [diff] [blame] | 101 | register "key.wakeup_event_action" = "EV_ACT_ANY" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 102 | register "key.dev_name" = ""EJCT"" |
| 103 | register "key.linux_code" = "SW_PEN_INSERTED" |
| 104 | register "key.linux_input_type" = "EV_SW" |
| 105 | register "key.label" = ""pen_eject"" |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 106 | device generic 0 on |
| 107 | probe STYLUS STYLUS_PRESENT |
| 108 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 109 | end |
| 110 | end |
| 111 | device ref i2c2 on |
| 112 | chip drivers/i2c/sx9324 |
| 113 | register "desc" = ""SAR Proximity Sensor"" |
| 114 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_H19_IRQ)" |
| 115 | register "speed" = "I2C_SPEED_FAST" |
| 116 | register "uid" = "1" |
| 117 | register "reg_gnrl_ctrl0" = "0x16" |
| 118 | register "reg_gnrl_ctrl1" = "0x21" |
| 119 | register "reg_afe_ctrl0" = "0x00" |
| 120 | register "reg_afe_ctrl1" = "0x10" |
| 121 | register "reg_afe_ctrl2" = "0x00" |
| 122 | register "reg_afe_ctrl3" = "0x00" |
| 123 | register "reg_afe_ctrl4" = "0x07" |
| 124 | register "reg_afe_ctrl5" = "0x00" |
| 125 | register "reg_afe_ctrl6" = "0x00" |
| 126 | register "reg_afe_ctrl7" = "0x07" |
| 127 | register "reg_afe_ctrl8" = "0x12" |
| 128 | register "reg_afe_ctrl9" = "0x0f" |
| 129 | register "reg_prox_ctrl0" = "0x12" |
| 130 | register "reg_prox_ctrl1" = "0x12" |
| 131 | register "reg_prox_ctrl2" = "0x90" |
| 132 | register "reg_prox_ctrl3" = "0x60" |
| 133 | register "reg_prox_ctrl4" = "0x0c" |
| 134 | register "reg_prox_ctrl5" = "0x12" |
| 135 | register "reg_prox_ctrl6" = "0x3c" |
| 136 | register "reg_prox_ctrl7" = "0x58" |
| 137 | register "reg_adv_ctrl0" = "0x00" |
| 138 | register "reg_adv_ctrl1" = "0x00" |
| 139 | register "reg_adv_ctrl2" = "0x00" |
| 140 | register "reg_adv_ctrl3" = "0x00" |
| 141 | register "reg_adv_ctrl4" = "0x00" |
| 142 | register "reg_adv_ctrl5" = "0x05" |
| 143 | register "reg_adv_ctrl6" = "0x00" |
| 144 | register "reg_adv_ctrl7" = "0x00" |
| 145 | register "reg_adv_ctrl8" = "0x00" |
| 146 | register "reg_adv_ctrl9" = "0x00" |
| 147 | register "reg_adv_ctrl10" = "0x5c" |
| 148 | register "reg_adv_ctrl11" = "0x52" |
| 149 | register "reg_adv_ctrl12" = "0xb5" |
| 150 | register "reg_adv_ctrl13" = "0x00" |
| 151 | register "reg_adv_ctrl14" = "0x80" |
| 152 | register "reg_adv_ctrl15" = "0x0c" |
| 153 | register "reg_adv_ctrl16" = "0x38" |
| 154 | register "reg_adv_ctrl17" = "0x56" |
| 155 | register "reg_adv_ctrl18" = "0x33" |
| 156 | register "reg_adv_ctrl19" = "0xf0" |
| 157 | register "reg_adv_ctrl20" = "0xf0" |
| 158 | device i2c 28 on |
| 159 | probe DB_USB DB_1C_LTE |
| 160 | end |
| 161 | end |
| 162 | chip drivers/intel/mipi_camera |
| 163 | register "acpi_hid" = ""OVTI5675"" |
| 164 | register "acpi_uid" = "0" |
| 165 | register "acpi_name" = ""CAM0"" |
| 166 | register "chip_name" = ""Ov 5675 Camera"" |
| 167 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
| 168 | |
| 169 | register "ssdb.lanes_used" = "2" |
| 170 | register "ssdb.link_used" = "1" |
| 171 | register "ssdb.vcm_type" = "0x0C" |
| 172 | register "vcm_name" = ""VCM0"" |
| 173 | register "num_freq_entries" = "1" |
| 174 | register "link_freq[0]" = "DEFAULT_LINK_FREQ" |
| 175 | register "remote_name" = ""IPU0"" |
| 176 | |
| 177 | register "has_power_resource" = "1" |
| 178 | #Controls |
| 179 | register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3" |
| 180 | register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ" |
| 181 | |
| 182 | register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X |
| 183 | register "gpio_panel.gpio[1].gpio_num" = "GPP_D16" # EN_PP1800_PP1200_WCAM_X |
| 184 | register "gpio_panel.gpio[2].gpio_num" = "GPP_D3" # WCAM_RST_L |
| 185 | |
| 186 | #_ON |
| 187 | register "on_seq.ops_cnt" = "5" |
| 188 | register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)" |
| 189 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
| 190 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
| 191 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)" |
| 192 | register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)" |
| 193 | |
| 194 | #_OFF |
| 195 | register "off_seq.ops_cnt" = "4" |
| 196 | register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)" |
| 197 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" |
| 198 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 199 | register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
| 200 | |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 201 | device i2c 36 on |
| 202 | probe WFC WFC_MIPI_OVTI5675 |
| 203 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 204 | end |
| 205 | chip drivers/intel/mipi_camera |
Tyler Wang | 20b58bc8 | 2022-05-16 13:43:43 +0800 | [diff] [blame] | 206 | register "acpi_hid" = ""OVTI8856"" |
| 207 | register "acpi_uid" = "0" |
| 208 | register "acpi_name" = ""CAM0"" |
| 209 | register "chip_name" = ""Ov 8856 Camera"" |
| 210 | register "device_type" = "INTEL_ACPI_CAMERA_SENSOR" |
| 211 | register "has_power_resource" = "1" |
| 212 | |
| 213 | register "ssdb.lanes_used" = "2" |
| 214 | register "ssdb.link_used" = "1" |
| 215 | register "ssdb.vcm_type" = "0x0C" |
| 216 | register "vcm_name" = ""VCM0"" |
| 217 | register "num_freq_entries" = "2" |
| 218 | register "link_freq[0]" = "720000000" |
| 219 | register "link_freq[1]" = "360000000" |
| 220 | register "remote_name" = ""IPU0"" |
| 221 | |
| 222 | #Controls |
| 223 | register "clk_panel.clks[0].clknum" = "IMGCLKOUT_3" |
| 224 | register "clk_panel.clks[0].freq" = "FREQ_19_2_MHZ" |
| 225 | |
| 226 | register "gpio_panel.gpio[0].gpio_num" = "GPP_D15" # EN_PP2800_WCAM_X |
| 227 | register "gpio_panel.gpio[1].gpio_num" = "GPP_D16" # EN_PP1800_PP1200_WCAM_X |
| 228 | register "gpio_panel.gpio[2].gpio_num" = "GPP_D3" # WCAM_RST_L |
| 229 | |
| 230 | #_ON |
| 231 | register "on_seq.ops_cnt" = "5" |
| 232 | register "on_seq.ops[0]" = "SEQ_OPS_CLK_ENABLE(0, 0)" |
| 233 | register "on_seq.ops[1]" = "SEQ_OPS_GPIO_ENABLE(0, 5)" |
| 234 | register "on_seq.ops[2]" = "SEQ_OPS_GPIO_ENABLE(1, 5)" |
| 235 | register "on_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(2, 5)" |
| 236 | register "on_seq.ops[4]" = "SEQ_OPS_GPIO_ENABLE(2, 5)" |
| 237 | |
| 238 | #_OFF |
| 239 | register "off_seq.ops_cnt" = "4" |
| 240 | register "off_seq.ops[0]" = "SEQ_OPS_CLK_DISABLE(0, 0)" |
| 241 | register "off_seq.ops[1]" = "SEQ_OPS_GPIO_DISABLE(2, 0)" |
| 242 | register "off_seq.ops[2]" = "SEQ_OPS_GPIO_DISABLE(1, 0)" |
| 243 | register "off_seq.ops[3]" = "SEQ_OPS_GPIO_DISABLE(0, 0)" |
| 244 | |
| 245 | device i2c 10 on |
| 246 | probe WFC WFC_MIPI_OVTI8856 |
| 247 | end |
| 248 | end |
| 249 | chip drivers/intel/mipi_camera |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 250 | register "acpi_uid" = "3" |
| 251 | register "acpi_name" = ""VCM0"" |
| 252 | register "chip_name" = ""DW AF DAC"" |
| 253 | register "device_type" = "INTEL_ACPI_CAMERA_VCM" |
| 254 | |
| 255 | register "pr0" = ""\\_SB.PCI0.I2C2.CAM0.PRIC"" |
| 256 | register "vcm_compat" = ""dongwoon,dw9714"" |
| 257 | |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 258 | device i2c 0C on |
| 259 | probe WFC WFC_MIPI_OVTI5675 |
Tyler Wang | 20b58bc8 | 2022-05-16 13:43:43 +0800 | [diff] [blame] | 260 | probe WFC WFC_MIPI_OVTI8856 |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 261 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 262 | end |
| 263 | chip drivers/intel/mipi_camera |
| 264 | register "acpi_hid" = "ACPI_DT_NAMESPACE_HID" |
| 265 | register "acpi_uid" = "1" |
| 266 | register "acpi_name" = ""NVM0"" |
| 267 | register "chip_name" = ""GT24C08"" |
| 268 | register "device_type" = "INTEL_ACPI_CAMERA_NVM" |
| 269 | |
| 270 | register "pr0" = ""\\_SB.PCI0.I2C2.CAM0.PRIC"" |
| 271 | |
| 272 | register "nvm_size" = "0x2000" |
| 273 | register "nvm_pagesize" = "1" |
| 274 | register "nvm_readonly" = "1" |
| 275 | register "nvm_width" = "0x10" |
| 276 | register "nvm_compat" = ""atmel,24c08"" |
| 277 | |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 278 | device i2c 50 on |
| 279 | probe WFC WFC_MIPI_OVTI5675 |
Tyler Wang | 20b58bc8 | 2022-05-16 13:43:43 +0800 | [diff] [blame] | 280 | probe WFC WFC_MIPI_OVTI8856 |
Tyler Wang | 3c88dc8 | 2022-05-17 15:06:09 +0800 | [diff] [blame] | 281 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 282 | end |
| 283 | end |
| 284 | device ref i2c3 on |
| 285 | chip drivers/i2c/nau8825 |
| 286 | register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_A23)" |
| 287 | register "jkdet_enable" = "1" |
| 288 | register "jkdet_pull_enable" = "0" |
| 289 | register "jkdet_polarity" = "1" # ActiveLow |
| 290 | register "vref_impedance" = "2" # 125kOhm |
| 291 | register "micbias_voltage" = "6" # 2.754 |
| 292 | register "sar_threshold_num" = "4" |
| 293 | register "sar_threshold[0]" = "0x0c" |
| 294 | register "sar_threshold[1]" = "0x1c" |
| 295 | register "sar_threshold[2]" = "0x38" |
| 296 | register "sar_threshold[3]" = "0x60" |
| 297 | register "sar_hysteresis" = "1" |
| 298 | register "sar_voltage" = "0" # VDDA |
| 299 | register "sar_compare_time" = "0" # 500ns |
| 300 | register "sar_sampling_time" = "0" # 2us |
| 301 | register "short_key_debounce" = "2" # 100ms |
| 302 | register "jack_insert_debounce" = "7" # 512ms |
| 303 | register "jack_eject_debounce" = "7" # 512ms |
Tyler Wang | 3f52aa5 | 2022-06-09 14:34:08 +0800 | [diff] [blame^] | 304 | device i2c 1a on |
| 305 | probe CODEC CODEC_NAU8825 |
| 306 | end |
| 307 | end |
| 308 | chip drivers/i2c/generic |
| 309 | register "hid" = ""RTL5682"" |
| 310 | register "name" = ""RT58"" |
| 311 | register "desc" = ""Headset Codec"" |
| 312 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 313 | # Set the jd_src to RT5668_JD1 for jack detection |
| 314 | register "property_count" = "1" |
| 315 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 316 | register "property_list[0].name" = ""realtek,jd-src"" |
| 317 | register "property_list[0].integer" = "1" |
| 318 | device i2c 1a on |
| 319 | probe CODEC CODEC_ALC5682I_VS |
| 320 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 321 | end |
| 322 | end |
| 323 | device ref i2c5 on |
| 324 | chip drivers/i2c/generic |
| 325 | register "hid" = ""ELAN0000"" |
| 326 | register "desc" = ""ELAN Touchpad"" |
| 327 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 328 | register "wake" = "GPE0_DW2_14" |
| 329 | register "probed" = "1" |
| 330 | device i2c 15 on end |
| 331 | end |
Tyler Wang | 8adcdb3 | 2022-05-05 16:08:24 +0800 | [diff] [blame] | 332 | chip drivers/i2c/hid |
| 333 | register "generic.hid" = ""PNP0C50"" |
| 334 | register "generic.desc" = ""Synaptics Touchpad"" |
| 335 | register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_F14_IRQ)" |
| 336 | register "generic.wake" = "GPE0_DW2_14" |
| 337 | register "generic.probed" = "1" |
| 338 | register "hid_desc_reg_offset" = "0x20" |
| 339 | device i2c 0x2c on end |
| 340 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 341 | end |
| 342 | device ref hda on |
| 343 | chip drivers/generic/max98357a |
| 344 | register "hid" = ""MX98360A"" |
| 345 | register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A11)" |
| 346 | register "sdmode_delay" = "5" |
Tyler Wang | 3f52aa5 | 2022-06-09 14:34:08 +0800 | [diff] [blame^] | 347 | device generic 0 on |
| 348 | probe AMP AMP_MX98360A |
| 349 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 350 | end |
| 351 | end |
Tyler Wang | 129e6b7 | 2022-06-14 18:08:06 +0800 | [diff] [blame] | 352 | device ref pcie_rp7 on |
| 353 | # Enable SD Card PCIe 7 using clk 3 |
| 354 | register "pch_pcie_rp[PCH_RP(7)]" = "{ |
| 355 | .clk_src = 3, |
| 356 | .clk_req = 3, |
| 357 | .flags = PCIE_RP_HOTPLUG | PCIE_RP_LTR | PCIE_RP_AER, |
| 358 | }" |
| 359 | chip soc/intel/common/block/pcie/rtd3 |
| 360 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H13)" |
| 361 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H12)" |
| 362 | register "srcclk_pin" = "3" |
| 363 | device generic 0 on end |
| 364 | end |
| 365 | probe SD_CARD SD_GL9750S |
| 366 | end |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 367 | device ref pch_espi on |
| 368 | chip ec/google/chromeec |
| 369 | use conn0 as mux_conn[0] |
| 370 | use conn1 as mux_conn[1] |
| 371 | device pnp 0c09.0 on end |
| 372 | end |
| 373 | end |
| 374 | device ref pmc hidden |
| 375 | chip drivers/intel/pmc_mux |
| 376 | device generic 0 on |
| 377 | chip drivers/intel/pmc_mux/conn |
| 378 | use usb2_port1 as usb2_port |
| 379 | use tcss_usb3_port1 as usb3_port |
| 380 | device generic 0 alias conn0 on end |
| 381 | end |
| 382 | chip drivers/intel/pmc_mux/conn |
| 383 | use usb2_port2 as usb2_port |
| 384 | use tcss_usb3_port2 as usb3_port |
| 385 | device generic 1 alias conn1 on end |
| 386 | end |
| 387 | end |
| 388 | end |
| 389 | end |
| 390 | device ref tcss_xhci on |
| 391 | chip drivers/usb/acpi |
| 392 | device ref tcss_root_hub on |
| 393 | chip drivers/usb/acpi |
| 394 | register "desc" = ""USB3 Type-C Port C0 (MLB)"" |
| 395 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 396 | register "use_custom_pld" = "true" |
| 397 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 398 | device ref tcss_usb3_port1 on end |
| 399 | end |
| 400 | chip drivers/usb/acpi |
| 401 | register "desc" = ""USB3 Type-C Port C1 (DB)"" |
| 402 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 403 | register "use_custom_pld" = "true" |
| 404 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 405 | device ref tcss_usb3_port2 on end |
| 406 | end |
| 407 | end |
| 408 | end |
| 409 | end |
| 410 | device ref xhci on |
| 411 | chip drivers/usb/acpi |
| 412 | device ref xhci_root_hub on |
| 413 | chip drivers/usb/acpi |
| 414 | register "desc" = ""USB2 Type-C Port C0 (MLB)"" |
| 415 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 416 | register "use_custom_pld" = "true" |
| 417 | register "custom_pld" = "ACPI_PLD_TYPE_C(LEFT, LEFT, ACPI_PLD_GROUP(1, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 418 | device ref usb2_port1 on end |
| 419 | end |
| 420 | chip drivers/usb/acpi |
| 421 | register "desc" = ""USB2 Type-C Port C1 (DB)"" |
| 422 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 423 | register "use_custom_pld" = "true" |
| 424 | register "custom_pld" = "ACPI_PLD_TYPE_C(RIGHT, RIGHT, ACPI_PLD_GROUP(2, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 425 | device ref usb2_port2 on end |
| 426 | end |
| 427 | chip drivers/usb/acpi |
| 428 | register "desc" = ""USB2 Type-A Port A0 (MLB)"" |
| 429 | register "type" = "UPC_TYPE_A" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 430 | register "use_custom_pld" = "true" |
| 431 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 432 | device ref usb2_port3 on end |
| 433 | end |
| 434 | chip drivers/usb/acpi |
| 435 | register "desc" = ""USB2 Type-A Port A1 (DB)"" |
| 436 | register "type" = "UPC_TYPE_A" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 437 | register "use_custom_pld" = "true" |
| 438 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 439 | device ref usb2_port4 on |
| 440 | probe DB_USB DB_1C_1A |
| 441 | end |
| 442 | end |
| 443 | chip drivers/usb/acpi |
| 444 | register "desc" = ""USB2 WWAN"" |
| 445 | register "type" = "UPC_TYPE_INTERNAL" |
| 446 | device ref usb2_port4 on |
| 447 | probe DB_USB DB_1C_LTE |
| 448 | end |
| 449 | end |
| 450 | chip drivers/usb/acpi |
| 451 | register "desc" = ""USB2 Camera"" |
| 452 | register "type" = "UPC_TYPE_INTERNAL" |
| 453 | device ref usb2_port6 on end |
| 454 | end |
| 455 | chip drivers/usb/acpi |
| 456 | register "desc" = ""USB2 Bluetooth"" |
| 457 | register "type" = "UPC_TYPE_INTERNAL" |
| 458 | register "reset_gpio" = |
| 459 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D4)" |
| 460 | device ref usb2_port10 on end |
| 461 | end |
| 462 | chip drivers/usb/acpi |
| 463 | register "desc" = ""USB3 Type-A Port A0 (MLB)"" |
| 464 | register "type" = "UPC_TYPE_USB3_A" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 465 | register "use_custom_pld" = "true" |
| 466 | register "custom_pld" = "ACPI_PLD_TYPE_A(LEFT, RIGHT, ACPI_PLD_GROUP(3, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 467 | device ref usb3_port1 on end |
| 468 | end |
| 469 | chip drivers/usb/acpi |
| 470 | register "desc" = ""USB3 Type-A Port A1 (DB)"" |
| 471 | register "type" = "UPC_TYPE_USB3_A" |
Won Chung | 7303e3d | 2022-05-27 22:15:43 +0000 | [diff] [blame] | 472 | register "use_custom_pld" = "true" |
| 473 | register "custom_pld" = "ACPI_PLD_TYPE_A(RIGHT, LEFT, ACPI_PLD_GROUP(4, 1))" |
Tyler Wang | bd544e8 | 2022-04-26 10:10:21 +0800 | [diff] [blame] | 474 | device ref usb3_port2 on |
| 475 | probe DB_USB DB_1C_1A |
| 476 | end |
| 477 | end |
| 478 | chip drivers/usb/acpi |
| 479 | register "desc" = ""USB3 WWAN"" |
| 480 | register "type" = "UPC_TYPE_INTERNAL" |
| 481 | device ref usb3_port2 on |
| 482 | probe DB_USB DB_1C_LTE |
| 483 | end |
| 484 | end |
| 485 | end |
| 486 | end |
| 487 | end |
| 488 | end |
Tyler Wang | f478b1f | 2022-03-31 13:57:17 +0800 | [diff] [blame] | 489 | end |