soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / dedede / variants / awasuki / overridetree.cb
blobe0abe19443d453ce6b726443b4225f397c5996b9
1 chip soc/intel/jasperlake
2 # PCIe RP LTR configuration
3 register "PcieRpLtrEnable[7]" = "1"
5 # USB Port Configuration
6 register "usb2_ports[1]" = "USB2_PORT_EMPTY"
7 register "usb2_ports[3]" = "USB2_PORT_EMPTY"
8 register "usb2_ports[4]" = "USB2_PORT_EMPTY"
9 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # User Facing Camera
11 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # USB3/2 Type-C Port C0
12 register "usb3_ports[1]" = "USB3_PORT_EMPTY"
13 register "usb3_ports[3]" = "USB3_PORT_EMPTY"
15 # Intel Common SoC Config
16 #+-------------------+---------------------------+
17 #| Field | Value |
18 #+-------------------+---------------------------+
19 #| GSPI0 | cr50 TPM. Early init is |
20 #| | required to set up a BAR |
21 #| | for TPM communication |
22 #| | before memory is up |
23 #| I2C0 | Trackpad |
24 #| I2C1 | Disable |
25 #| I2C2 | Touchscreen |
26 #| I2C3 | Disable |
27 #| I2C4 | Audio |
28 #+-------------------+---------------------------+
29 register "common_soc_config" = "{
30 .gspi[0] = {
31 .speed_mhz = 1,
32 .early_init = 1,
34 .i2c[0] = {
35 .speed = I2C_SPEED_FAST,
36 .speed_config[0] = {
37 .speed = I2C_SPEED_FAST,
38 .scl_lcnt = 178,
39 .scl_hcnt = 92,
40 .sda_hold = 40,
43 .i2c[2] = {
44 .speed = I2C_SPEED_FAST,
45 .rise_time_ns = 86,
46 .fall_time_ns = 5,
48 .i2c[4] = {
49 .speed = I2C_SPEED_FAST,
50 .rise_time_ns = 69,
51 .fall_time_ns = 3,
55 # SerialIO device mode selection
56 register "SerialIoI2cMode" = "{
57 [PchSerialIoIndexI2C0] = PchSerialIoPci,
58 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
59 [PchSerialIoIndexI2C2] = PchSerialIoPci,
60 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
61 [PchSerialIoIndexI2C4] = PchSerialIoPci,
62 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
65 # Power limit config
66 register "power_limits_config[JSL_N4500_6W_CORE]" = "{
67 .tdp_pl1_override = 5,
68 .tdp_pl2_override = 15,
71 register "power_limits_config[JSL_N6000_6W_CORE]" = "{
72 .tdp_pl1_override = 5,
73 .tdp_pl2_override = 15,
76 register "power_limits_config[JSL_N5100_6W_CORE]" = "{
77 .tdp_pl1_override = 5,
78 .tdp_pl2_override = 15,
81 # TCC activation offset
82 register "tcc_offset" = "10" # TCC of 95C
84 # Set xHCI LFPS period sampling off time
85 register "xhci_lfps_sampling_offtime_ms" = "0"
87 # Disable SD card
88 register "sdcard_cd_gpio" = "0"
89 register "SdCardPowerEnableActiveHigh" = "0"
91 device domain 0 on
92 device pci 04.0 on
93 chip drivers/intel/dptf
94 ## sensor information
95 register "options.tsr[0].desc" = ""Ambient""
96 register "options.tsr[1].desc" = ""Charger""
97 register "options.tsr[2].desc" = ""AUX""
98 register "options.tsr[3].desc" = ""USB""
100 ## Passive Policy
101 register "policies.passive" = "{
102 [0] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 50, 5000),
103 [1] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_1, 68, 5000),
104 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_2, 68, 5000),
105 [3] = DPTF_PASSIVE(CPU, TEMP_SENSOR_3, 68, 5000),
108 ## Critical Policy
109 register "policies.critical" = "{
110 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
111 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 80, SHUTDOWN),
112 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 90, SHUTDOWN),
113 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 90, SHUTDOWN),
114 [4] = DPTF_CRITICAL(TEMP_SENSOR_3, 90, SHUTDOWN),
117 register "controls.power_limits.pl1" = "{
118 .min_power = 5000,
119 .max_power = 9000,
120 .time_window_min = 28 * MSECS_PER_SEC,
121 .time_window_max = 28 * MSECS_PER_SEC,
122 .granularity = 125,
125 register "controls.power_limits.pl2" = "{
126 .min_power = 15000,
127 .max_power = 15000,
128 .time_window_min = 28 * MSECS_PER_SEC,
129 .time_window_max = 32 * MSECS_PER_SEC,
130 .granularity = 1000,
133 ## Charger Performance Control (Control, mA)
134 register "controls.charger_perf" = "{
135 [0] = { 255, 3000 },
136 [1] = { 32, 2000 },
137 [2] = { 16, 1000 },
138 [3] = { 8, 500 }
140 device generic 0 on end
142 end # SA Thermal device
143 device pci 14.0 on
144 chip drivers/usb/acpi
145 device usb 0.0 on
146 chip drivers/usb/acpi
147 device usb 2.1 off end
149 chip drivers/usb/acpi
150 device usb 2.3 off end
152 chip drivers/usb/acpi
153 device usb 2.4 off end
155 chip drivers/usb/acpi
156 register "desc" = ""User Facing Camera""
157 register "type" = "UPC_TYPE_INTERNAL"
158 register "has_power_resource" = "1"
159 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D15)"
160 register "enable_delay_ms" = "20"
161 device usb 2.5 on end
163 chip drivers/usb/acpi
164 device usb 2.6 off end
166 chip drivers/usb/acpi
167 device usb 3.1 off end
169 chip drivers/usb/acpi
170 device usb 3.3 off end
174 end # USB xHCI
175 device pci 14.3 on
176 chip drivers/wifi/generic
177 register "wake" = "GPE0_PME_B0"
178 register "enable_cnvi_ddr_rfim" = "true"
179 register "add_acpi_dma_property" = "true"
180 device generic 0 on end
182 end # CNVi wifi
183 device pci 15.0 on
184 chip drivers/i2c/hid
185 register "generic.hid" = ""PNP0C50""
186 register "generic.desc" = ""PIXART Touchpad""
187 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
188 register "generic.wake" = "GPE0_DW0_03"
189 register "generic.detect" = "1"
190 register "hid_desc_reg_offset" = "0x01"
191 device i2c 15 on end
193 end # I2C 0
194 device pci 15.1 off end # I2C 1
195 device pci 15.2 on
196 probe TOUCHSCREEN TOUCHSCREEN_PRESENT
197 chip drivers/i2c/generic
198 register "hid" = ""ELAN0001""
199 register "desc" = ""ELAN Touchscreen""
200 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
201 register "detect" = "1"
202 register "reset_gpio" =
203 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
204 register "reset_delay_ms" = "25"
205 register "reset_off_delay_ms" = "8"
206 register "stop_gpio" =
207 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
208 register "stop_off_delay_ms" = "2"
209 register "enable_gpio" =
210 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
211 register "enable_delay_ms" = "7"
212 register "has_power_resource" = "1"
213 device i2c 10 on end
215 end # I2C 2
216 device pci 15.3 off end # I2C 3
217 device pci 19.0 on
218 chip drivers/i2c/rt5645
219 register "hid" = ""10EC5650""
220 register "name" = ""RT58""
221 register "desc" = ""Realtek RT5650""
222 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
223 register "cbj_sleeve" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
224 register "jd_mode" = "2"
225 device i2c 1a on end
227 end # I2C 4
228 device pci 1c.7 on
229 chip drivers/wifi/generic
230 register "wake" = "GPE0_DW2_03"
231 device pci 00.0 on end
233 end # PCI Express Root Port 8 - WLAN
234 device pci 1f.3 on
235 chip drivers/sof
236 register "spkr_tplg" = "rt5650_sp"
237 register "jack_tplg" = "rt5650_hp"
238 register "mic_tplg" = "_2ch_pdm0"
239 device generic 0 on end
241 end # Intel HDA/cAVS