mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / shotzo / overridetree.cb
blob0935457092b8f229dcc2133eb948a85df26be17d
1 chip soc/intel/jasperlake
3 # Intel Common SoC Config
4 #+-------------------+---------------------------+
5 #| Field | Value |
6 #+-------------------+---------------------------+
7 #| GSPI0 | cr50 TPM. Early init is |
8 #| | required to set up a BAR |
9 #| | for TPM communication |
10 #| | before memory is up |
11 #| I2C1 | LVDS |
12 #| I2C2 | Touchscreen |
13 #| I2C4 | Audio |
14 #+-------------------+---------------------------+
15 register "common_soc_config" = "{
16 .gspi[0] = {
17 .speed_mhz = 1,
18 .early_init = 1,
20 .i2c[1] = {
21 .speed = I2C_SPEED_FAST,
23 .i2c[2] = {
24 .speed = I2C_SPEED_FAST,
25 .speed_config[0] = {
26 .speed = I2C_SPEED_FAST,
27 .scl_lcnt = 185,
28 .scl_hcnt = 95,
31 .i2c[4] = {
32 .speed = I2C_SPEED_FAST,
33 .speed_config[0] = {
34 .speed = I2C_SPEED_FAST,
35 .scl_lcnt = 185,
36 .scl_hcnt = 95,
41 register "disable_external_bypass_vr" = "1" # Does not support external vnn power rail
43 # Power limit config
44 register "power_limits_config[JSL_N4500_6W_CORE]" = "{
45 .tdp_pl1_override = 7,
46 .tdp_pl2_override = 25,
49 register "power_limits_config[JSL_N6000_6W_CORE]" = "{
50 .tdp_pl1_override = 7,
51 .tdp_pl2_override = 25,
54 register "power_limits_config[JSL_N5100_6W_CORE]" = "{
55 .tdp_pl1_override = 7,
56 .tdp_pl2_override = 25,
59 register "tcc_offset" = "5" # TCC of 100C
61 # USB Port Configuration
62 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
63 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Lan
65 device domain 0 on
66 device pci 04.0 on
67 chip drivers/intel/dptf
68 # Default DPTF Policy for all drawcia boards if not overridden
69 register "options.tsr[0].desc" = ""Ambient""
71 ## Passive Policy
72 register "policies.passive" = "{
73 [0] = DPTF_PASSIVE(CPU, CPU, 85, 60000),
74 [1] = DPTF_PASSIVE(CPU, TEMP_SENSOR_0, 65, 60000),
77 ## Critical Policy
78 register "policies.critical" = "{
79 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
80 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 78, SHUTDOWN),
83 register "controls.power_limits" = "{
84 .pl1 = {
85 .min_power = 6000,
86 .max_power = 6500,
87 .time_window_min = 1 * MSECS_PER_SEC,
88 .time_window_max = 1 * MSECS_PER_SEC,
89 .granularity = 100,
91 .pl2 = {
92 .min_power = 25000,
93 .max_power = 25000,
94 .time_window_min = 1 * MSECS_PER_SEC,
95 .time_window_max = 1 * MSECS_PER_SEC,
96 .granularity = 1000,
100 ## Charger Performance Control (Control, mA)
101 register "controls.charger_perf" = "{
102 [0] = { 255, 3000 },
103 [1] = { 24, 1500 },
104 [2] = { 16, 1000 },
105 [3] = { 8, 500 }
108 device generic 0 on end
110 end # SA Thermal device
111 device pci 14.0 on
112 chip drivers/usb/acpi
113 device usb 0.0 on
114 chip drivers/usb/acpi
115 register "desc" = ""USB2 Type-C Port C0""
116 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
117 register "group" = "ACPI_PLD_GROUP(1, 1)"
118 device usb 2.0 on end
120 chip drivers/usb/acpi
121 register "desc" = ""USB2 Type-A Port A2""
122 register "type" = "UPC_TYPE_A"
123 register "group" = "ACPI_PLD_GROUP(2, 1)"
124 device usb 2.1 on end
126 chip drivers/usb/acpi
127 register "desc" = ""USB2 Type-A Port A0""
128 register "type" = "UPC_TYPE_A"
129 register "group" = "ACPI_PLD_GROUP(2, 2)"
130 device usb 2.2 on end
132 chip drivers/usb/acpi
133 register "desc" = ""USB2 Type-A Port A1""
134 register "type" = "UPC_TYPE_A"
135 register "group" = "ACPI_PLD_GROUP(2, 3)"
136 device usb 2.3 on end
138 chip drivers/usb/acpi
139 register "desc" = ""USB2 Type-A Port A3""
140 register "type" = "UPC_TYPE_A"
141 register "group" = "ACPI_PLD_GROUP(2, 4)"
142 device usb 2.4 on end
144 chip drivers/usb/acpi
145 register "desc" = ""Camera""
146 register "type" = "UPC_TYPE_INTERNAL"
147 device usb 2.5 on end
149 chip drivers/usb/acpi
150 register "desc" = ""LAN""
151 register "type" = "UPC_TYPE_INTERNAL"
152 device usb 2.6 on end
154 chip drivers/usb/acpi
155 register "desc" = ""Bluetooth""
156 register "type" = "UPC_TYPE_INTERNAL"
157 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H19)"
158 device usb 2.7 on end
160 chip drivers/usb/acpi
161 register "desc" = ""USB3 Type-C Port C0""
162 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
163 register "group" = "ACPI_PLD_GROUP(1, 1)"
164 device usb 3.0 on end
166 chip drivers/usb/acpi
167 register "desc" = ""LAN""
168 register "type" = "UPC_TYPE_INTERNAL"
169 device usb 3.1 on end
171 chip drivers/usb/acpi
172 register "desc" = ""USB3 Type-A Port A0""
173 register "type" = "UPC_TYPE_USB3_A"
174 register "group" = "ACPI_PLD_GROUP(2, 1)"
175 device usb 3.2 on end
177 chip drivers/usb/acpi
178 register "desc" = ""USB3 Type-A Port A1""
179 register "type" = "UPC_TYPE_USB3_A"
180 register "group" = "ACPI_PLD_GROUP(2, 2)"
181 device usb 3.3 on end
185 end # USB xHCI
186 device pci 15.0 off end # I2C 0
187 device pci 15.2 on
188 chip drivers/i2c/hid
189 register "generic.hid" = ""ILTK0001""
190 register "generic.desc" = ""ILITEK Touchscreen""
191 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D4_IRQ)"
192 register "generic.detect" = "1"
193 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D5)"
194 register "generic.reset_delay_ms" = "400"
195 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D6)"
196 register "generic.enable_delay_ms" = "12"
197 register "generic.wake" = "GPE0_DW2_04"
198 register "generic.has_power_resource" = "1"
199 register "hid_desc_reg_offset" = "0x01"
200 device i2c 41 on end
202 end # I2C 2
203 device pci 15.3 off end #I2C 3
204 device pci 1c.7 on
205 chip drivers/wifi/generic
206 register "wake" = "GPE0_DW2_03"
207 device pci 00.0 on end
209 end # PCI Express Root Port 8 - WLAN
210 device pci 19.0 on
211 chip drivers/i2c/generic
212 register "hid" = ""RTL5682""
213 register "name" = ""RT58""
214 register "desc" = ""Realtek RT5682""
215 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
216 register "property_count" = "1"
217 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
218 register "property_list[0].name" = ""realtek,jd-src""
219 register "property_list[0].integer" = "1"
220 device i2c 1a on end
222 end #I2C 4
223 device pci 1f.3 on
224 chip drivers/generic/alc1015
225 register "hid" = ""RTL1019""
226 register "sdb" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
227 device generic 0 on end
229 end # Intel HDA