device/pci_ids: Add Intel Panther Lake device IDs for Bluetooth CNVi
[coreboot.git] / src / mainboard / google / guybrush / variants / dewatt / overridetree.cb
blobf6177006afc38c0edc0334486fc9477209e9f3e0
1 # SPDX-License-Identifier: GPL-2.0-or-later
3 chip soc/amd/cezanne
4 device domain 0 on
5 device ref gpp_bridge_1 off end # no SD
6 device ref gpp_bridge_2 off end # no WWAN
7 device ref gpp_bridge_a on # Internal GPP Bridge 0 to Bus A
8 device ref acp on
9 chip drivers/amd/i2s_machine_dev
10 register "hid" = ""AMDI5619""
11 device generic 0.0 hidden end
12 end
13 end # Audio
14 end
15 end # domain
17 register "slow_ppt_limit_mW" = "25000"
18 register "fast_ppt_limit_mW" = "30000"
19 register "slow_ppt_time_constant_s" = "5"
20 register "stapm_time_constant_s" = "275"
21 register "sustained_power_limit_mW" = "15000"
22 register "thermctl_limit_degreeC" = "100"
24 #Update values based on final stardust SDLE test report.
25 register "telemetry_vddcrvddfull_scale_current_mA" = "91573" #mA
26 register "telemetry_vddcrvddoffset" = "620"
27 register "telemetry_vddcrsocfull_scale_current_mA" = "30829" #mA
28 register "telemetry_vddcrsocoffset" = "235"
30 # Enable STT support
31 register "stt_control" = "1"
32 register "stt_pcb_sensor_count" = "2"
33 register "stt_min_limit" = "15000"
34 register "stt_m1" = "0x022B"
35 register "stt_m2" = "0x117"
36 register "stt_m3" = "0"
37 register "stt_m4" = "0"
38 register "stt_m5" = "0"
39 register "stt_m6" = "0"
40 register "stt_c_apu" = "0xBA4"
41 register "stt_c_gpu" = "0"
42 register "stt_c_hs2" = "0"
43 register "stt_alpha_apu" = "0x199A"
44 register "stt_alpha_gpu" = "0"
45 register "stt_alpha_hs2" = "0"
46 register "stt_skin_temp_apu" = "0x2D00"
47 register "stt_skin_temp_gpu" = "0"
48 register "stt_skin_temp_hs2" = "0"
49 register "stt_error_coeff" = "0x21"
50 register "stt_error_rate_coefficient" = "0x2666"
52 #USB 2/3 phy config
53 register "usb_phy" = "{
54 /* Left USB C0 Port */
55 .Usb2PhyPort[0] = {
56 .compdstune = 3,
57 .sqrxtune = 3,
58 .txfslstune = 3,
59 .txpreempamptune = 3,
60 .txpreemppulsetune = 0,
61 .txrisetune = 1,
62 .txvreftune = 6,
63 .txhsxvtune = 3,
64 .txrestune = 1,
66 /* Left USB A0 Port */
67 .Usb2PhyPort[1] = {
68 .compdstune = 3,
69 .sqrxtune = 3,
70 .txfslstune = 3,
71 .txpreempamptune = 3,
72 .txpreemppulsetune = 0,
73 .txrisetune = 1,
74 .txvreftune = 6,
75 .txhsxvtune = 3,
76 .txrestune = 1,
78 /* Right USB C1 Port */
79 .Usb2PhyPort[4] = {
80 .compdstune = 3,
81 .sqrxtune = 3,
82 .txfslstune = 3,
83 .txpreempamptune = 3,
84 .txpreemppulsetune = 0,
85 .txrisetune = 1,
86 .txvreftune = 6,
87 .txhsxvtune = 3,
88 .txrestune = 1,
90 /* Left USB C0 Port */
91 .Usb3PhyPort[0] = {
92 .tx_term_ctrl=3,
93 .rx_term_ctrl=3,
94 .tx_vboost_lvl_en=1,
95 .tx_vboost_lvl=5,
97 /* Left USB A0 Port */
98 .Usb3PhyPort[1] = {
99 .tx_term_ctrl=3,
100 .rx_term_ctrl=3,
101 .tx_vboost_lvl_en=1,
102 .tx_vboost_lvl=5,
106 # general purpose PCIe clock output configuration
107 register "gpp_clk_config[1]" = "GPP_CLK_OFF"
108 register "gpp_clk_config[2]" = "GPP_CLK_OFF"
110 # I2C Config
111 #+-------------------+---------------------------+
112 #| Field | Value |
113 #+-------------------+---------------------------+
114 #| I2C0 | Trackpad |
115 #| I2C1 | Touchscreen |
116 #| I2C2 | Speaker, Codec, P-SAR |
117 #| I2C3 | H1/D2 TPM |
118 #+-------------------+---------------------------+
119 register "i2c[0]" = "{
120 .speed = I2C_SPEED_FAST,
123 register "i2c[1]" = "{
124 .speed = I2C_SPEED_FAST,
127 register "i2c[2]" = "{
128 .speed = I2C_SPEED_FAST,
131 register "i2c[3]" = "{
132 .speed = I2C_SPEED_FAST,
133 .early_init = true,
136 device ref i2c_0 on
137 chip drivers/i2c/generic
138 register "hid" = ""ELAN0000""
139 register "desc" = ""ELAN Touchpad""
140 register "irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
141 register "wake" = "GEVENT_22"
142 register "detect" = "1"
143 device i2c 15 on end
145 chip drivers/i2c/hid
146 register "generic.hid" = ""SYNA0000""
147 register "generic.cid" = ""ACPI0C50""
148 register "generic.desc" = ""Synaptics Touchpad""
149 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_9)"
150 register "generic.wake" = "GEVENT_22"
151 register "generic.detect" = "1"
152 register "hid_desc_reg_offset" = "0x20"
153 device i2c 2c on end
155 end # I2C0
156 device ref i2c_1 on
157 chip drivers/i2c/hid
158 register "generic.hid" = ""ELAN6918""
159 register "generic.desc" = ""ELAN Touchscreen""
160 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPIO_89)"
161 register "generic.detect" = "1"
162 register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_121)"
163 register "generic.reset_delay_ms" = "20"
164 register "generic.reset_off_delay_ms" = "2"
165 register "generic.stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPIO_120)"
166 register "generic.stop_off_delay_ms" = "2"
167 register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_68)"
168 register "generic.enable_delay_ms" = "1"
169 register "generic.has_power_resource" = "1"
170 register "hid_desc_reg_offset" = "0x01"
171 device i2c 10 on end
173 end # I2C1
174 device ref i2c_2 on
175 chip drivers/i2c/generic
176 register "hid" = ""RTL5682""
177 register "name" = ""RT58""
178 register "desc" = ""Realtek RT5682""
179 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPIO_90)"
180 register "property_count" = "1"
181 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
182 register "property_list[0].name" = ""realtek,jd-src""
183 register "property_list[0].integer" = "1"
184 device i2c 1a on end
186 chip drivers/i2c/generic
187 register "hid" = ""10EC1019""
188 register "desc" = ""Realtek SPK AMP R""
189 register "uid" = "0"
190 device i2c 29 on end
192 chip drivers/i2c/generic
193 register "hid" = ""10EC1019""
194 register "desc" = ""Realtek SPK AMP L""
195 register "uid" = "1"
196 device i2c 2a on end
198 end # I2C2
199 end # chip soc/amd/cezanne