soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / mainboard / system76 / adl / variants / galp6 / overridetree.cb
blobcac4df644dc5c2bef2b91dcd29f806cca4a3a637
1 chip soc/intel/alderlake
2 register "power_limits_config[ADL_P_282_442_482_28W_CORE]" = "{
3 .tdp_pl1_override = 28,
4 .tdp_pl2_override = 60,
5 .tdp_pl4 = 90,
6 }"
8 # GPE configuration
9 register "pmc_gpe0_dw0" = "PMC_GPP_A"
10 register "pmc_gpe0_dw1" = "PMC_GPP_R"
11 register "pmc_gpe0_dw2" = "PMC_GPD"
13 device domain 0 on
14 subsystemid 0x1558 0x4041 inherit
16 device ref pcie4_0 on
17 # PCIe PEG0 x4, Clock 0 (SSD1)
18 register "cpu_pcie_rp[CPU_RP(1)]" = "{
19 .clk_src = 0,
20 .clk_req = 0,
21 .flags = PCIE_RP_LTR | PCIE_RP_AER,
23 chip soc/intel/common/block/pcie/rtd3
24 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D14)" # SSD1_PWR_EN
25 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F20)" # M2_SSD1_RST#
26 register "srcclk_pin" = "0" # SSD1_CLKREQ#
27 device generic 0 on end
28 end
29 end
30 device ref tcss_xhci on
31 register "tcss_ports[0]" = "TCSS_PORT_DEFAULT(OC_SKIP)"
32 chip drivers/usb/acpi
33 device ref tcss_root_hub on
34 chip drivers/usb/acpi
35 register "desc" = ""USB3 TBT Type-C""
36 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
37 device ref tcss_usb3_port1 on end
38 end
39 end
40 end
41 end
42 device ref tcss_dma0 on
43 chip drivers/intel/usb4/retimer
44 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E4)"
45 use tcss_usb3_port1 as dfp[0].typec_port
46 device generic 0 on end
47 end
48 end
49 device ref xhci on
50 # USB2
51 register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # J_USB3_2
52 register "usb2_ports[1]" = "USB2_PORT_TYPE_C(OC_SKIP)" # J_TYPEC1
53 register "usb2_ports[2]" = "USB2_PORT_MID(OC_SKIP)" # J_USB3_1
54 register "usb2_ports[4]" = "USB2_PORT_MID(OC_SKIP)" # Fingerprint
55 register "usb2_ports[5]" = "USB2_PORT_TYPE_C(OC_SKIP)" # J_TYPEC2
56 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Camera
57 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth
58 # USB3
59 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A
60 register "usb3_ports[2]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-A
61 register "usb3_ports[3]" = "USB3_PORT_DEFAULT(OC_SKIP)" # Type-C
62 # ACPI
63 chip drivers/usb/acpi
64 device ref xhci_root_hub on
65 chip drivers/usb/acpi
66 register "desc" = ""USB2 J_USB3_2""
67 register "type" = "UPC_TYPE_A"
68 device ref usb2_port1 on end
69 end
70 chip drivers/usb/acpi
71 register "desc" = ""USB2 J_TYPEC1""
72 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
73 device ref usb2_port2 on end
74 end
75 chip drivers/usb/acpi
76 register "desc" = ""USB2 J_USB3_1""
77 register "type" = "UPC_TYPE_A"
78 device ref usb2_port3 on end
79 end
80 chip drivers/usb/acpi
81 register "desc" = ""USB2 Fingerprint""
82 register "type" = "UPC_TYPE_INTERNAL"
83 device ref usb2_port5 on end
84 end
85 chip drivers/usb/acpi
86 register "desc" = ""USB2 J_TYPEC2""
87 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
88 device ref usb2_port6 on end
89 end
90 chip drivers/usb/acpi
91 register "desc" = ""USB2 Camera""
92 register "type" = "UPC_TYPE_INTERNAL"
93 device ref usb2_port7 on end
94 end
95 chip drivers/usb/acpi
96 register "desc" = ""USB2 Bluetooth""
97 register "type" = "UPC_TYPE_INTERNAL"
98 device ref usb2_port10 on end
99 end
100 chip drivers/usb/acpi
101 register "desc" = ""USB3 J_USB3_2""
102 register "type" = "UPC_TYPE_A"
103 device ref usb3_port1 on end
105 chip drivers/usb/acpi
106 register "desc" = ""USB3 J_USB3_1""
107 register "type" = "UPC_TYPE_A"
108 device ref usb3_port3 on end
110 chip drivers/usb/acpi
111 register "desc" = ""USB3 J_TYPEC1""
112 register "type" = "UPC_TYPE_A"
113 device ref usb3_port4 on end
118 device ref i2c0 on
119 # Touchpad I2C bus
120 register "serial_io_i2c_mode[PchSerialIoIndexI2C0]" = "PchSerialIoPci"
121 chip drivers/i2c/hid
122 register "generic.hid" = ""ELAN0412""
123 register "generic.desc" = ""ELAN Touchpad""
124 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_A17)"
125 register "generic.detect" = "1"
126 register "hid_desc_reg_offset" = "0x01"
127 device i2c 15 on end
129 chip drivers/i2c/hid
130 register "generic.hid" = ""FTCS1000""
131 register "generic.desc" = ""FocalTech Touchpad""
132 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_A17)"
133 register "generic.detect" = "1"
134 register "hid_desc_reg_offset" = "0x01"
135 device i2c 38 on end
138 device ref sata off end
139 device ref pcie_rp5 on
140 # PCIe RP#5 x1, Clock 2 (WLAN)
141 register "pch_pcie_rp[PCH_RP(5)]" = "{
142 .clk_src = 2,
143 .clk_req = 2,
144 .flags = PCIE_RP_LTR | PCIE_RP_AER,
146 chip soc/intel/common/block/pcie/rtd3
147 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_E3)" # PCH_WLAN_EN
148 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B13)" # BUF_PLT_RST#
149 register "srcclk_pin" = "2" # WLAN_CLKREQ#
150 device generic 0 on end
153 device ref pcie_rp9 on
154 # PCIe RP#9 x1, Clock 5 (CARD)
155 register "pch_pcie_rp[PCH_RP(9)]" = "{
156 .clk_src = 5,
157 .clk_req = 5,
158 .flags = PCIE_RP_HOTPLUG | PCIE_RP_LTR | PCIE_RP_AER,
161 device ref pcie_rp10 on
162 # PCIe RP#10 x1, Clock 6 (GLAN)
163 register "pch_pcie_rp[PCH_RP(10)]" = "{
164 .clk_src = 6,
165 .clk_req = 6,
166 .flags = PCIE_RP_LTR | PCIE_RP_AER,
168 chip soc/intel/common/block/pcie/rtd3
169 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_F7)" # LAN_PLT_RST#
170 register "srcclk_pin" = "6" # LAN_CLKREQ#
171 device generic 0 on end
174 device ref pmc hidden
175 chip drivers/intel/pmc_mux
176 device generic 0 on
177 chip drivers/intel/pmc_mux/conn
178 # J_TYPEC2
179 use usb2_port6 as usb2_port
180 use tcss_usb3_port1 as usb3_port
181 device generic 0 alias conn0 on end