Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 1 | chip soc/intel/tigerlake |
Eric Lai | d234484 | 2020-08-21 11:09:14 +0800 | [diff] [blame] | 2 | register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Port 0 |
Eric Lai | d234484 | 2020-08-21 11:09:14 +0800 | [diff] [blame] | 3 | register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Port 1 |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 4 | register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # Front Camera |
Eric Lai | d234484 | 2020-08-21 11:09:14 +0800 | [diff] [blame] | 5 | register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Type-A / Type-C Port 2 |
Frank Wu | 1d7ba15 | 2020-08-11 16:04:45 +0800 | [diff] [blame] | 6 | register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Reserve for CNVi BT |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 7 | |
Shreesh Chhabbi | 3708687 | 2020-06-17 12:40:42 -0700 | [diff] [blame] | 8 | register "SaGv" = "SaGv_Disabled" |
| 9 | |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 10 | device domain 0 on |
Duncan Laurie | b0e169a | 2020-07-29 16:33:10 -0700 | [diff] [blame] | 11 | # Baseboard does not have these on, so they must be enabled here. |
| 12 | device ref tbt_pcie_rp2 on end # TBT_PCIe2 |
| 13 | device ref tbt_dma1 on end # TBT DMA1 0x9A1D |
| 14 | device ref i2c0 on |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 15 | chip drivers/i2c/generic |
| 16 | register "hid" = ""10EC5682"" |
| 17 | register "name" = ""RT58"" |
| 18 | register "desc" = ""Headset Codec"" |
| 19 | register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A23)" |
| 20 | # Set the jd_src to RT5668_JD1 for jack detection |
| 21 | register "property_count" = "1" |
| 22 | register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER" |
| 23 | register "property_list[0].name" = ""realtek,jd-src"" |
| 24 | register "property_list[0].integer" = "1" |
| 25 | device i2c 1a on end |
| 26 | end |
| 27 | chip drivers/i2c/max98373 |
| 28 | register "vmon_slot_no" = "0" |
| 29 | register "imon_slot_no" = "1" |
| 30 | register "uid" = "0" |
| 31 | register "desc" = ""Right Speaker Amp"" |
| 32 | register "name" = ""MAXR"" |
Frank Wu | 9f963d3 | 2020-09-24 19:35:37 +0800 | [diff] [blame] | 33 | device i2c 31 on |
| 34 | probe AUDIO MAX98373_ALC5682I_I2S_UP4 |
| 35 | end |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 36 | end |
| 37 | chip drivers/i2c/max98373 |
| 38 | register "vmon_slot_no" = "2" |
| 39 | register "imon_slot_no" = "3" |
| 40 | register "uid" = "1" |
| 41 | register "desc" = ""Left Speaker Amp"" |
| 42 | register "name" = ""MAXL"" |
Frank Wu | 9f963d3 | 2020-09-24 19:35:37 +0800 | [diff] [blame] | 43 | device i2c 32 on |
| 44 | probe AUDIO MAX98373_ALC5682I_I2S_UP4 |
| 45 | end |
Frank Wu | b763a4f | 2020-05-15 15:21:31 +0800 | [diff] [blame] | 46 | end |
Duncan Laurie | b0e169a | 2020-07-29 16:33:10 -0700 | [diff] [blame] | 47 | end |
| 48 | device ref i2c1 on |
Nick Vaccaro | f3d399e | 2020-06-18 18:30:31 -0700 | [diff] [blame] | 49 | chip drivers/i2c/hid |
| 50 | register "generic.hid" = ""GDIX0000"" |
| 51 | register "generic.desc" = ""Goodix Touchscreen"" |
| 52 | register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 53 | register "generic.probed" = "1" |
| 54 | register "generic.reset_gpio" = |
| 55 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C10)" |
| 56 | register "generic.reset_delay_ms" = "120" |
| 57 | register "generic.reset_off_delay_ms" = "3" |
| 58 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)" |
| 59 | register "generic.enable_delay_ms" = "12" |
| 60 | register "generic.has_power_resource" = "1" |
| 61 | register "hid_desc_reg_offset" = "0x01" |
| 62 | device i2c 14 on end |
| 63 | end |
| 64 | chip drivers/i2c/hid |
| 65 | register "generic.hid" = ""ELAN90FC"" |
| 66 | register "generic.desc" = ""ELAN Touchscreen"" |
| 67 | register "generic.irq" = "ACPI_IRQ_EDGE_LOW(GPP_E7_IRQ)" |
| 68 | register "generic.probed" = "1" |
| 69 | register "generic.reset_gpio" = |
| 70 | "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C10)" |
| 71 | register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A8)" |
| 72 | register "generic.reset_delay_ms" = "20" |
| 73 | register "generic.has_power_resource" = "1" |
| 74 | register "generic.disable_gpio_export_in_crs" = "1" |
| 75 | register "hid_desc_reg_offset" = "0x01" |
| 76 | device i2c 10 on end |
| 77 | end |
Duncan Laurie | b0e169a | 2020-07-29 16:33:10 -0700 | [diff] [blame] | 78 | end |
| 79 | device ref i2c2 on |
Nick Vaccaro | f3d399e | 2020-06-18 18:30:31 -0700 | [diff] [blame] | 80 | chip drivers/i2c/sx9310 |
| 81 | register "desc" = ""SAR0 Proximity Sensor"" |
| 82 | register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_F14_IRQ)" |
| 83 | register "speed" = "I2C_SPEED_FAST" |
| 84 | register "uid" = "0" |
| 85 | register "reg_prox_ctrl0" = "0x10" |
| 86 | register "reg_prox_ctrl1" = "0x00" |
| 87 | register "reg_prox_ctrl2" = "0x84" |
| 88 | register "reg_prox_ctrl3" = "0x0e" |
| 89 | register "reg_prox_ctrl4" = "0x07" |
| 90 | register "reg_prox_ctrl5" = "0xc6" |
| 91 | register "reg_prox_ctrl6" = "0x20" |
| 92 | register "reg_prox_ctrl7" = "0x0d" |
| 93 | register "reg_prox_ctrl8" = "0x8d" |
| 94 | register "reg_prox_ctrl9" = "0x43" |
| 95 | register "reg_prox_ctrl10" = "0x1f" |
| 96 | register "reg_prox_ctrl11" = "0x00" |
| 97 | register "reg_prox_ctrl12" = "0x00" |
| 98 | register "reg_prox_ctrl13" = "0x00" |
| 99 | register "reg_prox_ctrl14" = "0x00" |
| 100 | register "reg_prox_ctrl15" = "0x00" |
| 101 | register "reg_prox_ctrl16" = "0x00" |
| 102 | register "reg_prox_ctrl17" = "0x00" |
| 103 | register "reg_prox_ctrl18" = "0x00" |
| 104 | register "reg_prox_ctrl19" = "0x00" |
| 105 | register "reg_sar_ctrl0" = "0x50" |
| 106 | register "reg_sar_ctrl1" = "0x8a" |
| 107 | register "reg_sar_ctrl2" = "0x3c" |
| 108 | device i2c 28 on end |
| 109 | end |
Duncan Laurie | b0e169a | 2020-07-29 16:33:10 -0700 | [diff] [blame] | 110 | end |
| 111 | device ref i2c5 on |
Nick Vaccaro | f3d399e | 2020-06-18 18:30:31 -0700 | [diff] [blame] | 112 | chip drivers/i2c/generic |
| 113 | register "hid" = ""ELAN0000"" |
| 114 | register "desc" = ""ELAN Touchpad"" |
| 115 | register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_E15_IRQ)" |
| 116 | register "wake" = "GPE0_DW2_15" |
| 117 | register "probed" = "1" |
| 118 | device i2c 15 on end |
| 119 | end |
Duncan Laurie | b0e169a | 2020-07-29 16:33:10 -0700 | [diff] [blame] | 120 | end |
| 121 | device ref hda on end |
Duncan Laurie | f78ade3 | 2020-10-27 11:06:02 -0700 | [diff] [blame^] | 122 | device ref north_xhci on |
| 123 | chip drivers/usb/acpi |
| 124 | device ref tcss_root_hub on |
| 125 | chip drivers/usb/acpi |
| 126 | register "desc" = ""USB3 Type-C Port 0"" |
| 127 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 128 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 129 | device ref tcss_usb3_port1 on end |
| 130 | end |
| 131 | chip drivers/usb/acpi |
| 132 | register "desc" = ""USB3 Type-C Port 1"" |
| 133 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 134 | register "group" = "ACPI_PLD_GROUP(2, 2)" |
| 135 | device ref tcss_usb3_port2 on end |
| 136 | end |
| 137 | chip drivers/usb/acpi |
| 138 | register "desc" = ""USB3 Type-C Port 2"" |
| 139 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 140 | register "group" = "ACPI_PLD_GROUP(3, 2)" |
| 141 | device ref tcss_usb3_port3 on end |
| 142 | end |
| 143 | end |
| 144 | end |
| 145 | end |
| 146 | device ref south_xhci on |
| 147 | chip drivers/usb/acpi |
| 148 | device ref xhci_root_hub on |
| 149 | chip drivers/usb/acpi |
| 150 | register "desc" = ""USB2 Type-C Port 0"" |
| 151 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 152 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
| 153 | device ref usb2_port2 on end |
| 154 | end |
| 155 | chip drivers/usb/acpi |
| 156 | register "desc" = ""USB2 Type-C Port 1"" |
| 157 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 158 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 159 | device ref usb2_port4 on end |
| 160 | end |
| 161 | chip drivers/usb/acpi |
| 162 | register "desc" = ""USB2 Camera"" |
| 163 | register "type" = "UPC_TYPE_INTERNAL" |
| 164 | device ref usb2_port5 on end |
| 165 | end |
| 166 | chip drivers/usb/acpi |
| 167 | register "desc" = ""USB2 Type-C Port 2"" |
| 168 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 169 | register "group" = "ACPI_PLD_GROUP(3, 1)" |
| 170 | device ref usb2_port6 on end |
| 171 | end |
| 172 | chip drivers/usb/acpi |
| 173 | register "desc" = ""USB2 Bluetooth"" |
| 174 | register "type" = "UPC_TYPE_INTERNAL" |
| 175 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A13)" |
| 176 | device ref usb2_port10 on end |
| 177 | end |
| 178 | end |
| 179 | end |
| 180 | end |
Frank Wu | bc83738 | 2020-03-13 16:41:10 +0800 | [diff] [blame] | 181 | end |
| 182 | end |