mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / sasukette / overridetree.cb
blob1b1df26db1aa8d35aa92e6665a7485542eb072a4
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_CS42l42 2
6 option AUDIO_CODEC_ALC5682I_VS 3
7 end
8 end
10 chip soc/intel/jasperlake
11 # Disable PCIe Clock Source 4 (index 3)
12 register "PcieClkSrcUsage[3]" = "0xff"
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 | Camera |
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 = 180,
38 .scl_hcnt = 90,
39 .sda_hold = 40,
42 .i2c[1] = {
43 .speed = I2C_SPEED_FAST,
45 .i2c[2] = {
46 .speed = I2C_SPEED_FAST,
48 .i2c[3] = {
49 .speed = I2C_SPEED_FAST,
51 .i2c[4] = {
52 .speed = I2C_SPEED_FAST,
53 .speed_config[0] = {
54 .speed = I2C_SPEED_FAST,
55 .scl_lcnt = 185,
56 .scl_hcnt = 95,
57 .sda_hold = 40,
62 # USB Port Configuration
63 register "usb2_ports[2]" = "{
64 .enable = 1,
65 .ocpin = OC_SKIP,
66 .tx_bias = USB2_BIAS_0MV,
67 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
68 .pre_emp_bias = USB2_BIAS_28P15MV,
69 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
70 }" # Type-A
71 register "usb2_ports[3]" = "{
72 .enable = 1,
73 .ocpin = OC_SKIP,
74 .tx_bias = USB2_BIAS_0MV,
75 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
76 .pre_emp_bias = USB2_BIAS_16P9MV,
77 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
78 }" # WWAN
79 register "usb2_ports[5]" = "{
80 .enable = 1,
81 .ocpin = OC_SKIP,
82 .tx_bias = USB2_BIAS_0MV,
83 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
84 .pre_emp_bias = USB2_BIAS_28P15MV,
85 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
86 }" # Camera
88 register "tcc_offset" = "10" # TCC of 95C
90 register "xhci_lfps_sampling_offtime_ms" = "0"
92 device domain 0 on
93 device pci 04.0 on
94 chip drivers/intel/dptf
95 ## Passive Policy
96 register "policies.passive" = "{
97 [0] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 52, 5000),
98 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 52, 5000),
99 [2] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_2, 50, 5000),}"
100 ## Critical Policy
101 register "policies.critical" = "{
102 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
103 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
104 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 90, SHUTDOWN),
105 [3] = DPTF_CRITICAL(TEMP_SENSOR_2, 90, SHUTDOWN),}"
106 register "controls.power_limits.pl1" = "{
107 .min_power = 3500,
108 .max_power = 7000,
109 .time_window_min = 28 * MSECS_PER_SEC,
110 .time_window_max = 28 * MSECS_PER_SEC,
111 .granularity = 250,}"
112 register "controls.power_limits.pl2" = "{
113 .min_power = 20000,
114 .max_power = 20000,
115 .time_window_min = 28 * MSECS_PER_SEC,
116 .time_window_max = 32 * MSECS_PER_SEC,
117 .granularity = 1000,}"
118 ## Charger Performance Control (Control, mA)
119 register "controls.charger_perf" = "{
120 [0] = { 255, 3000 },
121 [1] = { 32, 2000 },
122 [2] = { 24, 1500 },
123 [3] = { 16, 1000 },
124 [4] = { 8, 500 }
126 device generic 0 on end
128 end # SA Thermal device
129 device pci 14.0 on
130 chip drivers/usb/acpi
131 device usb 0.0 on
132 chip drivers/usb/acpi
133 register "desc" = ""UFCamera""
134 register "type" = "UPC_TYPE_INTERNAL"
135 register "has_power_resource" = "1"
136 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D15)"
137 register "enable_delay_ms" = "20"
138 device usb 2.5 on end
140 chip drivers/usb/acpi
141 register "desc" = ""LTE""
142 register "type" = "UPC_TYPE_INTERNAL"
143 register "has_power_resource" = "1"
144 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
145 register "reset_off_delay_ms" = "20"
146 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
147 register "enable_delay_ms" = "20"
148 device usb 3.3 on end
152 end # USB xHCI
153 device pci 15.0 on
154 chip drivers/i2c/hid
155 register "generic.hid" = ""SYNA0A00""
156 register "generic.desc" = ""SYNA Touchpad""
157 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
158 register "generic.wake" = "GPE0_DW0_03"
159 register "generic.detect" = "1"
160 register "hid_desc_reg_offset" = "0x20"
161 device i2c 2c on end
163 chip drivers/i2c/hid
164 register "generic.hid" = ""GXTP7288""
165 register "generic.desc" = ""GXTP Touchpad""
166 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
167 register "generic.wake" = "GPE0_DW0_03"
168 register "generic.detect" = "1"
169 register "hid_desc_reg_offset" = "0x01"
170 device i2c 14 on end
172 chip drivers/i2c/hid
173 register "generic.hid" = ""SPPT2600""
174 register "generic.desc" = ""SPPT Touchpad""
175 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
176 register "generic.wake" = "GPE0_DW0_03"
177 register "generic.detect" = "1"
178 register "hid_desc_reg_offset" = "0x20"
179 device i2c 2a on end
181 chip drivers/i2c/hid
182 register "generic.hid" = ""PIXA2635""
183 register "generic.desc" = ""PIXA 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 2d 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 19.0 on
200 chip drivers/i2c/generic
201 register "hid" = ""10EC5682""
202 register "name" = ""RT58""
203 register "desc" = ""Realtek RT5682""
204 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
205 register "property_count" = "1"
206 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
207 register "property_list[0].name" = ""realtek,jd-src""
208 register "property_list[0].integer" = "1"
209 device i2c 1a on
210 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682
211 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_UNPROVISIONED
214 chip drivers/i2c/generic
215 register "hid" = ""RTL5682""
216 register "name" = ""RT58""
217 register "desc" = ""Realtek RT5682""
218 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
219 register "property_count" = "1"
220 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
221 register "property_list[0].name" = ""realtek,jd-src""
222 register "property_list[0].integer" = "1"
223 device i2c 1a on
224 probe AUDIO_CODEC_SOURCE AUDIO_CODEC_ALC5682I_VS
227 end #I2C 4
228 device pci 1c.7 off end # PCI Express Root Port 8
229 device pci 1f.3 on
230 chip drivers/generic/alc1015
231 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
232 device generic 0 on end
234 end # Intel HDA