cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / dedede / variants / driblee / overridetree.cb
blob3c9c92c98e81fba40d70edf6d3eee2fa82ebc243
1 chip soc/intel/jasperlake
3 # USB Port Configuration
4 register "usb2_ports[1]" = "USB2_PORT_EMPTY" # None
5 register "usb2_ports[3]" = "USB2_PORT_EMPTY" # None
6 register "usb2_ports[4]" = "USB2_PORT_EMPTY" # None
7 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera (UFC)
8 register "usb2_ports[6]" = "USB2_PORT_EMPTY" # None
9 register "usb3_ports[1]" = "USB3_PORT_EMPTY" # None
10 register "usb3_ports[3]" = "USB3_PORT_EMPTY" # None
12 register "SerialIoI2cMode" = "{
13 [PchSerialIoIndexI2C0] = PchSerialIoPci,
14 [PchSerialIoIndexI2C1] = PchSerialIoDisabled,
15 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
16 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
17 [PchSerialIoIndexI2C4] = PchSerialIoPci,
18 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
21 # Intel Common SoC Config
22 #+-------------------+---------------------------+
23 #| Field | Value |
24 #+-------------------+---------------------------+
25 #| I2C0 | Trackpad |
26 #| I2C1 | |
27 #| I2C2 | |
28 #| I2C3 | |
29 #| I2C4 | Audio |
30 #+-------------------+---------------------------+
31 register "common_soc_config" = "{
32 .i2c[0] = {
33 .speed = I2C_SPEED_FAST,
35 .i2c[4] = {
36 .speed = I2C_SPEED_FAST,
40 register "SerialIoGSpiMode[PchSerialIoIndexGSPI0]" = "PchSerialIoDisabled" # Disable GSPI0
41 register "SerialIoGSpiCsMode[PchSerialIoIndexGSPI0]" = "0"
43 device domain 0 on
44 device pci 04.0 on
45 chip drivers/intel/dptf
46 ## Passive Policy
47 register "policies.passive" = "{
48 [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000),
49 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 80, 60000),
50 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 55, 15000)
53 ## Critical Policy
54 register "policies.critical" = "{
55 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
56 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
57 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 80, SHUTDOWN)
60 ## Power Limits Control
61 register "controls.power_limits" = "{
62 .pl1 = {
63 .min_power = 3000,
64 .max_power = 6000,
65 .time_window_min = 1 * MSECS_PER_SEC,
66 .time_window_max = 1 * MSECS_PER_SEC,
67 .granularity = 200,
69 .pl2 = {
70 .min_power = 20000,
71 .max_power = 20000,
72 .time_window_min = 1 * MSECS_PER_SEC,
73 .time_window_max = 1 * MSECS_PER_SEC,
74 .granularity = 1000,
77 device generic 0 on end
78 end
79 end # SA Thermal device
80 device pci 14.0 on
81 chip drivers/usb/acpi
82 device usb 0.0 on
83 chip drivers/usb/acpi
84 device usb 2.1 off end
85 end
86 chip drivers/usb/acpi
87 device usb 2.3 off end
88 end
89 chip drivers/usb/acpi
90 register "desc" = ""Camera (UFC)""
91 register "type" = "UPC_TYPE_INTERNAL"
92 device usb 2.5 on end
93 end
94 chip drivers/usb/acpi
95 device usb 3.1 off end
96 end
97 chip drivers/usb/acpi
98 device usb 3.3 off end
99 end
102 end # USB xHCI
103 device pci 15.0 on
104 chip drivers/i2c/generic
105 register "hid" = ""ELAN0000""
106 register "desc" = ""ELAN Touchpad""
107 register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
108 register "wake" = "GPE0_DW0_03"
109 register "detect" = "1"
110 device i2c 15 on end
112 chip drivers/i2c/hid
113 register "generic.hid" = ""GXTP7288""
114 register "generic.desc" = ""Goodix Touchpad""
115 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_B3_IRQ)"
116 register "generic.wake" = "GPE0_DW0_03"
117 register "generic.detect" = "1"
118 register "hid_desc_reg_offset" = "0x20"
119 device i2c 2c on end
121 end #I2C 0
122 device pci 15.1 off end # I2C 1
123 device pci 15.2 off end # I2C 2
124 device pci 15.3 off end # I2C 3
125 device pci 19.0 on
126 chip drivers/i2c/cs42l42
127 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
128 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_H16)"
129 register "ts_inv" = "true"
130 register "ts_dbnc_rise" = "RISE_DEB_1000_MS"
131 register "ts_dbnc_fall" = "FALL_DEB_0_MS"
132 register "btn_det_init_dbnce" = "100"
133 register "btn_det_event_dbnce" = "10"
134 register "bias_lvls[0]" = "15"
135 register "bias_lvls[1]" = "8"
136 register "bias_lvls[2]" = "4"
137 register "bias_lvls[3]" = "1"
138 register "hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW"
139 register "hs_bias_sense_disable" = "true"
140 device i2c 48 on end
142 end #I2C 4
143 device pci 1e.2 off end # GSPI 0
144 device pci 1f.0 on
145 chip drivers/pc80/tpm
146 device pnp 0c31.0 on end # Discrete TPM
147 end # chip drivers/pc80/tpm
148 end # PCH eSPI
149 device pci 1f.3 on
150 chip drivers/generic/max98357a
151 register "hid" = ""MX98360A""
152 register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
153 device generic 0 on end
155 end # Intel HDA