soc/intel/xeon_sp: Allow OS to control LTR and AER
[coreboot2.git] / src / mainboard / google / octopus / variants / fleex / overridetree.cb
blob3a17abba45294fab78673d6778bf6d3c0b3218c3
1 chip soc/intel/apollolake
3 # EMMC Tx CMD Delay
4 # Refer to EDS-Vol2-16.32.
5 # [14:8] steps of delay for DDR mode, each 125ps.
6 # [6:0] steps of delay for SDR mode, each 125ps.
7 register "emmc_tx_cmd_cntl" = "0x505"
9 # EMMC TX DATA Delay 1
10 # Refer to EDS-Vol2-16.33.
11 # [14:8] steps of delay for HS400, each 125ps.
12 # [6:0] steps of delay for SDR104/HS200, each 125ps.
13 register "emmc_tx_data_cntl1" = "0x0a0c"
15 # EMMC TX DATA Delay 2
16 # Refer to EDS-Vol2-16.34.
17 # [30:24] steps of delay for SDR50, each 125ps.
18 # [22:16] steps of delay for DDR50, each 125ps.
19 # [14:8] steps of delay for SDR25/HS50, each 125ps.
20 # [6:0] steps of delay for SDR12, each 125ps.
21 register "emmc_tx_data_cntl2" = "0x1c282828"
23 # EMMC RX CMD/DATA Delay 1
24 # Refer to EDS-Vol2-16.35.
25 # [30:24] steps of delay for SDR50, each 125ps.
26 # [22:16] steps of delay for DDR50, each 125ps.
27 # [14:8] steps of delay for SDR25/HS50, each 125ps.
28 # [6:0] steps of delay for SDR12, each 125ps.
29 register "emmc_rx_cmd_data_cntl1" = "0x00181818"
31 # EMMC RX CMD/DATA Delay 2
32 # Refer to EDS-Vol2-16.37.
33 # [17:16] stands for Rx Clock before Output Buffer
34 # [14:8] steps of delay for Auto Tuning Mode, each 125ps.
35 # [6:0] steps of delay for HS200, each 125ps.
36 register "emmc_rx_cmd_data_cntl2" = "0x1001f"
38 # EMMC Rx Strobe Delay
39 # Refer to EDS-Vol2-16.36.
40 # [14:8] Rx Strobe Delay DLL 1(HS400 Mode), each 125ps.
41 # [6:0] Rx Strobe Delay DLL 2(HS400 Mode), each 125ps.
42 register "emmc_rx_strobe_cntl" = "0x0b0b"
44 # Intel Common SoC Config
45 #+-------------------+---------------------------+
46 #| Field | Value |
47 #+-------------------+---------------------------+
48 #| GSPI0 | cr50 TPM. Early init is |
49 #| | required to set up a BAR |
50 #| | for TPM communication |
51 #| | before memory is up |
52 #| I2C5 | Audio |
53 #| I2C6 | Trackpad |
54 #| I2C7 | Touchscreen |
55 #+-------------------+---------------------------+
57 register "tcc_offset" = "10"
59 register "common_soc_config" = "{
60 .gspi[0] = {
61 .speed_mhz = 1,
62 .early_init = 1,
64 .i2c[0] = {
65 .speed = I2C_SPEED_FAST,
66 .rise_time_ns = 25,
67 .fall_time_ns = 52,
69 .i2c[5] = {
70 .speed = I2C_SPEED_FAST,
71 .rise_time_ns = 104,
72 .fall_time_ns = 52,
74 .i2c[6] = {
75 .speed = I2C_SPEED_FAST,
76 .rise_time_ns = 66,
77 .fall_time_ns = 90,
78 .data_hold_time_ns = 350,
80 .i2c[7] = {
81 .speed = I2C_SPEED_FAST,
82 .rise_time_ns = 76,
83 .fall_time_ns = 164,
87 # Disable compliance mode
88 register "disable_compliance_mode" = "1"
89 register "disable_xhci_lfps_pm" = "0"
91 device domain 0 on
92 device pci 16.0 on
93 chip drivers/i2c/hid
94 register "generic.hid" = ""WCOM50C1""
95 register "generic.desc" = ""WCOM Digitizer""
96 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
97 register "generic.reset_gpio" =
98 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
99 register "generic.reset_delay_ms" = "20"
100 register "generic.has_power_resource" = "1"
101 register "generic.detect" = "1"
102 register "hid_desc_reg_offset" = "0x1"
103 device i2c 0x9 on end
105 end # - I2C 0
106 device pci 16.1 off end # - I2C 1
107 device pci 17.1 on
108 chip drivers/i2c/da7219
109 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
110 register "btn_cfg" = "50"
111 register "mic_det_thr" = "200"
112 register "jack_ins_deb" = "20"
113 register "jack_det_rate" = ""32ms_64ms""
114 register "jack_rem_deb" = "1"
115 register "a_d_btn_thr" = "0xa"
116 register "d_b_btn_thr" = "0x16"
117 register "b_c_btn_thr" = "0x21"
118 register "c_mic_btn_thr" = "0x3e"
119 register "btn_avg" = "4"
120 register "adc_1bit_rpt" = "1"
121 register "micbias_lvl" = "2600"
122 register "mic_amp_in_sel" = ""diff""
123 device i2c 1a on end
125 chip drivers/i2c/generic
126 register "hid" = ""10EC5682""
127 register "name" = ""RT58""
128 register "desc" = ""Realtek RT5682""
129 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
130 register "probed" = "1"
131 register "property_count" = "1"
132 # Set the jd_src to RT5668_JD1 for jack detection
133 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
134 register "property_list[0].name" = ""realtek,jd-src""
135 register "property_list[0].integer" = "1"
136 device i2c 1a on end
138 chip drivers/i2c/cs42l42
139 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
140 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_144)"
141 register "ts_inv" = "true"
142 register "ts_dbnc_rise" = "RISE_DEB_1000_MS"
143 register "ts_dbnc_fall" = "FALL_DEB_0_MS"
144 register "btn_det_init_dbnce" = "100"
145 register "btn_det_event_dbnce" = "10"
146 register "bias_lvls[0]" = "15"
147 register "bias_lvls[1]" = "8"
148 register "bias_lvls[2]" = "4"
149 register "bias_lvls[3]" = "1"
150 register "hs_bias_ramp_rate" = "HSBIAS_RAMP_SLOW"
151 register "hs_bias_sense_disable" = "true"
152 device i2c 48 on end
154 end # - I2C 5
155 device pci 17.2 on
156 chip drivers/i2c/generic
157 register "hid" = ""ELAN0000""
158 register "desc" = ""ELAN Touchpad""
159 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)"
160 register "wake" = "GPE0_DW3_27"
161 register "detect" = "1"
162 device i2c 15 on end
164 chip drivers/i2c/hid
165 register "generic.hid" = ""GXTP7288""
166 register "generic.desc" = ""Goodix Touchpad""
167 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_135_IRQ)"
168 register "generic.wake" = "GPE0_DW3_27"
169 register "generic.detect" = "1"
170 register "hid_desc_reg_offset" = "0x20"
171 device i2c 2c on end
173 end # - I2C 6
174 device pci 17.3 on
175 chip drivers/i2c/generic
176 register "hid" = ""ELAN0001""
177 register "desc" = ""ELAN Touchscreen""
178 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
179 register "detect" = "1"
180 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
181 register "reset_delay_ms" = "20"
182 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
183 register "enable_delay_ms" = "1"
184 register "has_power_resource" = "true"
185 device i2c 10 on end
187 chip drivers/i2c/hid
188 register "generic.hid" = ""WDHT0002""
189 register "generic.desc" = ""WDT Touchscreen""
190 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
191 register "generic.detect" = "1"
192 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
193 register "generic.reset_delay_ms" = "130"
194 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
195 register "generic.enable_delay_ms" = "2"
196 register "generic.has_power_resource" = "1"
197 register "hid_desc_reg_offset" = "0x20"
198 device i2c 2c on end
200 chip drivers/i2c/hid
201 register "generic.hid" = ""GTCH7503""
202 register "generic.desc" = ""G2TOUCH Touchscreen""
203 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
204 register "generic.detect" = "1"
205 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
206 register "generic.reset_delay_ms" = "50"
207 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
208 register "generic.enable_delay_ms" = "1"
209 register "generic.has_power_resource" = "1"
210 register "hid_desc_reg_offset" = "0x01"
211 device i2c 40 on end
213 end # - I2C 7