acpi_gic: Add helper for platform gicc
[coreboot2.git] / src / mainboard / google / octopus / variants / meep / overridetree.cb
blob714105580710f7a96549816760fa1d263f350201
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" = "0x0b0d"
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" = "0x1c2a2a2a"
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" = "0x00171a1a"
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" = "0x10028"
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 #| I2C0 | Digitizer |
53 #| I2C5 | Audio |
54 #| I2C6 | Trackpad |
55 #| I2C7 | Touchscreen |
56 #+-------------------+---------------------------+
57 register "common_soc_config" = "{
58 .gspi[0] = {
59 .speed_mhz = 1,
60 .early_init = 1,
62 .i2c[0] = {
63 .speed = I2C_SPEED_FAST,
64 .rise_time_ns = 120,
65 .fall_time_ns = 30,
67 .i2c[5] = {
68 .speed = I2C_SPEED_FAST,
69 .rise_time_ns = 104,
70 .fall_time_ns = 52,
72 .i2c[6] = {
73 .speed = I2C_SPEED_FAST,
74 .rise_time_ns = 66,
75 .fall_time_ns = 90,
76 .data_hold_time_ns = 350,
78 .i2c[7] = {
79 .speed = I2C_SPEED_FAST,
80 .rise_time_ns = 44,
81 .fall_time_ns = 90,
85 device domain 0 on
86 device pci 15.0 on
87 chip drivers/usb/acpi
88 register "desc" = ""Root Hub""
89 register "type" = "UPC_TYPE_HUB"
90 device usb 0.0 on
91 chip drivers/usb/acpi
92 register "desc" = ""Right Type-C Port""
93 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
94 register "group" = "ACPI_PLD_GROUP(2, 1)"
95 device usb 2.0 on end
96 end
97 chip drivers/usb/acpi
98 register "desc" = ""Right Type-A Port""
99 register "type" = "UPC_TYPE_A"
100 register "group" = "ACPI_PLD_GROUP(2, 2)"
101 device usb 2.1 on end
103 chip drivers/usb/acpi
104 register "desc" = ""Left Type-A Port""
105 register "type" = "UPC_TYPE_A"
106 register "group" = "ACPI_PLD_GROUP(1, 2)"
107 device usb 2.3 on end
109 chip drivers/usb/acpi
110 register "desc" = ""Left Type-C Port""
111 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
112 register "group" = "ACPI_PLD_GROUP(1, 1)"
113 device usb 2.4 on end
115 chip drivers/usb/acpi
116 register "desc" = ""Right Type-C Port""
117 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
118 register "group" = "ACPI_PLD_GROUP(2, 1)"
119 device usb 3.0 on end
121 chip drivers/usb/acpi
122 register "desc" = ""Right Type-A Port""
123 register "type" = "UPC_TYPE_USB3_A"
124 register "group" = "ACPI_PLD_GROUP(2, 2)"
125 device usb 3.1 on end
127 chip drivers/usb/acpi
128 register "desc" = ""Left Type-A Port""
129 register "type" = "UPC_TYPE_USB3_A"
130 register "group" = "ACPI_PLD_GROUP(1, 2)"
131 device usb 3.3 on end
133 chip drivers/usb/acpi
134 register "desc" = ""Left Type-C Port""
135 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
136 register "group" = "ACPI_PLD_GROUP(1, 1)"
137 device usb 3.4 on end
141 end # - XHCI
142 device pci 16.0 on
143 chip drivers/i2c/hid
144 register "generic.hid" = ""WCOM50C1""
145 register "generic.desc" = ""WCOM Digitizer""
146 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
147 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
148 register "generic.reset_delay_ms" = "20"
149 register "generic.has_power_resource" = "1"
150 register "generic.detect" = "1"
151 register "hid_desc_reg_offset" = "0x1"
152 device i2c 0x9 on end
154 chip drivers/i2c/hid
155 register "generic.hid" = ""EMRTE635""
156 register "generic.desc" = ""EMRIGHT Digitizer""
157 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
158 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
159 register "generic.reset_delay_ms" = "20"
160 register "generic.has_power_resource" = "1"
161 register "generic.detect" = "1"
162 register "hid_desc_reg_offset" = "0x1"
163 device i2c 0xa on end
165 end # - I2C 0
166 device pci 17.1 on
167 chip drivers/i2c/da7219
168 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
169 register "btn_cfg" = "50"
170 register "mic_det_thr" = "200"
171 register "jack_ins_deb" = "20"
172 register "jack_det_rate" = ""32ms_64ms""
173 register "jack_rem_deb" = "1"
174 register "a_d_btn_thr" = "0xa"
175 register "d_b_btn_thr" = "0x16"
176 register "b_c_btn_thr" = "0x21"
177 register "c_mic_btn_thr" = "0x3e"
178 register "btn_avg" = "4"
179 register "adc_1bit_rpt" = "1"
180 register "micbias_lvl" = "2600"
181 register "mic_amp_in_sel" = ""diff""
182 device i2c 1a on end
184 chip drivers/i2c/generic
185 register "hid" = ""10EC5682""
186 register "name" = ""RT58""
187 register "desc" = ""Realtek RT5682""
188 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
189 register "probed" = "1"
190 register "property_count" = "1"
191 # Set the jd_src to RT5668_JD1 for jack detection
192 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
193 register "property_list[0].name" = ""realtek,jd-src""
194 register "property_list[0].integer" = "1"
195 device i2c 1a on end
197 end # - I2C 5
198 device pci 17.2 on
199 chip drivers/i2c/generic
200 register "hid" = ""ELAN0000""
201 register "desc" = ""ELAN Touchpad""
202 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)"
203 register "wake" = "GPE0_DW3_27"
204 register "detect" = "1"
205 device i2c 15 on end
207 end # - I2C 6
208 device pci 17.3 on
209 chip drivers/i2c/generic
210 register "hid" = ""ELAN0001""
211 register "desc" = ""ELAN Touchscreen""
212 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
213 register "detect" = "1"
214 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
215 register "reset_delay_ms" = "20"
216 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
217 register "enable_delay_ms" = "1"
218 register "has_power_resource" = "1"
219 device i2c 10 on end
221 chip drivers/i2c/hid
222 register "generic.hid" = ""WDHT0002""
223 register "generic.desc" = ""WDT Touchscreen""
224 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
225 register "generic.detect" = "1"
226 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
227 register "generic.reset_delay_ms" = "130"
228 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
229 register "generic.enable_delay_ms" = "1"
230 register "generic.has_power_resource" = "1"
231 register "hid_desc_reg_offset" = "0x20"
232 device i2c 2c on end
234 chip drivers/i2c/hid
235 register "generic.hid" = ""GTCH7503""
236 register "generic.desc" = ""G2TOUCH Touchscreen""
237 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
238 register "generic.detect" = "1"
239 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
240 register "generic.reset_delay_ms" = "50"
241 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
242 register "generic.enable_delay_ms" = "1"
243 register "generic.has_power_resource" = "1"
244 register "hid_desc_reg_offset" = "0x01"
245 device i2c 40 on end
247 end # - I2C 7
250 # Disable compliance mode
251 register "disable_compliance_mode" = "1"