cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / dedede / variants / beadrix / overridetree.cb
blob7145ecf5ab60f3dfe01e88cc44cc56b9f534cc29
1 fw_config
2 field AUDIO_CODEC_SOURCE 41 43
3 option AUDIO_CODEC_UNPROVISIONED 0
4 option AUDIO_CODEC_ALC5682 1
5 option AUDIO_CODEC_ALC5682I_VS 2
6 end
7 end
9 chip soc/intel/jasperlake
11 # USB Port Configuration
12 register "usb2_ports[2]" = "USB2_PORT_MID(OC0)" # USB3 Type A port
13 register "usb2_ports[4]" = "USB2_PORT_EMPTY" # Disable unused USB2P_5 and USB2N_5
14 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
15 register "usb2_ports[6]" = "USB2_PORT_EMPTY" # Disable unused USB2P_7 and USB2N_7
17 # Intel Common SoC Config
18 #+-------------------+---------------------------+
19 #| Field | Value |
20 #+-------------------+---------------------------+
21 #| GSPI0 | cr50 TPM. Early init is |
22 #| | required to set up a BAR |
23 #| | for TPM communication |
24 #| | before memory is up |
25 #| I2C0 | Trackpad |
26 #| I2C1 | |
27 #| I2C2 | Touchscreen |
28 #| I2C3 | |
29 #| I2C4 | Audio |
30 #| I2C5 | P-sensor |
31 #+-------------------+---------------------------+
32 register "common_soc_config" = "{
33 .gspi[0] = {
34 .speed_mhz = 1,
35 .early_init = 1,
37 .i2c[0] = {
38 .speed = I2C_SPEED_FAST,
40 .i2c[1] = {
41 .speed = I2C_SPEED_FAST,
43 .i2c[2] = {
44 .speed = I2C_SPEED_FAST,
46 .i2c[3] = {
47 .speed = I2C_SPEED_FAST,
49 .i2c[4] = {
50 .speed = I2C_SPEED_FAST,
52 .i2c[5] = {
53 .speed = I2C_SPEED_FAST,
57 register "SerialIoI2cMode" = "{
58 [PchSerialIoIndexI2C0] = PchSerialIoPci,
59 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
60 [PchSerialIoIndexI2C2] = PchSerialIoPci,
61 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
62 [PchSerialIoIndexI2C4] = PchSerialIoPci,
63 [PchSerialIoIndexI2C5] = PchSerialIoPci,
66 device domain 0 on
67 device pci 04.0 on
68 # Default DPTF Policy for all Dedede boards if not overridden
69 chip drivers/intel/dptf
70 register "options.tsr[0].desc" = ""Memory""
71 register "options.tsr[1].desc" = ""CPU""
72 register "policies.passive" = "{
73 [0] = DPTF_PASSIVE(CPU, CPU, 85, 4000),
74 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 75, 4000),
75 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 75, 4000),
77 register "policies.critical" = "{
78 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
79 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 95, SHUTDOWN),
80 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 95, SHUTDOWN),
82 register "controls.power_limits" = "{
83 .pl1 = {
84 .min_power = 4000,
85 .max_power = 6000,
86 .time_window_min = 1 * MSECS_PER_SEC,
87 .time_window_max = 1 * MSECS_PER_SEC,
88 .granularity = 250,
90 .pl2 = {
91 .min_power = 20000,
92 .max_power = 20000,
93 .time_window_min = 1 * MSECS_PER_SEC,
94 .time_window_max = 1 * MSECS_PER_SEC,
95 .granularity = 1000,
98 register "controls.charger_perf" = "{
99 [0] = { 55, 3500 },
100 [1] = { 47, 3000 },
101 [2] = { 39, 2500 },
102 [3] = { 31, 2000 },
104 device generic 0 on end
107 device pci 05.0 off end # IPU - MIPI Camera
108 device pci 14.0 on
109 chip drivers/usb/acpi
110 device usb 0.0 on
111 chip drivers/usb/acpi
112 register "desc" = ""UFCamera""
113 register "type" = "UPC_TYPE_INTERNAL"
114 device usb 2.5 on end
116 chip drivers/usb/acpi
117 register "desc" = ""LTE""
118 register "type" = "UPC_TYPE_INTERNAL"
119 register "has_power_resource" = "1"
120 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
121 register "reset_off_delay_ms" = "20"
122 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
123 register "enable_delay_ms" = "20"
124 device usb 3.3 on
125 probe DB_PORTS DB_PORTS_1C_LTE
130 end # USB xHCI
131 device pci 15.0 on
132 chip drivers/i2c/hid
133 register "generic.hid" = ""PIXA2635""
134 register "generic.desc" = ""PIXA Touchpad""
135 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
136 register "generic.wake" = "GPE0_DW0_03"
137 register "generic.detect" = "1"
138 register "hid_desc_reg_offset" = "0x01"
139 device i2c 15 on end
141 end # I2C 0
142 device pci 19.0 on
143 chip drivers/i2c/generic
144 register "hid" = ""10EC5682""
145 register "name" = ""RT58""
146 register "desc" = ""Realtek RT5682""
147 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
148 register "property_count" = "1"
149 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
150 register "property_list[0].name" = ""realtek,jd-src""
151 register "property_list[0].integer" = "1"
152 device i2c 1a on
153 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
154 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
157 chip drivers/i2c/generic
158 register "hid" = ""RTL5682""
159 register "name" = ""RT58""
160 register "desc" = ""Realtek RT5682""
161 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
162 register "property_count" = "1"
163 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
164 register "property_list[0].name" = ""realtek,jd-src""
165 register "property_list[0].integer" = "1"
166 device i2c 1a on
167 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
170 end # I2C 4
171 device pci 19.1 on
172 chip drivers/i2c/sx9324
173 register "desc" = ""SAR Proximity Sensor""
174 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_E11_IRQ)"
175 register "uid" = "0"
176 register "reg_gnrl_ctrl0" = "0x0a"
177 register "reg_gnrl_ctrl1" = "0x22"
178 register "reg_afe_ctrl0" = "0x20"
179 register "reg_afe_ctrl3" = "0x01"
180 register "reg_afe_ctrl4" = "0x47"
181 register "reg_afe_ctrl6" = "0x00"
182 register "reg_afe_ctrl7" = "0x47"
183 register "reg_afe_ctrl8" = "0x12"
184 register "reg_afe_ctrl9" = "0x0f"
185 register "reg_afe_ph0" = "0x37"
186 register "reg_afe_ph1" = "0x29"
187 register "reg_afe_ph2" = "0x1f"
188 register "reg_afe_ph3" = "0x3d"
189 register "reg_prox_ctrl0" = "0x0b"
190 register "reg_prox_ctrl1" = "0x0b"
191 register "reg_prox_ctrl2" = "0x20"
192 register "reg_prox_ctrl3" = "0x20"
193 register "reg_prox_ctrl4" = "0x0c"
194 register "reg_prox_ctrl5" = "0x00"
195 register "reg_prox_ctrl6" = "0x2d"
196 register "reg_prox_ctrl7" = "0xc0"
197 register "reg_adv_ctrl0" = "0x00"
198 register "reg_adv_ctrl1" = "0x00"
199 register "reg_adv_ctrl2" = "0x00"
200 register "reg_adv_ctrl3" = "0x00"
201 register "reg_adv_ctrl4" = "0x00"
202 register "reg_adv_ctrl5" = "0x05"
203 register "reg_adv_ctrl6" = "0x00"
204 register "reg_adv_ctrl7" = "0x00"
205 register "reg_adv_ctrl8" = "0x00"
206 register "reg_adv_ctrl9" = "0x00"
207 register "reg_adv_ctrl10" = "0x00"
208 register "reg_adv_ctrl11" = "0x00"
209 register "reg_adv_ctrl12" = "0x00"
210 register "reg_adv_ctrl13" = "0x00"
211 register "reg_adv_ctrl14" = "0x80"
212 register "reg_adv_ctrl15" = "0x0c"
213 register "reg_adv_ctrl16" = "0x04"
214 register "reg_adv_ctrl17" = "0x70"
215 register "reg_adv_ctrl18" = "0x40"
216 register "reg_adv_ctrl19" = "0x00"
217 register "reg_adv_ctrl20" = "0x00"
218 register "reg_irq_msk" = "0x6f"
219 register "reg_irq_cfg0" = "0x00"
220 register "reg_irq_cfg1" = "0x80"
221 register "reg_irq_cfg2" = "0x00"
222 device i2c 28 on
223 probe DB_PORTS DB_PORTS_1C_LTE
226 end # I2C 5
227 device pci 1f.3 on
228 chip drivers/generic/max98357a
229 register "hid" = ""MX98360A""
230 register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
231 device generic 0 on end
233 end # Intel HDA