soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / dedede / variants / metaknight / overridetree.cb
blob3337f6aec6da2d744fa854e276fd8f48edd57fab
1 fw_config
2 field AUDIO_CODEC_SOURCE 49 51
3 option AUDIO_CODEC_RT5682 0
4 option AUDIO_CODEC_ALC5682I_VS 1
5 end
6 end
8 chip soc/intel/jasperlake
10 # USB Port Configuration
11 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # User Facing Camera
12 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # World Facing Camera
14 # Intel Common SoC Config
15 #+-------------------+---------------------------+
16 #| Field | Value |
17 #+-------------------+---------------------------+
18 #| GSPI0 | cr50 TPM. Early init is |
19 #| | required to set up a BAR |
20 #| | for TPM communication |
21 #| | before memory is up |
22 #| I2C0 | Trackpad |
23 #| I2C1 | Digitizer |
24 #| I2C2 | Touchscreen |
25 #| I2C3 | TBD |
26 #| I2C4 | Audio |
27 #+-------------------+---------------------------+
28 register "common_soc_config" = "{
29 .gspi[0] = {
30 .speed_mhz = 1,
31 .early_init = 1,
33 .i2c[0] = {
34 .speed = I2C_SPEED_FAST,
35 .speed_config[0] = {
36 .speed = I2C_SPEED_FAST,
37 .scl_lcnt = 190,
38 .scl_hcnt = 100,
39 .sda_hold = 40,
42 .i2c[1] = {
43 .speed = I2C_SPEED_FAST,
45 .i2c[2] = {
46 .speed = I2C_SPEED_FAST,
47 .speed_config[0] = {
48 .speed = I2C_SPEED_FAST,
49 .scl_lcnt = 190,
50 .scl_hcnt = 100,
51 .sda_hold = 40,
54 .i2c[4] = {
55 .speed = I2C_SPEED_FAST,
56 .speed_config[0] = {
57 .speed = I2C_SPEED_FAST,
58 .scl_lcnt = 190,
59 .scl_hcnt = 100,
60 .sda_hold = 40,
65 register "SerialIoI2cMode" = "{
66 [PchSerialIoIndexI2C0] = PchSerialIoPci,
67 [PchSerialIoIndexI2C1] = PchSerialIoPci,
68 [PchSerialIoIndexI2C2] = PchSerialIoPci,
69 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
70 [PchSerialIoIndexI2C4] = PchSerialIoPci,
71 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
74 # Power limit config
75 register "power_limits_config[JSL_N4500_6W_CORE]" = "{
76 .tdp_pl1_override = 6,
77 .tdp_pl2_override = 12,
80 register "power_limits_config[JSL_N6000_6W_CORE]" = "{
81 .tdp_pl1_override = 6,
82 .tdp_pl2_override = 12,
85 register "power_limits_config[JSL_N5100_6W_CORE]" = "{
86 .tdp_pl1_override = 6,
87 .tdp_pl2_override = 12,
90 device domain 0 on
91 device pci 04.0 on
92 chip drivers/intel/dptf
93 register "options.tsr[0].desc" = ""Memory""
94 register "options.tsr[1].desc" = ""CPU""
96 register "policies.passive" = "{
97 [0] = DPTF_PASSIVE(CPU, CPU, 90, 5000),
98 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 6000),
99 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 55, 5000)}"
100 register "policies.critical" = "{
101 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
102 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
103 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 80, SHUTDOWN)}"
104 register "controls.power_limits.pl1" = "{
105 .min_power = 3000,
106 .max_power = 6000,
107 .time_window_min = 1 * MSECS_PER_SEC,
108 .time_window_max = 1 * MSECS_PER_SEC,
109 .granularity = 125,}"
110 register "controls.power_limits.pl2" = "{
111 .min_power = 12000,
112 .max_power = 12000,
113 .time_window_min = 1 * MSECS_PER_SEC,
114 .time_window_max = 1 * MSECS_PER_SEC,
115 .granularity = 1000,}"
117 ## Charger Performance Control (Control, mA)
118 register "controls.charger_perf[0]" = "{ 255, 3000 }"
119 register "controls.charger_perf[1]" = "{ 24, 1500 }"
120 register "controls.charger_perf[2]" = "{ 16, 1000 }"
121 register "controls.charger_perf[3]" = "{ 8, 500 }"
123 device generic 0 on end
125 end # SA Thermal device
126 device pci 14.0 on
127 chip drivers/usb/acpi
128 device usb 0.0 on
129 chip drivers/usb/acpi
130 register "desc" = ""LTE""
131 register "type" = "UPC_TYPE_INTERNAL"
132 register "group" = "ACPI_PLD_GROUP(2, 2)"
133 register "has_power_resource" = "1"
134 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
135 register "reset_off_delay_ms" = "20"
136 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
137 register "enable_delay_ms" = "20"
138 device usb 2.3 on
139 probe DB_PORTS DB_PORTS_LTE_HDMI
142 chip drivers/usb/acpi
143 register "desc" = ""Right Type-A Port""
144 register "type" = "UPC_TYPE_A"
145 register "group" = "ACPI_PLD_GROUP(2, 2)"
146 device usb 2.3 on
147 probe DB_PORTS DB_PORTS_1A_HDMI
150 chip drivers/usb/acpi
151 register "desc" = ""User Facing Camera""
152 register "type" = "UPC_TYPE_INTERNAL"
153 device usb 2.5 on end
155 chip drivers/usb/acpi
156 register "desc" = ""World Facing Camera""
157 register "type" = "UPC_TYPE_INTERNAL"
158 device usb 2.6 on end
160 chip drivers/usb/acpi
161 register "desc" = ""LTE""
162 register "type" = "UPC_TYPE_INTERNAL"
163 register "group" = "ACPI_PLD_GROUP(2, 2)"
164 device usb 3.3 on
165 probe DB_PORTS DB_PORTS_LTE_HDMI
168 chip drivers/usb/acpi
169 register "desc" = ""Right Type-A Port""
170 register "type" = "UPC_TYPE_USB3_A"
171 register "group" = "ACPI_PLD_GROUP(2, 2)"
172 device usb 3.3 on
173 probe DB_PORTS DB_PORTS_1A_HDMI
178 end # USB xHCI
179 device pci 15.0 on
180 chip drivers/i2c/hid
181 register "generic.hid" = ""SYNA0000""
182 register "generic.cid" = ""ACPI0C50""
183 register "generic.desc" = ""Synaptics Touchpad""
184 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
185 register "generic.wake" = "GPE0_DW0_03"
186 register "generic.detect" = "1"
187 register "hid_desc_reg_offset" = "0x20"
188 device i2c 0x2c on end
190 chip drivers/i2c/generic
191 register "hid" = ""ELAN0000""
192 register "desc" = ""ELAN Touchpad""
193 register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
194 register "wake" = "GPE0_DW0_03"
195 register "detect" = "1"
196 device i2c 15 on end
198 end # I2C 0
199 device pci 15.2 on
200 chip drivers/generic/gpio_keys
201 register "name" = ""PENH""
202 register "gpio" = "ACPI_GPIO_INPUT_ACTIVE_LOW(GPP_C12)"
203 register "key.wakeup_route" = "WAKEUP_ROUTE_GPIO_IRQ"
204 register "key.wakeup_event_action" = "EV_ACT_DEASSERTED"
205 register "key.dev_name" = ""EJCT""
206 register "key.linux_code" = "SW_PEN_INSERTED"
207 register "key.linux_input_type" = "EV_SW"
208 register "key.label" = ""pen_eject""
209 device generic 0 on end
211 chip drivers/i2c/hid
212 register "generic.hid" = ""GDIX0000""
213 register "generic.desc" = ""Goodix Touchscreen""
214 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
215 register "generic.detect" = "1"
216 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
217 register "generic.reset_delay_ms" = "180"
218 register "generic.reset_off_delay_ms" = "2"
219 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
220 register "generic.stop_delay_ms" = "20"
221 register "generic.stop_off_delay_ms" = "2"
222 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
223 register "generic.enable_delay_ms" = "12"
224 register "generic.has_power_resource" = "1"
225 register "hid_desc_reg_offset" = "0x01"
226 device i2c 0x5d on end
228 chip drivers/i2c/hid
229 register "generic.hid" = ""ELAN6915""
230 register "generic.desc" = ""ELAN Touchscreen""
231 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
232 register "generic.detect" = "1"
233 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
234 register "generic.reset_delay_ms" = "20"
235 register "generic.reset_off_delay_ms" = "2"
236 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A11)"
237 register "generic.stop_delay_ms" = "280"
238 register "generic.stop_off_delay_ms" = "2"
239 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
240 register "generic.enable_delay_ms" = "1"
241 register "generic.has_power_resource" = "1"
242 register "hid_desc_reg_offset" = "0x01"
243 device i2c 15 on end
245 end # I2C 2
246 device pci 15.3 off end # I2C 3
247 device pci 19.0 on
248 chip drivers/i2c/generic
249 register "hid" = ""10EC5682""
250 register "name" = ""RT58""
251 register "desc" = ""Realtek RT5682""
252 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
253 register "property_count" = "1"
254 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
255 register "property_list[0].name" = ""realtek,jd-src""
256 register "property_list[0].integer" = "1"
257 device i2c 1a on
258 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_RT5682
261 chip drivers/i2c/generic
262 register "hid" = ""RTL5682""
263 register "name" = ""RT58""
264 register "desc" = ""Realtek RT5682""
265 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
266 register "property_count" = "1"
267 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
268 register "property_list[0].name" = ""realtek,jd-src""
269 register "property_list[0].integer" = "1"
270 device i2c 1a on
271 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
274 chip drivers/i2c/generic
275 register "hid" = ""10EC1015""
276 register "desc" = ""Realtek SPK AMP L""
277 register "uid" = "0"
278 device i2c 28 on
279 probe AUDIO_AMP UNPROVISIONED
280 probe AUDIO_AMP RT1015_I2C
283 chip drivers/i2c/generic
284 register "hid" = ""10EC1015""
285 register "desc" = ""Realtek SPK AMP R""
286 register "uid" = "1"
287 device i2c 29 on
288 probe AUDIO_AMP UNPROVISIONED
289 probe AUDIO_AMP RT1015_I2C
293 device pci 1f.3 on
294 chip drivers/generic/alc1015
295 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
296 device generic 0 on
297 probe AUDIO_AMP RT1015P_AUTO
300 end # Intel HDA