Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 1 | chip soc/intel/tigerlake |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 2 | # Power limits |
| 3 | register "power_limits_config[POWER_LIMITS_U_4_CORE]" = "{ |
| 4 | .tdp_pl1_override = 28, |
| 5 | .tdp_pl2_override = 51, |
| 6 | }" |
| 7 | register "power_limits_config[POWER_LIMITS_U_2_CORE]" = "{ |
| 8 | .tdp_pl1_override = 28, |
| 9 | .tdp_pl2_override = 51, |
| 10 | }" |
| 11 | |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 12 | # GPE configuration |
| 13 | register "pmc_gpe0_dw0" = "PMC_GPP_A" |
| 14 | register "pmc_gpe0_dw1" = "PMC_GPP_R" |
| 15 | register "pmc_gpe0_dw2" = "PMC_GPD" |
| 16 | |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 17 | device domain 0 on |
| 18 | subsystemid 0x1558 0x4018 inherit |
| 19 | |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 20 | device ref peg on |
| 21 | # PCIe PEG0 x4, Clock 0 (SSD1) |
| 22 | register "PcieClkSrcUsage[0]" = "0x40" |
| 23 | register "PcieClkSrcClkReq[0]" = "0" |
| 24 | chip soc/intel/common/block/pcie/rtd3 |
| 25 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D14)" # SSD1_PWR_DN# |
| 26 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H0)" # GPP_H0_RTD3 |
Tim Crawford | 2a404b5 | 2022-01-07 14:12:34 -0700 | [diff] [blame] | 27 | register "srcclk_pin" = "0" # SSD1_CLKREQ# |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 28 | device generic 0 on end |
| 29 | end |
| 30 | end |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 31 | device ref north_xhci on # J_TYPEC2 |
| 32 | register "UsbTcPortEn" = "1" |
| 33 | register "TcssXhciEn" = "1" |
| 34 | chip drivers/usb/acpi |
| 35 | device ref tcss_root_hub on |
| 36 | chip drivers/usb/acpi |
| 37 | register "desc" = ""USB3 J_TYPEC2"" |
| 38 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 39 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
| 40 | device ref tcss_usb3_port1 on end |
| 41 | end |
| 42 | end |
| 43 | end |
| 44 | end |
| 45 | device ref tbt_dma0 on # J_TYPEC2 |
| 46 | chip drivers/intel/usb4/retimer |
| 47 | register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)" |
| 48 | use tcss_usb3_port1 as dfp[0].typec_port |
| 49 | device generic 0 on end |
| 50 | end |
| 51 | end |
| 52 | |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 53 | device ref south_xhci on |
Felix Singer | ee1fd54 | 2023-10-26 15:42:16 +0200 | [diff] [blame] | 54 | register "usb2_ports" = "{ |
| 55 | [0] = USB2_PORT_MID(OC_SKIP), /* J_USB3_2 */ |
| 56 | [1] = USB2_PORT_TYPE_C(OC_SKIP), /* J_TYPEC1 */ |
| 57 | [2] = USB2_PORT_MID(OC_SKIP), /* J_USB3_1 */ |
| 58 | [4] = USB2_PORT_MID(OC_SKIP), /* Fingerprint */ |
| 59 | [5] = USB2_PORT_TYPE_C(OC_SKIP), /* J_TYPEC2 */ |
| 60 | [6] = USB2_PORT_MID(OC_SKIP), /* Camera */ |
| 61 | [9] = USB2_PORT_MID(OC_SKIP), /* Bluetooth */ |
| 62 | }" |
| 63 | register "usb3_ports" = "{ |
| 64 | [0] = USB3_PORT_DEFAULT(OC_SKIP), /* J_USB3_2 */ |
| 65 | [1] = USB3_PORT_DEFAULT(OC_SKIP), /* J_TYPEC1 CH0 */ |
| 66 | [2] = USB3_PORT_DEFAULT(OC_SKIP), /* J_USB3_1 */ |
| 67 | [3] = USB3_PORT_DEFAULT(OC_SKIP), /* J_TYPEC1 CH1 */ |
| 68 | }" |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 69 | # ACPI |
| 70 | chip drivers/usb/acpi |
| 71 | device ref xhci_root_hub on |
| 72 | chip drivers/usb/acpi |
| 73 | register "desc" = ""USB2 J_USB3_2"" |
| 74 | register "type" = "UPC_TYPE_A" |
| 75 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 76 | device ref usb2_port1 on end |
| 77 | end |
| 78 | chip drivers/usb/acpi |
| 79 | register "desc" = ""USB2 J_TYPEC1"" |
| 80 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 81 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 82 | device ref usb2_port2 on end |
| 83 | end |
| 84 | chip drivers/usb/acpi |
| 85 | register "desc" = ""USB2 J_USB3_1"" |
| 86 | register "type" = "UPC_TYPE_A" |
| 87 | register "group" = "ACPI_PLD_GROUP(2, 2)" |
| 88 | device ref usb2_port3 on end |
| 89 | end |
| 90 | chip drivers/usb/acpi |
| 91 | register "desc" = ""USB2 Fingerprint"" |
| 92 | register "type" = "UPC_TYPE_INTERNAL" |
| 93 | device ref usb2_port5 on end |
| 94 | end |
| 95 | chip drivers/usb/acpi |
| 96 | register "desc" = ""USB2 J_TYPEC2"" |
| 97 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 98 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
| 99 | device ref usb2_port6 on end |
| 100 | end |
| 101 | chip drivers/usb/acpi |
| 102 | register "desc" = ""USB2 Camera"" |
| 103 | register "type" = "UPC_TYPE_INTERNAL" |
| 104 | device ref usb2_port7 on end |
| 105 | end |
| 106 | chip drivers/usb/acpi |
| 107 | register "desc" = ""USB2 Bluetooth"" |
| 108 | register "type" = "UPC_TYPE_INTERNAL" |
| 109 | device ref usb2_port10 on end |
| 110 | end |
| 111 | chip drivers/usb/acpi |
| 112 | register "desc" = ""USB3 J_USB3_2"" |
| 113 | register "type" = "UPC_TYPE_A" |
| 114 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 115 | device ref usb3_port1 on end |
| 116 | end |
| 117 | chip drivers/usb/acpi |
| 118 | register "desc" = ""USB3 J_TYPEC1 CH0"" |
| 119 | register "type" = "UPC_TYPE_A" |
| 120 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 121 | device ref usb3_port2 on end |
| 122 | end |
| 123 | chip drivers/usb/acpi |
| 124 | register "desc" = ""USB3 J_USB3_1"" |
| 125 | register "type" = "UPC_TYPE_A" |
| 126 | register "group" = "ACPI_PLD_GROUP(2, 2)" |
| 127 | device ref usb3_port3 on end |
| 128 | end |
| 129 | chip drivers/usb/acpi |
| 130 | register "desc" = ""USB3 J_TYPEC1 CH1"" |
| 131 | register "type" = "UPC_TYPE_A" |
| 132 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 133 | device ref usb3_port4 on end |
| 134 | end |
| 135 | end |
| 136 | end |
| 137 | end |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 138 | device ref i2c2 on |
| 139 | # TODO: Pantone ROM? |
| 140 | register "SerialIoI2cMode[PchSerialIoIndexI2C2]" = "PchSerialIoPci" |
| 141 | end |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 142 | device ref pcie_rp5 on |
| 143 | # PCIe root port #5 x4, Clock 2 (NVIDIA GPU) |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 144 | register "PcieRpLtrEnable[4]" = "1" |
| 145 | register "PcieClkSrcUsage[2]" = "4" |
| 146 | register "PcieClkSrcClkReq[2]" = "2" |
| 147 | chip soc/intel/common/block/pcie/rtd3 |
| 148 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_U5)" # DGPU_PWR_EN |
| 149 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_U4)" # DGPU_RST#_PCH |
| 150 | register "enable_delay_ms" = "16" |
| 151 | register "enable_off_delay_ms" = "4" |
| 152 | register "reset_delay_ms" = "10" |
| 153 | register "reset_off_delay_ms" = "4" |
| 154 | register "srcclk_pin" = "2" # PEG_CLKREQ# |
| 155 | device generic 0 on end |
| 156 | end |
| 157 | end |
| 158 | device ref pcie_rp9 on |
| 159 | # PCIe root port #9 x1, Clock 3 (CARD) |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 160 | register "PcieRpLtrEnable[8]" = "1" |
| 161 | register "PcieClkSrcUsage[3]" = "8" |
| 162 | register "PcieClkSrcClkReq[3]" = "3" |
| 163 | end |
| 164 | device ref pcie_rp10 on |
| 165 | # PCIe root port #10 x1, Clock 4 (GLAN) |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 166 | register "PcieRpLtrEnable[9]" = "1" |
| 167 | register "PcieClkSrcUsage[4]" = "9" |
| 168 | register "PcieClkSrcClkReq[4]" = "4" |
| 169 | chip soc/intel/common/block/pcie/rtd3 |
| 170 | register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_F9)" # GPIO_LAN_EN |
| 171 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F7)" # GPIO_LANRTD3 |
| 172 | register "srcclk_pin" = "4" # LAN_CLKREQ# |
| 173 | device generic 0 on end |
| 174 | end |
| 175 | end |
| 176 | device ref pcie_rp11 on |
| 177 | # PCIe root port #11 x1, Clock 1 (WLAN) |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 178 | register "PcieRpLtrEnable[10]" = "1" |
| 179 | register "PcieClkSrcUsage[1]" = "10" |
| 180 | register "PcieClkSrcClkReq[1]" = "1" |
Michael Niewöhner | 45b6080 | 2022-01-08 20:47:11 +0100 | [diff] [blame] | 181 | register "PcieRpSlotImplemented[10]" = "1" |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 182 | end |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 183 | device ref pmc hidden |
| 184 | # The pmc_mux chip driver is a placeholder for the |
| 185 | # PMC.MUX device in the ACPI hierarchy. |
| 186 | chip drivers/intel/pmc_mux |
| 187 | device generic 0 on |
| 188 | chip drivers/intel/pmc_mux/conn |
| 189 | # J_TYPEC2 |
Reka Norman | d448f8c | 2021-12-09 12:09:27 +1100 | [diff] [blame] | 190 | use usb2_port6 as usb2_port |
| 191 | use tcss_usb3_port1 as usb3_port |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 192 | # SBU & HSL follow CC |
| 193 | device generic 0 alias conn0 on end |
| 194 | end |
| 195 | end |
| 196 | end |
| 197 | end |
Tim Crawford | 9459460 | 2021-08-06 13:11:18 -0600 | [diff] [blame] | 198 | end |
| 199 | end |