soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / dedede / variants / pirika / overridetree.cb
blobb305f26f67772eb8d76704a60ad8276b830f2c88
1 fw_config
2 field WIFI_SAR_ID 21 22
3 option WIFI_SAR_ID_0 0
4 option WIFI_SAR_ID_1 1
5 end
6 field AUDIO_CODEC_SOURCE 41 43
7 option AUDIO_CODEC_UNPROVISIONED 0
8 option AUDIO_CODEC_ALC5682 1
9 option AUDIO_CODEC_ALC5682I_VS 2
10 option AUDIO_CODEC_ALC5650 3
11 end
12 end
13 chip soc/intel/jasperlake
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 #| I2C2 | Touchscreen |
25 #| I2C4 | Audio |
26 #+-------------------+---------------------------+
27 register "common_soc_config" = "{
28 .gspi[0] = {
29 .speed_mhz = 1,
30 .early_init = 1,
32 .i2c[0] = {
33 .speed = I2C_SPEED_FAST,
34 .rise_time_ns = 260,
35 .fall_time_ns = 50,
37 .i2c[2] = {
38 .speed = I2C_SPEED_FAST,
39 .rise_time_ns = 175,
40 .fall_time_ns = 20,
42 .i2c[4] = {
43 .speed = I2C_SPEED_FAST,
44 .rise_time_ns = 260,
45 .fall_time_ns = 50,
49 register "SerialIoI2cMode" = "{
50 [PchSerialIoIndexI2C0] = PchSerialIoPci,
51 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
52 [PchSerialIoIndexI2C2] = PchSerialIoPci,
53 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
54 [PchSerialIoIndexI2C4] = PchSerialIoPci,
57 # USB Port Configuration
58 register "usb2_ports[0]" = "{
59 .enable = 1,
60 .ocpin = OC_SKIP,
61 .tx_bias = USB2_BIAS_0MV,
62 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
63 .pre_emp_bias = USB2_BIAS_28P15MV,
64 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
65 }" # Type-C Port C0
66 register "usb2_ports[2]" = "{
67 .enable = 1,
68 .ocpin = OC_SKIP,
69 .tx_bias = USB2_BIAS_0MV,
70 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
71 .pre_emp_bias = USB2_BIAS_28P15MV,
72 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
73 }" # Type-A Port A0
74 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
75 register "usb2_ports[7]" = "{
76 .enable = 1,
77 .ocpin = OC_SKIP,
78 .pre_emp_bias = USB2_BIAS_11P25MV,
79 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
80 }" # Integrated Bluetooth
82 register "tcc_offset" = "8" # TCC of 97C
84 device domain 0 on
85 device pci 04.0 on
86 # Default DPTF Policy for all Dedede boards if not overridden
87 chip drivers/intel/dptf
88 ## Passive Policy
89 register "policies.passive" = "{
90 [0] = DPTF_PASSIVE(CPU, CPU, 72, 60000),
91 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 50, 60000)
94 ## Critical Policy
95 register "policies.critical" = "{
96 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
97 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
98 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 80, SHUTDOWN),
99 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 80, SHUTDOWN)
102 ## Power Limits Control
103 register "controls.power_limits" = "{
104 .pl1 = {
105 .min_power = 5500,
106 .max_power = 6000,
107 .time_window_min = 1 * MSECS_PER_SEC,
108 .time_window_max = 1 * MSECS_PER_SEC,
109 .granularity = 200,
111 .pl2 = {
112 .min_power = 20000,
113 .max_power = 20000,
114 .time_window_min = 1 * MSECS_PER_SEC,
115 .time_window_max = 1 * MSECS_PER_SEC,
116 .granularity = 1000,
120 register "options.tsr[0].desc" = ""Charger""
121 register "options.tsr[1].desc" = ""Vcore""
122 register "options.tsr[2].desc" = ""Ambient""
124 device generic 0 on end
126 end # SA Thermal device
127 device pci 14.0 on
128 chip drivers/usb/acpi
129 device usb 0.0 on
130 chip drivers/usb/acpi
131 register "desc" = ""Camera""
132 register "type" = "UPC_TYPE_INTERNAL"
133 device usb 2.5 on end
137 end # USB xHCI
139 device pci 15.0 on
140 chip drivers/i2c/generic
141 register "hid" = ""ELAN0000""
142 register "desc" = ""ELAN Touchpad""
143 register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
144 register "wake" = "GPE0_DW0_03"
145 register "detect" = "1"
146 device i2c 15 on end
148 chip drivers/i2c/hid
149 register "generic.hid" = ""SYNA0000""
150 register "generic.cid" = ""ACPI0C50""
151 register "generic.desc" = ""Synaptics Touchpad""
152 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
153 register "generic.wake" = "GPE0_DW0_03"
154 register "generic.detect" = "1"
155 register "hid_desc_reg_offset" = "0x20"
156 device i2c 0x2c on end
159 device pci 15.2 on
160 chip drivers/i2c/generic
161 register "hid" = ""ELAN0001""
162 register "desc" = ""ELAN Touchscreen""
163 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
164 register "detect" = "1"
165 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D5)"
166 register "reset_delay_ms" = "20"
167 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
168 register "enable_delay_ms" = "1"
169 register "has_power_resource" = "1"
170 device i2c 10 on end
172 end # I2C 2
173 device pci 19.0 on
174 chip drivers/i2c/generic
175 register "hid" = ""10EC5682""
176 register "name" = ""RT58""
177 register "desc" = ""Realtek RT5682""
178 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
179 register "property_count" = "1"
180 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
181 register "property_list[0].name" = ""realtek,jd-src""
182 register "property_list[0].integer" = "1"
183 device i2c 1a on
184 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
185 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
188 chip drivers/i2c/generic
189 register "hid" = ""RTL5682""
190 register "name" = ""RT58""
191 register "desc" = ""Realtek RT5682""
192 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
193 register "property_count" = "1"
194 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
195 register "property_list[0].name" = ""realtek,jd-src""
196 register "property_list[0].integer" = "1"
197 device i2c 1a on
198 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
201 chip drivers/i2c/generic
202 register "hid" = ""10EC5650""
203 register "name" = ""RT58""
204 register "desc" = ""Realtek RT5650""
205 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
206 register "property_count" = "1"
207 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
208 register "property_list[0].name" = ""realtek,jd-mode""
209 register "property_list[0].integer" = "2"
210 device i2c 1a on
211 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5650
214 chip drivers/i2c/generic
215 register "hid" = ""10EC1015""
216 register "desc" = ""Realtek SPK AMP L""
217 register "uid" = "0"
218 device i2c 28 on
219 probe AUDIO_AMP RT1015_I2C
220 probe AUDIO_AMP UNPROVISIONED
223 chip drivers/i2c/generic
224 register "hid" = ""10EC1015""
225 register "desc" = ""Realtek SPK AMP R""
226 register "uid" = "1"
227 device i2c 29 on
228 probe AUDIO_AMP RT1015_I2C
229 probe AUDIO_AMP UNPROVISIONED
233 device pci 1f.3 on
234 chip drivers/generic/alc1015
235 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
236 device generic 0 on
237 probe AUDIO_AMP RT1015P_AUTO
240 end # Intel HDA