mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / sasuke / overridetree.cb
blobdcd5cbb83de98b87ec75330ed5229a3faacb2a8c
1 chip soc/intel/jasperlake
2 # Disable PCIe Clock Source 4 (index 3)
3 register "PcieClkSrcUsage[3]" = "0xff"
5 # USB Port Configuration
6 register "usb2_ports[0]" = "{
7 .enable = 1,
8 .ocpin = OC_SKIP,
9 .tx_bias = USB2_BIAS_0MV,
10 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
11 .pre_emp_bias = USB2_BIAS_28P15MV,
12 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
13 }" # Type-C Port C0
14 register "usb2_ports[1]" = "{
15 .enable = 1,
16 .ocpin = OC_SKIP,
17 .tx_bias = USB2_BIAS_16P9MV,
18 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
19 .pre_emp_bias = USB2_BIAS_39P35MV,
20 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
21 }" # Type-C Port C1
22 register "usb2_ports[2]" = "{
23 .enable = 1,
24 .ocpin = OC_SKIP,
25 .tx_bias = USB2_BIAS_16P9MV,
26 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
27 .pre_emp_bias = USB2_BIAS_39P35MV,
28 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
29 }" # Type-A Port A0
30 register "usb2_ports[3]" = "{
31 .enable = 1,
32 .ocpin = OC_SKIP,
33 .tx_bias = USB2_BIAS_0MV,
34 .tx_emp_enable = USB2_DE_EMP_ON_PRE_EMP_ON,
35 .pre_emp_bias = USB2_BIAS_11P25MV,
36 .pre_emp_bit = USB2_HALF_BIT_PRE_EMP,
37 }" # Type-A Port A1
38 register "usb2_ports[4]" = "USB2_PORT_EMPTY"
39 register "usb2_ports[5]" = "USB2_PORT_MID(OC_SKIP)" # Camera
41 # Intel Common SoC Config
42 #+-------------------+---------------------------+
43 #| Field | Value |
44 #+-------------------+---------------------------+
45 #| GSPI0 | cr50 TPM. Early init is |
46 #| | required to set up a BAR |
47 #| | for TPM communication |
48 #| | before memory is up |
49 #| I2C0 | Trackpad |
50 #| I2C1 | Digitizer |
51 #| I2C2 | Touchscreen |
52 #| I2C3 | Camera |
53 #| I2C4 | Audio |
54 #+-------------------+---------------------------+
55 register "common_soc_config" = "{
56 .gspi[0] = {
57 .speed_mhz = 1,
58 .early_init = 1,
60 .i2c[0] = {
61 .speed = I2C_SPEED_FAST,
62 .rise_time_ns = 209,
63 .fall_time_ns = 12,
65 .i2c[1] = {
66 .speed = I2C_SPEED_FAST,
68 .i2c[2] = {
69 .speed = I2C_SPEED_FAST,
71 .i2c[3] = {
72 .speed = I2C_SPEED_FAST,
74 .i2c[4] = {
75 .speed = I2C_SPEED_FAST,
76 .rise_time_ns = 175,
77 .fall_time_ns = 8,
80 device domain 0 on
81 device pci 04.0 on
82 chip drivers/intel/dptf
83 register "options.tsr[0].desc" = ""Charger""
84 register "options.tsr[1].desc" = ""Vcore""
85 register "policies.passive" = "{
86 [0] = DPTF_PASSIVE(CPU, CPU, 90, 10000),
87 [1] = DPTF_PASSIVE(CHARGER, TEMP_SENSOR_0, 60, 60000),
88 [2] = DPTF_PASSIVE(CPU, TEMP_SENSOR_1, 60, 15000),
90 register "policies.critical" = "{
91 [0] = DPTF_CRITICAL(CPU, 105, SHUTDOWN),
92 [1] = DPTF_CRITICAL(TEMP_SENSOR_0, 90, SHUTDOWN),
93 [2] = DPTF_CRITICAL(TEMP_SENSOR_1, 90, SHUTDOWN),
95 register "controls.power_limits" = "{
96 .pl1 = {
97 .min_power = 6000,
98 .max_power = 6000,
99 .time_window_min = 1 * MSECS_PER_SEC,
100 .time_window_max = 1 * MSECS_PER_SEC,
101 .granularity = 200,
103 .pl2 = {
104 .min_power = 20000,
105 .max_power = 20000,
106 .time_window_min = 1 * MSECS_PER_SEC,
107 .time_window_max = 1 * MSECS_PER_SEC,
108 .granularity = 1000,
111 register "controls.charger_perf" = "{
112 [0] = { 255, 3000 },
113 [1] = { 39, 2500 },
114 [2] = { 31, 2000 },
115 [3] = { 23, 1500 }
117 device generic 0 on end
119 end # SA Thermal device
120 device pci 14.0 on
121 chip drivers/usb/acpi
122 device usb 0.0 on
123 chip drivers/usb/acpi
124 register "desc" = ""UFCamera""
125 register "type" = "UPC_TYPE_INTERNAL"
126 register "has_power_resource" = "1"
127 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D13)"
128 register "enable_delay_ms" = "20"
129 device usb 2.5 on end
131 chip drivers/usb/acpi
132 register "desc" = ""LTE""
133 register "type" = "UPC_TYPE_INTERNAL"
134 register "has_power_resource" = "1"
135 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_H17)"
136 register "reset_off_delay_ms" = "20"
137 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A10)"
138 register "enable_delay_ms" = "20"
139 device usb 3.3 on end
143 end # USB xHCI
144 device pci 15.0 on
145 chip drivers/i2c/generic
146 register "hid" = ""ELAN0000""
147 register "desc" = ""ELAN Touchpad""
148 register "irq" = "ACPI_IRQ_WAKE_EDGE_LOW(GPP_B3_IRQ)"
149 register "wake" = "GPE0_DW0_03"
150 register "detect" = "1"
151 device i2c 15 on end
153 chip drivers/i2c/hid
154 register "generic.hid" = ""ZNT0000""
155 register "generic.desc" = ""Zinitix Touchpad""
156 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_B3_IRQ)"
157 register "generic.wake" = "GPE0_DW0_03"
158 register "generic.detect" = "1"
159 register "hid_desc_reg_offset" = "0xE"
160 device i2c 40 on end
162 end # I2C 0
163 device pci 15.2 on end
164 device pci 1c.7 off end # PCI Express Root Port 8
165 device pci 19.0 on
166 chip drivers/i2c/da7219
167 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_D16)"
168 register "btn_cfg" = "50"
169 register "mic_det_thr" = "200"
170 register "jack_ins_deb" = "20"
171 register "jack_det_rate" = ""32ms_64ms""
172 register "jack_rem_deb" = "1"
173 register "a_d_btn_thr" = "0xa"
174 register "d_b_btn_thr" = "0x16"
175 register "b_c_btn_thr" = "0x21"
176 register "c_mic_btn_thr" = "0x3e"
177 register "btn_avg" = "4"
178 register "adc_1bit_rpt" = "1"
179 register "micbias_lvl" = "2600"
180 register "mic_amp_in_sel" = ""diff""
181 device i2c 1a on end
183 end #I2C 4
184 device pci 1f.3 on
185 chip drivers/generic/max98357a
186 register "hid" = ""MX98360A""
187 register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D17)"
188 device generic 0 on end
190 end # Intel HDA