mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / octopus / variants / phaser / overridetree.cb
blob29052da8f3c882f5d63e640ff12a7c85385182fb
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" = "0x0b0c"
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" = "0x1c282929"
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" = "0x00181b1b"
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 = 66,
65 .fall_time_ns = 90,
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 = 76,
81 .fall_time_ns = 164,
85 device domain 0 on
86 device pci 16.0 on
87 chip drivers/i2c/hid
88 register "generic.hid" = ""WCOM50C1""
89 register "generic.desc" = ""WCOM Digitizer""
90 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_139_IRQ)"
91 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_140)"
92 register "generic.reset_delay_ms" = "20"
93 register "generic.has_power_resource" = "1"
94 register "generic.detect" = "1"
95 register "hid_desc_reg_offset" = "0x1"
96 device i2c 0x9 on end
97 end
98 end # - I2C 0
99 device pci 17.1 on
100 chip drivers/i2c/da7219
101 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
102 register "btn_cfg" = "50"
103 register "mic_det_thr" = "200"
104 register "jack_ins_deb" = "20"
105 register "jack_det_rate" = ""32ms_64ms""
106 register "jack_rem_deb" = "1"
107 register "a_d_btn_thr" = "0xa"
108 register "d_b_btn_thr" = "0x16"
109 register "b_c_btn_thr" = "0x21"
110 register "c_mic_btn_thr" = "0x3e"
111 register "btn_avg" = "4"
112 register "adc_1bit_rpt" = "1"
113 register "micbias_lvl" = "2600"
114 register "mic_amp_in_sel" = ""diff""
115 device i2c 1a on end
117 chip drivers/i2c/generic
118 register "hid" = ""10EC5682""
119 register "name" = ""RT58""
120 register "desc" = ""Realtek RT5682""
121 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_137_IRQ)"
122 register "probed" = "1"
123 register "property_count" = "1"
124 # Set the jd_src to RT5668_JD1 for jack detection
125 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
126 register "property_list[0].name" = ""realtek,jd-src""
127 register "property_list[0].integer" = "1"
128 device i2c 1a on end
130 end # - I2C 5
131 device pci 17.2 on
132 chip drivers/i2c/generic
133 register "hid" = ""ELAN0000""
134 register "desc" = ""ELAN Touchpad""
135 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)"
136 register "wake" = "GPE0_DW3_27"
137 register "detect" = "1"
138 device i2c 15 on end
140 chip drivers/i2c/hid
141 register "generic.hid" = ""SYNA0000""
142 register "generic.cid" = ""ACPI0C50""
143 register "generic.desc" = ""Synaptics Touchpad""
144 register "generic.irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPIO_135_IRQ)"
145 register "generic.wake" = "GPE0_DW3_27"
146 register "generic.detect" = "1"
147 register "hid_desc_reg_offset" = "0x20"
148 device i2c 0x2c on end
150 end # - I2C 6
151 device pci 17.3 on
152 chip drivers/i2c/generic
153 register "hid" = ""ELAN0001""
154 register "desc" = ""ELAN Touchscreen""
155 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
156 register "detect" = "1"
157 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
158 register "reset_delay_ms" = "20"
159 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
160 register "enable_delay_ms" = "1"
161 register "has_power_resource" = "1"
162 device i2c 10 on end
164 chip drivers/i2c/hid
165 register "generic.hid" = ""SYTS7817""
166 register "generic.desc" = ""Synaptics Touchscreen""
167 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
168 register "generic.detect" = "1"
169 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
170 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
171 register "generic.reset_delay_ms" = "45"
172 register "generic.has_power_resource" = "1"
173 register "hid_desc_reg_offset" = "0x20"
174 device i2c 20 on end
176 chip drivers/i2c/generic
177 register "hid" = ""RAYD0001""
178 register "desc" = ""Raydium Touchscreen""
179 register "irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
180 register "detect" = "1"
181 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
182 register "reset_delay_ms" = "1"
183 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
184 register "enable_delay_ms" = "50"
185 register "has_power_resource" = "1"
186 device i2c 39 on end
188 chip drivers/i2c/hid
189 register "generic.hid" = ""GTCH7502""
190 register "generic.desc" = ""G2TOUCH Touchscreen""
191 register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPIO_212_IRQ)"
192 register "generic.detect" = "1"
193 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_105)"
194 register "generic.enable_delay_ms" = "1"
195 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_146)"
196 register "generic.reset_delay_ms" = "70"
197 register "generic.has_power_resource" = "1"
198 register "hid_desc_reg_offset" = "0x01"
199 device i2c 40 on end
201 end # - I2C 7
204 # Disable xHCI compliance mode
205 register "disable_compliance_mode" = "1"