Wisley Chen | 4b59989 | 2020-09-09 09:21:02 +0800 | [diff] [blame] | 1 | fw_config |
Karthikeyan Ramasubramanian | 291fd9f | 2020-11-30 17:23:31 -0700 | [diff] [blame] | 2 | field DB_PORTS 0 3 |
| 3 | option DB_PORTS_NONE 0 |
| 4 | option DB_PORTS_2C_2A 1 |
| 5 | option DB_PORTS_1C_LTE 2 |
| 6 | option DB_PORTS_1A_HDMI 3 |
| 7 | option DB_PORTS_1C_1A 4 |
David Wu | 82c9b70 | 2021-04-15 16:19:11 +0800 | [diff] [blame] | 8 | option DB_PORTS_LTE_HDMI 5 |
Tony Huang | 576f3d0 | 2021-05-19 11:44:20 +0800 | [diff] [blame] | 9 | option DB_PORTS_1C_1A_LTE 6 |
| 10 | option DB_PORTS_1C 7 |
| 11 | option DB_PORTS_1A_HDMI_LTE 8 |
Karthikeyan Ramasubramanian | 291fd9f | 2020-11-30 17:23:31 -0700 | [diff] [blame] | 12 | end |
Ren Kuo | 84cd7c3 | 2021-12-16 14:32:17 +0800 | [diff] [blame] | 13 | field STYLUS 4 |
| 14 | option STYLUS_ABSENT 0 |
| 15 | option STYLUS_PRESENT 1 |
| 16 | end |
Wisley Chen | 4b59989 | 2020-09-09 09:21:02 +0800 | [diff] [blame] | 17 | field TABLETMODE 10 |
| 18 | option TABLETMODE_DISABLED 0 |
| 19 | option TABLETMODE_ENABLED 1 |
| 20 | end |
FrankChu | 271c0a3 | 2021-04-14 15:30:51 +0800 | [diff] [blame] | 21 | field AUDIO_AMP 14 16 |
| 22 | option UNPROVISIONED 0 |
| 23 | option MAX98360 1 |
| 24 | option RT1015_I2C 2 |
| 25 | option RT1015P_AUTO 3 |
Daniel_Peng | ed7a474 | 2023-07-19 10:22:34 +0800 | [diff] [blame] | 26 | option ALC5650 4 |
FrankChu | 271c0a3 | 2021-04-14 15:30:51 +0800 | [diff] [blame] | 27 | end |
Dtrain Hsu | 1e0f77f | 2021-05-11 17:50:42 +0800 | [diff] [blame] | 28 | field LTE 11 |
| 29 | option LTE_ABSENT 0 |
| 30 | option LTE_PRESENT 1 |
| 31 | end |
Zhi Li | d59c950 | 2021-08-03 21:35:49 +0800 | [diff] [blame] | 32 | field EXT_VR 18 |
| 33 | option EXT_VR_PRESENT 0 |
| 34 | option EXT_VR_ABSENT 1 |
| 35 | end |
Wisley Chen | 4b59989 | 2020-09-09 09:21:02 +0800 | [diff] [blame] | 36 | end |
| 37 | |
Aamir Bohra | a23e0c9 | 2020-03-25 15:31:12 +0530 | [diff] [blame] | 38 | chip soc/intel/jasperlake |
MAULIK V VAGHELA | a5a862b | 2021-08-02 17:23:55 +0530 | [diff] [blame] | 39 | device cpu_cluster 0 on end |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 40 | |
Karthikeyan Ramasubramanian | cc633f2 | 2020-02-07 13:11:02 -0700 | [diff] [blame] | 41 | # GPE configuration |
| 42 | # Note that GPE events called out in ASL code rely on this |
| 43 | # route, i.e., if this route changes then the affected GPE |
| 44 | # offset bits also need to be changed. |
| 45 | # DW0 is used by: |
| 46 | # - GPP_B3 - TRACKPAD_INT_ODL |
| 47 | # - GPP_B4 - H1_AP_INT_ODL |
| 48 | # DW1 is used by: |
Karthikeyan Ramasubramanian | 6130ad2 | 2020-02-19 22:49:11 -0700 | [diff] [blame] | 49 | # - GPP_C12 - AP_PEN_DET_ODL |
Karthikeyan Ramasubramanian | cc633f2 | 2020-02-07 13:11:02 -0700 | [diff] [blame] | 50 | # DW2 is used by: |
Karthikeyan Ramasubramanian | 6130ad2 | 2020-02-19 22:49:11 -0700 | [diff] [blame] | 51 | # - GPP_D0 - WWAN_HOST_WAKE |
| 52 | # - GPP_D3 - WLAN_PCIE_WAKE_ODL |
Karthikeyan Ramasubramanian | cc633f2 | 2020-02-07 13:11:02 -0700 | [diff] [blame] | 53 | # EC_AP_WAKE_ODL is routed to LAN_WAKE#/GPD02 & is part of DW3. |
Meera Ravindranath | 819d676 | 2020-07-27 12:05:26 +0530 | [diff] [blame] | 54 | register "pmc_gpe0_dw0" = "PMC_GPP_B" |
| 55 | register "pmc_gpe0_dw1" = "PMC_GPP_C" |
| 56 | register "pmc_gpe0_dw2" = "PMC_GPP_D" |
Karthikeyan Ramasubramanian | cc633f2 | 2020-02-07 13:11:02 -0700 | [diff] [blame] | 57 | |
Aamir Bohra | 1ad1590 | 2020-02-26 00:40:42 +0530 | [diff] [blame] | 58 | # EC host command ranges are in 0x800-0x8ff & 0x200-0x20f |
| 59 | register "gen1_dec" = "0x00fc0801" |
| 60 | register "gen2_dec" = "0x000c0201" |
| 61 | # EC memory map range is 0x900-0x9ff |
| 62 | register "gen3_dec" = "0x00fc0901" |
| 63 | |
Karthikeyan Ramasubramanian | 7225ed6 | 2020-02-12 11:41:23 -0700 | [diff] [blame] | 64 | # USB Port Configuration |
| 65 | register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # Type-C Port C0 |
| 66 | register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # Type-C Port C1 |
| 67 | register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A0 |
| 68 | register "usb2_ports[3]" = "USB2_PORT_MID(OC_SKIP)" # Type-A Port A1 |
Aamir Bohra | b0b3219 | 2020-03-12 21:37:25 +0530 | [diff] [blame] | 69 | register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # Discrete Bluetooth |
Aamir Bohra | b0b3219 | 2020-03-12 21:37:25 +0530 | [diff] [blame] | 70 | register "usb2_ports[7]" = "USB2_PORT_MID(OC_SKIP)" # Integrated Bluetooth |
Karthikeyan Ramasubramanian | 7225ed6 | 2020-02-12 11:41:23 -0700 | [diff] [blame] | 71 | |
| 72 | register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type-C Port C0 |
| 73 | register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type-C Port C1 |
| 74 | register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/1 Type-A Port A0 |
| 75 | register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/1 Type-A Port A1 |
Karthikeyan Ramasubramanian | 7225ed6 | 2020-02-12 11:41:23 -0700 | [diff] [blame] | 76 | |
Karthikeyan Ramasubramanian | c015bcc | 2020-02-07 16:45:26 -0700 | [diff] [blame] | 77 | register "SerialIoI2cMode" = "{ |
Karthikeyan Ramasubramanian | 55c8702 | 2020-02-11 11:53:47 -0700 | [diff] [blame] | 78 | [PchSerialIoIndexI2C0] = PchSerialIoPci, |
| 79 | [PchSerialIoIndexI2C1] = PchSerialIoPci, |
| 80 | [PchSerialIoIndexI2C2] = PchSerialIoPci, |
| 81 | [PchSerialIoIndexI2C3] = PchSerialIoPci, |
| 82 | [PchSerialIoIndexI2C4] = PchSerialIoPci, |
Karthikeyan Ramasubramanian | c015bcc | 2020-02-07 16:45:26 -0700 | [diff] [blame] | 83 | [PchSerialIoIndexI2C5] = PchSerialIoDisabled, |
| 84 | }" |
| 85 | |
| 86 | register "SerialIoGSpiMode" = "{ |
Karthikeyan Ramasubramanian | 2a3cef2 | 2020-02-06 17:58:07 -0700 | [diff] [blame] | 87 | [PchSerialIoIndexGSPI0] = PchSerialIoPci, |
Karthikeyan Ramasubramanian | c015bcc | 2020-02-07 16:45:26 -0700 | [diff] [blame] | 88 | [PchSerialIoIndexGSPI1] = PchSerialIoDisabled, |
| 89 | [PchSerialIoIndexGSPI2] = PchSerialIoDisabled, |
| 90 | }" |
| 91 | |
| 92 | register "SerialIoGSpiCsMode" = "{ |
Karthikeyan Ramasubramanian | 2a3cef2 | 2020-02-06 17:58:07 -0700 | [diff] [blame] | 93 | [PchSerialIoIndexGSPI0] = 1, |
Karthikeyan Ramasubramanian | c015bcc | 2020-02-07 16:45:26 -0700 | [diff] [blame] | 94 | [PchSerialIoIndexGSPI1] = 0, |
| 95 | [PchSerialIoIndexGSPI2] = 0, |
| 96 | }" |
| 97 | |
| 98 | register "SerialIoGSpiCsState" = "{ |
| 99 | [PchSerialIoIndexGSPI0] = 0, |
| 100 | [PchSerialIoIndexGSPI1] = 0, |
| 101 | [PchSerialIoIndexGSPI2] = 0, |
| 102 | }" |
| 103 | |
| 104 | register "SerialIoUartMode" = "{ |
| 105 | [PchSerialIoIndexUART0] = PchSerialIoDisabled, |
| 106 | [PchSerialIoIndexUART1] = PchSerialIoDisabled, |
Karthikeyan Ramasubramanian | 95ea799 | 2020-02-07 17:37:17 -0700 | [diff] [blame] | 107 | [PchSerialIoIndexUART2] = PchSerialIoSkipInit, |
Karthikeyan Ramasubramanian | c015bcc | 2020-02-07 16:45:26 -0700 | [diff] [blame] | 108 | }" |
| 109 | |
Karthikeyan Ramasubramanian | 4ebe6df | 2020-02-28 16:25:08 -0700 | [diff] [blame] | 110 | # PCIE Root Port Configuration |
| 111 | register "PcieRpEnable[0]" = "0" |
| 112 | register "PcieRpEnable[1]" = "0" |
| 113 | register "PcieRpEnable[2]" = "0" |
| 114 | register "PcieRpEnable[3]" = "0" |
| 115 | register "PcieRpEnable[4]" = "0" |
| 116 | register "PcieRpEnable[5]" = "0" |
| 117 | register "PcieRpEnable[6]" = "0" |
Karthikeyan Ramasubramanian | f354c8c | 2020-02-28 17:00:14 -0700 | [diff] [blame] | 118 | # PCIe Root Port 8 (index 7) hosts M.2 E-key WLAN. |
| 119 | register "PcieRpEnable[7]" = "1" |
Karthikeyan Ramasubramanian | 4ebe6df | 2020-02-28 16:25:08 -0700 | [diff] [blame] | 120 | |
| 121 | register "PcieClkSrcUsage[0]" = "0xff" |
| 122 | register "PcieClkSrcUsage[1]" = "0xff" |
| 123 | register "PcieClkSrcUsage[2]" = "0xff" |
Karthikeyan Ramasubramanian | f354c8c | 2020-02-28 17:00:14 -0700 | [diff] [blame] | 124 | # PCIe Clock Source 4 (index 3) is used by WLAN on PCIe Root Port 8 (index 7) |
| 125 | register "PcieClkSrcUsage[3]" = "7" |
Karthikeyan Ramasubramanian | 4ebe6df | 2020-02-28 16:25:08 -0700 | [diff] [blame] | 126 | register "PcieClkSrcUsage[4]" = "0xff" |
| 127 | register "PcieClkSrcUsage[5]" = "0xff" |
| 128 | |
| 129 | # PCIE Clock Request to Clock Source Mapping |
| 130 | register "PcieClkSrcClkReq[0]" = "0" |
| 131 | register "PcieClkSrcClkReq[1]" = "1" |
| 132 | register "PcieClkSrcClkReq[2]" = "2" |
| 133 | register "PcieClkSrcClkReq[3]" = "3" |
| 134 | register "PcieClkSrcClkReq[4]" = "4" |
| 135 | register "PcieClkSrcClkReq[5]" = "5" |
| 136 | |
Aamir Bohra | bf48f6a | 2020-03-16 19:03:46 +0530 | [diff] [blame] | 137 | # Audio related configurations |
| 138 | register "PchHdaDspEnable" = "1" |
| 139 | register "PchHdaAudioLinkHdaEnable" = "1" |
| 140 | register "PchHdaAudioLinkSspEnable[0]" = "1" |
| 141 | register "PchHdaAudioLinkSspEnable[1]" = "1" |
| 142 | register "PchHdaAudioLinkDmicEnable[0]" = "1" |
| 143 | register "PchHdaAudioLinkDmicEnable[1]" = "1" |
| 144 | |
Karthikeyan Ramasubramanian | be6583a | 2020-02-12 12:07:51 -0700 | [diff] [blame] | 145 | # Enable EMMC HS400 mode |
| 146 | register "ScsEmmcHs400Enabled" = "1" |
| 147 | |
Aamir Bohra | 29c6169 | 2020-03-16 14:47:27 +0530 | [diff] [blame] | 148 | # GPIO for SD card detect |
| 149 | register "sdcard_cd_gpio" = "VGPIO_39" |
| 150 | # SD card power enable polarity |
| 151 | register "SdCardPowerEnableActiveHigh" = "1" |
| 152 | |
Aamir Bohra | 9fb3d79 | 2020-05-05 13:54:27 +0530 | [diff] [blame] | 153 | # Enable S0ix support |
| 154 | register "s0ix_enable" = "1" |
| 155 | |
Aamir Bohra | 6f1bebe | 2020-02-26 20:22:14 +0530 | [diff] [blame] | 156 | # Display related UPDs |
| 157 | # Select eDP for port A |
| 158 | register "DdiPortAConfig" = "1" |
| 159 | |
| 160 | # Enable HPD for DDI ports B/C |
| 161 | register "DdiPortBHpd" = "1" |
| 162 | register "DdiPortCHpd" = "1" |
| 163 | # Enable DDC for DDI ports B/C |
| 164 | register "DdiPortBDdc" = "1" |
| 165 | register "DdiPortCDdc" = "1" |
| 166 | |
Sumeet R Pawnikar | d92d0e2 | 2020-06-18 14:10:10 +0530 | [diff] [blame] | 167 | # Enable DPTF |
| 168 | register "dptf_enable" = "1" |
| 169 | |
Chia-Ling Hou | b5a0328 | 2023-06-07 16:53:00 +0800 | [diff] [blame] | 170 | # Power limit config |
| 171 | register "power_limits_config[JSL_N4500_6W_CORE]" = "{ |
Sumeet R Pawnikar | d92d0e2 | 2020-06-18 14:10:10 +0530 | [diff] [blame] | 172 | .tdp_pl1_override = 6, |
| 173 | .tdp_pl2_override = 20, |
| 174 | }" |
| 175 | |
Chia-Ling Hou | b5a0328 | 2023-06-07 16:53:00 +0800 | [diff] [blame] | 176 | register "power_limits_config[JSL_N6000_6W_CORE]" = "{ |
| 177 | .tdp_pl1_override = 6, |
| 178 | .tdp_pl2_override = 20, |
| 179 | }" |
| 180 | |
| 181 | register "power_limits_config[JSL_N5100_6W_CORE]" = "{ |
| 182 | .tdp_pl1_override = 6, |
| 183 | .tdp_pl2_override = 20, |
| 184 | }" |
| 185 | |
| 186 | register "power_limits_config[JSL_N4505_10W_CORE]" = "{ |
| 187 | .tdp_pl1_override = 10, |
| 188 | .tdp_pl2_override = 25, |
| 189 | }" |
| 190 | |
| 191 | register "power_limits_config[JSL_N5105_10W_CORE]" = "{ |
| 192 | .tdp_pl1_override = 10, |
| 193 | .tdp_pl2_override = 25, |
| 194 | }" |
| 195 | |
| 196 | register "power_limits_config[JSL_N6005_10W_CORE]" = "{ |
| 197 | .tdp_pl1_override = 10, |
| 198 | .tdp_pl2_override = 25, |
| 199 | }" |
| 200 | |
Sumeet R Pawnikar | 15311d2 | 2020-06-30 15:15:28 +0530 | [diff] [blame] | 201 | register "tcc_offset" = "10" # TCC of 90C |
| 202 | |
Meera Ravindranath | 833b5b3 | 2020-09-29 18:09:24 +0530 | [diff] [blame] | 203 | # VR config settings |
| 204 | # Imon Slope correction specified in 1/100 increment values. Range is 0-200. |
| 205 | # Eg: 125 = 1.25 |
| 206 | register "ImonSlope" = "100" |
| 207 | |
| 208 | # Imon offset correction. Value is a 2's complement signed integer. |
| 209 | # Units 1/1000, Range 0-63999. |
| 210 | # For an offset = 12.580, use 12580 |
| 211 | register "ImonOffset" = "0" |
| 212 | |
Angel Pons | 0c6dc82 | 2022-05-16 16:34:21 +0200 | [diff] [blame] | 213 | # Skip the CPU replacement check |
V Sowmya | 3915627 | 2020-06-30 20:22:26 +0530 | [diff] [blame] | 214 | register "SkipCpuReplacementCheck" = "1" |
| 215 | |
Aamir Bohra | 7a04d05 | 2020-09-09 14:34:36 +0530 | [diff] [blame] | 216 | # Sagv Configuration |
| 217 | register "SaGv" = "SaGv_Enabled" |
| 218 | |
V Sowmya | 6d92ab8 | 2020-07-24 09:16:05 +0530 | [diff] [blame] | 219 | # Set the minimum assertion width |
| 220 | register "PchPmSlpS3MinAssert" = "3" # 50ms |
| 221 | register "PchPmSlpS4MinAssert" = "1" # 1s |
| 222 | register "PchPmSlpSusMinAssert" = "3" # 1s |
| 223 | register "PchPmSlpAMinAssert" = "3" # 98ms |
| 224 | |
| 225 | # NOTE: Duration programmed in the below register should never be smaller than the |
| 226 | # stretch duration programmed in the following registers - |
| 227 | # - GEN_PMCON_A.SLP_S3_MIN_ASST_WDTH (PchPmSlpS3MinAssert) |
| 228 | # - GEN_PMCON_A.S4MAW (PchPmSlpS4MinAssert) |
| 229 | # - PM_CFG.SLP_A_MIN_ASST_WDTH (PchPmSlpAMinAssert) |
| 230 | # - PM_CFG.SLP_LAN_MIN_ASST_WDTH |
| 231 | register "PchPmPwrCycDur" = "1" # 1s |
| 232 | |
Ben Kao | 6eb5253 | 2021-07-04 21:24:36 +0800 | [diff] [blame] | 233 | # Set xHCI LFPS period sampling off time, the default is 9ms. |
| 234 | register "xhci_lfps_sampling_offtime_ms" = "9" |
| 235 | |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 236 | device domain 0 on |
Aamir Bohra | 741dec4 | 2020-02-26 01:30:03 +0530 | [diff] [blame] | 237 | device pci 00.0 on end # Host Bridge |
Matt DeVillier | 458a215 | 2023-01-23 10:25:51 -0600 | [diff] [blame^] | 238 | device pci 02.0 on |
| 239 | register "gfx" = "GMA_DEFAULT_PANEL(0)" |
| 240 | end # Integrated Graphics Device |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 241 | device pci 04.0 on |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 242 | # Default DPTF Policy for all Dedede boards if not overridden |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 243 | chip drivers/intel/dptf |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 244 | ## Passive Policy |
| 245 | register "policies.passive" = "{ |
| 246 | [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000), |
| 247 | [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 60000), |
Sumeet Pawnikar | 597a0ea | 2021-01-04 14:40:24 +0530 | [diff] [blame] | 248 | [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 55, 15000), |
| 249 | [3] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 75, 15000) |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 250 | }" |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 251 | |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 252 | ## Critical Policy |
| 253 | register "policies.critical" = "{ |
| 254 | [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN), |
| 255 | [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN), |
Sumeet Pawnikar | 597a0ea | 2021-01-04 14:40:24 +0530 | [diff] [blame] | 256 | [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 80, SHUTDOWN), |
| 257 | [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 90, SHUTDOWN) |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 258 | }" |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 259 | |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 260 | ## Power Limits Control |
| 261 | register "controls.power_limits" = "{ |
| 262 | .pl1 = { |
| 263 | .min_power = 3000, |
| 264 | .max_power = 6000, |
| 265 | .time_window_min = 1 * MSECS_PER_SEC, |
| 266 | .time_window_max = 1 * MSECS_PER_SEC, |
| 267 | .granularity = 200, |
| 268 | }, |
| 269 | .pl2 = { |
Sumeet R Pawnikar | 207ffb0 | 2020-11-03 09:41:06 +0530 | [diff] [blame] | 270 | .min_power = 20000, |
Sumeet R Pawnikar | 1447c43 | 2020-10-01 20:02:52 +0530 | [diff] [blame] | 271 | .max_power = 20000, |
| 272 | .time_window_min = 1 * MSECS_PER_SEC, |
| 273 | .time_window_max = 1 * MSECS_PER_SEC, |
| 274 | .granularity = 1000, |
| 275 | } |
| 276 | }" |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 277 | |
| 278 | register "options.tsr[0].desc" = ""Memory"" |
| 279 | register "options.tsr[1].desc" = ""Ambient"" |
Sumeet Pawnikar | 597a0ea | 2021-01-04 14:40:24 +0530 | [diff] [blame] | 280 | register "options.tsr[2].desc" = ""Charger"" |
| 281 | |
| 282 | ## Charger Performance Control (Control, mA) |
| 283 | register "controls.charger_perf" = "{ |
| 284 | [0] = { 255, 3000 }, |
| 285 | [1] = { 24, 1500 }, |
| 286 | [2] = { 16, 1000 }, |
| 287 | [3] = { 8, 500 } |
| 288 | }" |
Tim Wawrzynczak | 752c471 | 2020-07-13 16:05:52 -0600 | [diff] [blame] | 289 | |
| 290 | device generic 0 on end |
| 291 | end |
| 292 | end # SA Thermal device |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 293 | device pci 05.0 off end # IPU |
| 294 | device pci 09.0 off end # Intel Trace Hub |
| 295 | device pci 12.6 off end # GSPI 2 |
Karthikeyan Ramasubramanian | 6f785b0 | 2020-03-09 22:39:25 -0600 | [diff] [blame] | 296 | device pci 14.0 on |
| 297 | chip drivers/usb/acpi |
| 298 | register "desc" = ""Root Hub"" |
| 299 | register "type" = "UPC_TYPE_HUB" |
| 300 | device usb 0.0 on |
| 301 | chip drivers/usb/acpi |
| 302 | register "desc" = ""Left Type-C Port"" |
| 303 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 304 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
| 305 | device usb 2.0 on end |
| 306 | end |
| 307 | chip drivers/usb/acpi |
| 308 | register "desc" = ""Right Type-C Port"" |
| 309 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 310 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 311 | device usb 2.1 on end |
| 312 | end |
| 313 | chip drivers/usb/acpi |
| 314 | register "desc" = ""Left Type-A Port"" |
| 315 | register "type" = "UPC_TYPE_A" |
| 316 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 317 | device usb 2.2 on end |
| 318 | end |
| 319 | chip drivers/usb/acpi |
| 320 | register "desc" = ""Right Type-A Port"" |
| 321 | register "type" = "UPC_TYPE_A" |
| 322 | register "group" = "ACPI_PLD_GROUP(2, 2)" |
| 323 | device usb 2.3 on end |
| 324 | end |
| 325 | chip drivers/usb/acpi |
Karthikeyan Ramasubramanian | f846d69 | 2020-06-17 16:30:53 -0600 | [diff] [blame] | 326 | device usb 2.4 off end |
Karthikeyan Ramasubramanian | 6f785b0 | 2020-03-09 22:39:25 -0600 | [diff] [blame] | 327 | end |
| 328 | chip drivers/usb/acpi |
Karthikeyan Ramasubramanian | f846d69 | 2020-06-17 16:30:53 -0600 | [diff] [blame] | 329 | device usb 2.5 off end |
| 330 | end |
| 331 | chip drivers/usb/acpi |
| 332 | device usb 2.6 off end |
| 333 | end |
| 334 | chip drivers/usb/acpi |
| 335 | register "desc" = ""Bluetooth"" |
Aamir Bohra | b0b3219 | 2020-03-12 21:37:25 +0530 | [diff] [blame] | 336 | register "type" = "UPC_TYPE_INTERNAL" |
| 337 | register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H19)" |
| 338 | device usb 2.7 on end |
| 339 | end |
| 340 | chip drivers/usb/acpi |
Karthikeyan Ramasubramanian | 6f785b0 | 2020-03-09 22:39:25 -0600 | [diff] [blame] | 341 | register "desc" = ""Left Type-C Port"" |
| 342 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 343 | register "group" = "ACPI_PLD_GROUP(1, 1)" |
| 344 | device usb 3.0 on end |
| 345 | end |
| 346 | chip drivers/usb/acpi |
| 347 | register "desc" = ""Right Type-C Port"" |
| 348 | register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" |
| 349 | register "group" = "ACPI_PLD_GROUP(2, 1)" |
| 350 | device usb 3.1 on end |
| 351 | end |
| 352 | chip drivers/usb/acpi |
| 353 | register "desc" = ""Left Type-A Port"" |
| 354 | register "type" = "UPC_TYPE_USB3_A" |
| 355 | register "group" = "ACPI_PLD_GROUP(1, 2)" |
| 356 | device usb 3.2 on end |
| 357 | end |
| 358 | chip drivers/usb/acpi |
| 359 | register "desc" = ""Right Type-A Port"" |
| 360 | register "type" = "UPC_TYPE_USB3_A" |
| 361 | register "group" = "ACPI_PLD_GROUP(2, 2)" |
| 362 | device usb 3.3 on end |
| 363 | end |
| 364 | end |
| 365 | end |
| 366 | end # USB xHCI |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 367 | device pci 14.1 off end # USB xDCI (OTG) |
| 368 | device pci 14.2 off end # PMC SRAM |
Furquan Shaikh | edac4ef | 2020-10-09 08:50:14 -0700 | [diff] [blame] | 369 | device pci 14.3 on |
| 370 | chip drivers/wifi/generic |
| 371 | register "wake" = "GPE0_PME_B0" |
| 372 | device generic 0 on end |
| 373 | end |
| 374 | end # CNVi wifi |
Aamir Bohra | 29c6169 | 2020-03-16 14:47:27 +0530 | [diff] [blame] | 375 | device pci 14.5 on end # SDCard |
Karthikeyan Ramasubramanian | 55c8702 | 2020-02-11 11:53:47 -0700 | [diff] [blame] | 376 | device pci 15.0 on end # I2C 0 |
| 377 | device pci 15.1 on end # I2C 1 |
| 378 | device pci 15.2 on end # I2C 2 |
| 379 | device pci 15.3 on end # I2C 3 |
Aamir Bohra | 74b1919 | 2020-05-28 10:00:16 +0530 | [diff] [blame] | 380 | device pci 16.0 on end # HECI 1 |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 381 | device pci 16.1 off end # HECI 2 |
| 382 | device pci 16.4 off end # HECI 3 |
| 383 | device pci 16.5 off end # HECI 4 |
| 384 | device pci 17.0 off end # SATA |
Karthikeyan Ramasubramanian | 55c8702 | 2020-02-11 11:53:47 -0700 | [diff] [blame] | 385 | device pci 19.0 on end # I2C 4 |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 386 | device pci 19.1 off end # I2C 5 |
Karthikeyan Ramasubramanian | 95ea799 | 2020-02-07 17:37:17 -0700 | [diff] [blame] | 387 | device pci 19.2 on end # UART 2 |
Karthikeyan Ramasubramanian | be6583a | 2020-02-12 12:07:51 -0700 | [diff] [blame] | 388 | device pci 1a.0 on end # eMMC |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 389 | device pci 1c.0 off end # PCI Express Root Port 1 |
| 390 | device pci 1c.1 off end # PCI Express Root Port 2 |
| 391 | device pci 1c.2 off end # PCI Express Root Port 3 |
Karthikeyan Ramasubramanian | f354c8c | 2020-02-28 17:00:14 -0700 | [diff] [blame] | 392 | device pci 1c.3 off end # PCI Express Root Port 4 |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 393 | device pci 1c.4 off end # PCI Express Root Port 5 |
| 394 | device pci 1c.5 off end # PCI Express Root Port 6 |
| 395 | device pci 1c.6 off end # PCI Express Root Port 7 |
Karthikeyan Ramasubramanian | f354c8c | 2020-02-28 17:00:14 -0700 | [diff] [blame] | 396 | # External PCIe port 4 is mapped to PCIe Root port 8 |
| 397 | device pci 1c.7 on end # PCI Express Root Port 8 - WLAN |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 398 | device pci 1e.0 off end # UART 0 |
| 399 | device pci 1e.1 off end # UART 1 |
Karthikeyan Ramasubramanian | 2a3cef2 | 2020-02-06 17:58:07 -0700 | [diff] [blame] | 400 | device pci 1e.2 on |
| 401 | chip drivers/spi/acpi |
| 402 | register "hid" = "ACPI_DT_NAMESPACE_HID" |
| 403 | register "compat_string" = ""google,cr50"" |
| 404 | register "irq" = "ACPI_IRQ_EDGE_LOW(GPP_B4_IRQ)" |
| 405 | device spi 0 on end |
| 406 | end |
| 407 | end # GSPI 0 |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 408 | device pci 1e.3 off end # GSPI 1 |
Karthikeyan Ramasubramanian | 441867d | 2020-02-06 15:42:43 -0700 | [diff] [blame] | 409 | device pci 1f.0 on |
| 410 | chip ec/google/chromeec |
| 411 | device pnp 0c09.0 on end |
| 412 | end |
| 413 | end # eSPI Interface |
Karthikeyan Ramasubramanian | 0985fba | 2020-05-04 13:36:23 -0600 | [diff] [blame] | 414 | device pci 1f.1 on end # P2SB |
Tim Wawrzynczak | c47422d | 2020-06-01 17:03:41 -0600 | [diff] [blame] | 415 | device pci 1f.2 hidden end # Power Management Controller |
Matt DeVillier | 35470e1 | 2023-01-17 14:09:46 -0600 | [diff] [blame] | 416 | device pci 1f.3 on |
| 417 | chip drivers/sof |
| 418 | register "spkr_tplg" = "rt1015" |
| 419 | register "jack_tplg" = "rt5682" |
| 420 | register "mic_tplg" = "_2ch_pdm0" |
| 421 | device generic 0 on |
| 422 | probe AUDIO_AMP RT1015_I2C |
| 423 | probe AUDIO_AMP RT1015P_AUTO |
| 424 | end |
| 425 | end |
| 426 | chip drivers/sof |
| 427 | register "spkr_tplg" = "max98360a" |
| 428 | register "jack_tplg" = "rt5682" |
| 429 | register "mic_tplg" = "_2ch_pdm0" |
| 430 | device generic 0 on |
| 431 | probe AUDIO_AMP MAX98360 |
| 432 | end |
| 433 | end |
| 434 | chip drivers/sof |
| 435 | register "spkr_tplg" = "max98357a" |
| 436 | register "jack_tplg" = "rt5682" |
| 437 | register "mic_tplg" = "_2ch_pdm0" |
| 438 | device generic 0 on |
| 439 | probe AUDIO_AMP UNPROVISIONED |
| 440 | end |
| 441 | end |
| 442 | end # Intel HDA/cAVS |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 443 | device pci 1f.4 off end # SMBus |
Karthikeyan Ramasubramanian | 0985fba | 2020-05-04 13:36:23 -0600 | [diff] [blame] | 444 | device pci 1f.5 on end # PCH SPI |
Karthikeyan Ramasubramanian | 118e975 | 2020-02-06 13:53:10 -0700 | [diff] [blame] | 445 | device pci 1f.7 off end # Intel Trace Hub |
| 446 | end |
Karthikeyan Ramasubramanian | 7bc90bc | 2019-12-16 14:50:42 -0700 | [diff] [blame] | 447 | end |