summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/alderlake/chipset.cb
blob: e02cdadb7443eb4872b8a7b49341104f92364be8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
chip soc/intel/alderlake

	device cpu_cluster 0 on end

	register "power_limits_config[ADL_P_142_242_282_15W_CORE]" = "{
		.tdp_pl1_override = 15,
		.tdp_pl2_override = 55,
		.tdp_pl4 = 123,
	}"

	register "power_limits_config[ADL_P_482_28W_CORE]" = "{
		.tdp_pl1_override = 28,
		.tdp_pl2_override = 64,
		.tdp_pl4 = 90,
	}"

	register "power_limits_config[ADL_P_682_28W_CORE]" = "{
		.tdp_pl1_override = 28,
		.tdp_pl2_override = 64,
		.tdp_pl4 = 140,
	}"

	register "power_limits_config[ADL_P_442_482_45W_CORE]" = "{
		.tdp_pl1_override = 45,
		.tdp_pl2_override = 95,
		.tdp_pl4 = 125,
	}"

	register "power_limits_config[ADL_P_642_682_45W_CORE]" = "{
		.tdp_pl1_override = 45,
		.tdp_pl2_override = 115,
		.tdp_pl4 = 215,
	}"

	register "power_limits_config[ADL_M_282_12W_CORE]" = "{
		.tdp_pl1_override = 12,
		.tdp_pl2_override = 35,
	}"

	register "power_limits_config[ADL_M_282_15W_CORE]" = "{
		.tdp_pl1_override = 15,
		.tdp_pl2_override = 45,
	}"

	register "power_limits_config[ADL_M_242_CORE]" = "{
		.tdp_pl1_override = 9,
		.tdp_pl2_override = 30,
		.tdp_pl4 = 68,
	}"

	# NOTE: if any variant wants to override this value, use the same format
	# as register "common_soc_config.pch_thermal_trip" = "value", instead of
	# putting it under register "common_soc_config" in overridetree.cb file.
	register "common_soc_config.pch_thermal_trip" = "100"

	device domain 0 on
		device gpio 0 alias pch_gpio on end
		device pci 00.0 alias system_agent on end
		device pci 01.0 alias pcie5 off end
		device pci 02.0 alias igpu off end
		device pci 04.0 alias dtt off end
		device pci 05.0 alias ipu off end
		device pci 06.0 alias pcie4_0 off end
		device pci 06.2 alias pcie4_1 off end
		device pci 07.0 alias tbt_pcie_rp0 off
			chip soc/intel/common/block/usb4
				use tcss_dma0 as usb4_port
				device generic 0 on end
			end
		end
		device pci 07.1 alias tbt_pcie_rp1 off
			chip soc/intel/common/block/usb4
				use tcss_dma0 as usb4_port
				device generic 1 on end
			end
		end
		device pci 07.2 alias tbt_pcie_rp2 off
			chip soc/intel/common/block/usb4
				use tcss_dma1 as usb4_port
				device generic 0 on end
			end
		end
		device pci 07.3 alias tbt_pcie_rp3 off
			chip soc/intel/common/block/usb4
				use tcss_dma1 as usb4_port
				device generic 1 on end
			end
		end
		device pci 08.0 alias gna off end
		device pci 09.0 alias north_tracehub off end
		device pci 0a.0 alias crashlog on end
		device pci 0d.0 alias tcss_xhci off
			chip drivers/usb/acpi
				register "type" = "UPC_TYPE_HUB"
				device usb 0.0 alias tcss_root_hub off
					chip drivers/usb/acpi
						device usb 3.0 alias tcss_usb3_port1 off end
					end
					chip drivers/usb/acpi
						device usb 3.1 alias tcss_usb3_port2 off end
					end
					chip drivers/usb/acpi
						device usb 3.2 alias tcss_usb3_port3 off end
					end
					chip drivers/usb/acpi
						device usb 3.3 alias tcss_usb3_port4 off end
					end
				end
			end
		end
		device pci 0d.1 alias tcss_xdci off end
		device pci 0d.2 alias tcss_dma0 off end
		device pci 0d.3 alias tcss_dma1 off end
		device pci 0e.0 alias vmd off end
		device pci 10.0 alias i2c6 off end
		device pci 10.1 alias i2c7 off end
		device pci 10.6 alias thc0 off end
		device pci 10.7 alias thc1 off end
		device pci 12.0 alias ish off end
		device pci 12.6 alias gspi2 off end
		device pci 13.0 alias gspi3 off end
		device pci 14.0 alias xhci off
			chip drivers/usb/acpi
				register "type" = "UPC_TYPE_HUB"
				device usb 0.0 alias xhci_root_hub off
					chip drivers/usb/acpi
						device usb 2.0 alias usb2_port1 off end
					end
					chip drivers/usb/acpi
						device usb 2.1 alias usb2_port2 off end
					end
					chip drivers/usb/acpi
						device usb 2.2 alias usb2_port3 off end
					end
					chip drivers/usb/acpi
						device usb 2.3 alias usb2_port4 off end
					end
					chip drivers/usb/acpi
						device usb 2.4 alias usb2_port5 off end
					end
					chip drivers/usb/acpi
						device usb 2.5 alias usb2_port6 off end
					end
					chip drivers/usb/acpi
						device usb 2.6 alias usb2_port7 off end
					end
					chip drivers/usb/acpi
						device usb 2.7 alias usb2_port8 off end
					end
					chip drivers/usb/acpi
						device usb 2.8 alias usb2_port9 off end
					end
					chip drivers/usb/acpi
						device usb 2.9 alias usb2_port10 off end
					end
					chip drivers/usb/acpi
						device usb 3.0 alias usb3_port1 off end
					end
					chip drivers/usb/acpi
						device usb 3.1 alias usb3_port2 off end
					end
					chip drivers/usb/acpi
						device usb 3.2 alias usb3_port3 off end
					end
					chip drivers/usb/acpi
						device usb 3.3 alias usb3_port4 off end
					end
				end
			end
		end
		device pci 14.1 alias usb_otg off end
		device pci 14.2 alias shared_sram off end
		device pci 14.3 alias cnvi_wifi off end
		device pci 15.0 alias i2c0 off end
		device pci 15.1 alias i2c1 off end
		device pci 15.2 alias i2c2 off end
		device pci 15.3 alias i2c3 off end
		device pci 16.0 alias heci1 off end
		device pci 16.1 alias heci2 off end
		device pci 16.2 alias ide_r off end
		device pci 16.3 alias kt off end
		device pci 16.4 alias heci3 off end
		device pci 16.5 alias heci4 off end
		device pci 17.0 alias sata off end
		device pci 19.0 alias i2c4 off end
		device pci 19.1 alias i2c5 off end
		device pci 19.2 alias uart2 off end
		# eMMC device is applicable only for ADL-N
		device pci 1a.0 alias emmc off end
		device pci 1c.0 alias pcie_rp1 off end
		device pci 1c.1 alias pcie_rp2 off end
		device pci 1c.2 alias pcie_rp3 off end
		device pci 1c.3 alias pcie_rp4 off end
		device pci 1c.4 alias pcie_rp5 off end
		device pci 1c.5 alias pcie_rp6 off end
		device pci 1c.6 alias pcie_rp7 off end
		device pci 1c.7 alias pcie_rp8 off end
		device pci 1d.0 alias pcie_rp9 off end
		device pci 1d.1 alias pcie_rp10 off end
		device pci 1d.2 alias pcie_rp11 off end
		device pci 1d.3 alias pcie_rp12 off end
		device pci 1e.0 alias uart0 off end
		device pci 1e.1 alias uart1 off end
		device pci 1e.2 alias gspi0 off end
		device pci 1e.3 alias gspi1 off end
		device pci 1f.0 alias pch_espi on end
		device pci 1f.1 alias p2sb off end
		device pci 1f.2 alias pmc hidden end
		device pci 1f.3 alias hda off end
		device pci 1f.4 alias smbus off end
		device pci 1f.5 alias fast_spi on end
		device pci 1f.6 alias gbe off end
		device pci 1f.7 alias south_tracehub off end
	end
end