soc/intel/{mtl,ptl,tgl}: Fix incorrect reporting of S0ix
[coreboot.git] / src / mainboard / google / hatch / variants / helios / overridetree.cb
blob3a624d976ed0303639e311a1225bf0d45d3e8f75
1 chip soc/intel/cannonlake
2 register "power_limits_config" = "{
3 .tdp_pl1_override = 15,
4 .tdp_pl2_override = 64,
5 }"
7 register "SerialIoDevMode" = "{
8 [PchSerialIoIndexI2C0] = PchSerialIoPci,
9 [PchSerialIoIndexI2C1] = PchSerialIoPci,
10 [PchSerialIoIndexI2C2] = PchSerialIoDisabled,
11 [PchSerialIoIndexI2C3] = PchSerialIoDisabled,
12 [PchSerialIoIndexI2C4] = PchSerialIoPci,
13 [PchSerialIoIndexI2C5] = PchSerialIoDisabled,
14 [PchSerialIoIndexSPI0] = PchSerialIoPci,
15 [PchSerialIoIndexSPI1] = PchSerialIoPci,
16 [PchSerialIoIndexSPI2] = PchSerialIoDisabled,
17 [PchSerialIoIndexUART0] = PchSerialIoSkipInit,
18 [PchSerialIoIndexUART1] = PchSerialIoDisabled,
19 [PchSerialIoIndexUART2] = PchSerialIoDisabled,
22 # No PCIe WiFi
23 register "PcieRpEnable[13]" = "0"
25 # Intel Common SoC Config
26 #+-------------------+---------------------------+
27 #| Field | Value |
28 #+-------------------+---------------------------+
29 #| GSPI1 | FP MCU |
30 #| I2C0 | Trackpad |
31 #| I2C1 | Touchscreen |
32 #| I2C4 | Audio |
33 #+-------------------+---------------------------+
34 register "common_soc_config" = "{
35 .i2c[0] = {
36 .speed = I2C_SPEED_FAST,
37 .rise_time_ns = 50,
38 .fall_time_ns = 15,
39 .data_hold_time_ns = 330,
41 .i2c[1] = {
42 .speed = I2C_SPEED_FAST,
43 .rise_time_ns = 60,
44 .fall_time_ns = 25,
46 .i2c[3] = {
47 .speed = I2C_SPEED_FAST,
48 .rise_time_ns = 150,
49 .fall_time_ns = 150,
51 .i2c[4] = {
52 .speed = I2C_SPEED_FAST,
53 .rise_time_ns = 120,
54 .fall_time_ns = 120,
56 .gspi[0] = {
57 .speed_mhz = 1,
58 .early_init = 1,
62 device domain 0 on
63 device ref igpu on
64 register "gfx" = "GMA_DEFAULT_PANEL(0)"
65 end
66 device ref xhci on
67 chip drivers/usb/acpi
68 device ref xhci_root_hub on
69 chip drivers/usb/acpi
70 # No Type-A port
71 device ref usb2_port3 off end
72 end
73 chip drivers/usb/acpi
74 # No Type-A Port
75 device ref usb2_port4 off end
76 end
77 chip drivers/usb/acpi
78 # No WWAN
79 device ref usb2_port6 off end
80 end
81 chip drivers/usb/acpi
82 # No WWAN
83 device ref usb3_port5 off end
84 end
85 end
86 end
87 end
88 device ref i2c0 on
89 chip drivers/i2c/generic
90 register "hid" = ""ELAN0000""
91 register "desc" = ""ELAN Touchpad""
92 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_A21_IRQ)"
93 register "wake" = "GPE0_DW0_21"
94 device i2c 15 on end
95 end
96 end
97 device ref i2c1 on
98 chip drivers/i2c/hid
99 register "generic.hid" = ""GDIX0000""
100 register "generic.desc" = ""Goodix Touchscreen""
101 register "generic.irq" =
102 "ACPI_IRQ_EDGE_LOW(GPP_D16_IRQ)"
103 register "generic.detect" = "1"
104 register "generic.reset_gpio" =
105 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D15)"
106 register "generic.reset_delay_ms" = "120"
107 register "generic.reset_off_delay_ms" = "1"
108 register "generic.enable_gpio" =
109 "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D9)"
110 register "generic.enable_delay_ms" = "12"
111 register "generic.enable_off_delay_ms" = "10"
112 register "generic.has_power_resource" = "1"
113 register "generic.stop_gpio" =
114 "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C4)"
115 register "generic.stop_delay_ms" = "15"
116 register "generic.stop_off_delay_ms" = "5"
117 register "hid_desc_reg_offset" = "0x01"
118 device i2c 5d on end
120 chip drivers/generic/gpio_keys
121 register "name" = ""PENH""
122 register "gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_A8)"
123 register "key.wake_gpe" = "GPE0_DW0_08"
124 register "key.wakeup_route" = "WAKEUP_ROUTE_SCI"
125 register "key.wakeup_event_action" = "EV_ACT_ASSERTED"
126 register "key.dev_name" = ""EJCT""
127 register "key.linux_code" = "SW_PEN_INSERTED"
128 register "key.linux_input_type" = "EV_SW"
129 register "key.label" = ""pen_eject""
130 device generic 0 on end
132 end # I2C 1
133 device ref i2c4 on
134 chip drivers/i2c/generic
135 register "hid" = ""10EC5682""
136 register "name" = ""RT58""
137 register "desc" = ""Realtek RT5682""
138 register "irq_gpio" = "ACPI_GPIO_IRQ_EDGE_BOTH(GPP_H0)"
139 register "property_count" = "1"
140 # Set the jd_src to RT5668_JD1 for jack detection
141 register "property_list[0].type" = "ACPI_DP_TYPE_INTEGER"
142 register "property_list[0].name" = ""realtek,jd-src""
143 register "property_list[0].integer" = "1"
144 device i2c 1a on end
146 chip drivers/i2c/rt1011
147 register "desc" = ""RT1011 Woofer Left Speaker Amp""
148 register "uid" = "0"
149 register "name" = ""RTWL""
150 register "r0_calib_key" = ""dsm_calib_r0_0""
151 register "temperature_calib_key" = ""dsm_calib_temp_0""
152 device i2c 38 on end
154 chip drivers/i2c/rt1011
155 register "desc" = ""RT1011 Woofer Right Speaker Amp""
156 register "uid" = "1"
157 register "name" = ""RTWR""
158 register "r0_calib_key" = ""dsm_calib_r0_1""
159 register "temperature_calib_key" = ""dsm_calib_temp_0""
160 device i2c 39 on end
162 chip drivers/i2c/rt1011
163 register "desc" = ""RT1011 Tweeter Left Speaker Amp""
164 register "uid" = "2"
165 register "name" = ""RTTL""
166 register "r0_calib_key" = ""dsm_calib_r0_2""
167 register "temperature_calib_key" = ""dsm_calib_temp_0""
168 device i2c 3a on end
170 chip drivers/i2c/rt1011
171 register "desc" = ""RT1011 Tweeter Right Speaker Amp""
172 register "uid" = "3"
173 register "name" = ""RTTR""
174 register "r0_calib_key" = ""dsm_calib_r0_3""
175 register "temperature_calib_key" = ""dsm_calib_temp_0""
176 device i2c 3b on end
178 end #I2C #4
179 device ref gspi1 on
180 chip drivers/spi/acpi
181 register "name" = ""CRFP""
182 register "hid" = "ACPI_DT_NAMESPACE_HID"
183 register "uid" = "1"
184 register "compat_string" = ""google,cros-ec-spi""
185 register "irq" = "ACPI_IRQ_WAKE_LEVEL_LOW(GPP_A23_IRQ)"
186 register "wake" = "GPE0_DW0_23"
187 device spi 1 hidden end
188 end # FPMCU
190 device ref hda on
191 chip drivers/sof
192 register "spkr_tplg" = "rt1011"
193 register "jack_tplg" = "rt5682"
194 register "mic_tplg" = "_2ch_pdm0"
195 device generic 0 on end