soc/intel/alderlake: Add ADL-P 4+4 with 28W TDP
[coreboot.git] / src / mainboard / system76 / tgl-u / variants / lemp10 / overridetree.cb
blob3be5b5ceab1784325dc4d830fe6b5864f7e09b8e
1 chip soc/intel/tigerlake
2 # Power limits
3 register "power_limits_config[POWER_LIMITS_U_4_CORE]" = "{
4 .tdp_pl1_override = 20,
5 .tdp_pl2_override = 30,
6 }"
7 register "power_limits_config[POWER_LIMITS_U_2_CORE]" = "{
8 .tdp_pl1_override = 20,
9 .tdp_pl2_override = 30,
12 # GPE configuration
13 register "pmc_gpe0_dw0" = "PMC_GPP_R"
14 register "pmc_gpe0_dw1" = "PMC_GPP_B"
15 register "pmc_gpe0_dw2" = "PMC_GPP_D"
17 device domain 0 on
18 subsystemid 0x1558 0x14a1 inherit
20 device ref peg on
21 # PCIe PEG0 x4, Clock 3 (SSD1)
22 # Despite the name, SSD2_CLKREQ# is used for SSD1
23 register "PcieClkSrcUsage[3]" = "0x40"
24 register "PcieClkSrcClkReq[3]" = "3"
25 chip soc/intel/common/block/pcie/rtd3
26 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C13)" # SSD1_PWR_DN#
27 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C22)" # GPP_C12_RTD3 (labeled incorrectly)
28 register "srcclk_pin" = "3" # SSD2_CLKREQ#
29 device generic 0 on end
30 end
31 end
32 device ref north_xhci on # J_TYPEC1
33 register "UsbTcPortEn" = "1"
34 register "TcssXhciEn" = "1"
35 chip drivers/usb/acpi
36 device ref tcss_root_hub on
37 chip drivers/usb/acpi
38 register "desc" = ""USB3 J_TYPEC1""
39 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
40 register "group" = "ACPI_PLD_GROUP(1, 1)"
41 device ref tcss_usb3_port1 on end
42 end
43 end
44 end
45 end
46 device ref tbt_dma0 on # J_TYPEC1
47 chip drivers/intel/usb4/retimer
48 register "dfp[0].power_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_A23)"
49 use tcss_usb3_port1 as dfp[0].typec_port
50 device generic 0 on end
51 end
52 end
54 device ref south_xhci on
55 # USB2
56 register "usb2_ports[0]" = "USB2_PORT_MID(OC_SKIP)" # J_USB3_1
57 register "usb2_ports[1]" = "USB2_PORT_MID(OC_SKIP)" # J_USB3_2
58 register "usb2_ports[2]" = "USB2_PORT_TYPE_C(OC_SKIP)" # J_TYPEC1
59 register "usb2_ports[6]" = "USB2_PORT_MID(OC_SKIP)" # Camera
60 register "usb2_ports[9]" = "USB2_PORT_MID(OC_SKIP)" # Bluetooth
61 # USB3
62 register "usb3_ports[0]" = "USB3_PORT_DEFAULT(OC_SKIP)" # J_USB3_1
63 register "usb3_ports[1]" = "USB3_PORT_DEFAULT(OC_SKIP)" # J_USB3_2
64 # ACPI
65 chip drivers/usb/acpi
66 device ref xhci_root_hub on
67 chip drivers/usb/acpi
68 register "desc" = ""USB2 J_USB3_1""
69 register "type" = "UPC_TYPE_A"
70 register "group" = "ACPI_PLD_GROUP(1, 2)"
71 device ref usb2_port1 on end
72 end
73 chip drivers/usb/acpi
74 register "desc" = ""USB2 J_USB3_2""
75 register "type" = "UPC_TYPE_A"
76 register "group" = "ACPI_PLD_GROUP(2, 1)"
77 device ref usb2_port2 on end
78 end
79 chip drivers/usb/acpi
80 register "desc" = ""USB2 J_TYPEC1""
81 register "type" = "UPC_TYPE_C_USB2_SS_SWITCH"
82 register "group" = "ACPI_PLD_GROUP(1, 1)"
83 device ref usb2_port3 on end
84 end
85 chip drivers/usb/acpi
86 register "desc" = ""USB2 Camera""
87 register "type" = "UPC_TYPE_INTERNAL"
88 device ref usb2_port7 on end
89 end
90 chip drivers/usb/acpi
91 register "desc" = ""USB2 Bluetooth""
92 register "type" = "UPC_TYPE_INTERNAL"
93 device ref usb2_port10 on end
94 end
95 chip drivers/usb/acpi
96 register "desc" = ""USB3 J_USB3_1""
97 register "type" = "UPC_TYPE_A"
98 register "group" = "ACPI_PLD_GROUP(1, 1)"
99 device ref usb3_port1 on end
101 chip drivers/usb/acpi
102 register "desc" = ""USB3 J_USB3_2""
103 register "type" = "UPC_TYPE_A"
104 register "group" = "ACPI_PLD_GROUP(2, 1)"
105 device ref usb3_port2 on end
110 device ref sata on
111 # SATA1 (SSD2)
112 register "SataPortsEnable[1]" = "1"
113 register "SataPortsDevSlp[1]" = "1"
114 register "SataPortsEnableDitoConfig[1]" = "1"
115 register "SataSalpSupport" = "1"
117 device ref pcie_rp3 on
118 # PCIe root port #3 x1, Clock 1 (WLAN)
119 register "PcieRpEnable[2]" = "1"
120 register "PcieRpLtrEnable[2]" = "1"
121 register "PcieClkSrcUsage[1]" = "2"
122 register "PcieClkSrcClkReq[1]" = "1"
123 register "PcieRpSlotImplemented[2]" = "1"
125 device ref pcie_rp6 on
126 # PCIe root port #6 x1, Clock 2 (CARD)
127 register "PcieRpEnable[5]" = "1"
128 register "PcieRpLtrEnable[5]" = "1"
129 register "PcieClkSrcUsage[2]" = "5"
130 register "PcieClkSrcClkReq[2]" = "2"
132 device ref pcie_rp9 on
133 # PCIe root port #9 x4, Clock 0 (SSD2)
134 # Despite the name, SSD1_CLKREQ# is used for SSD2
135 register "PcieRpEnable[8]" = "1"
136 register "PcieRpLtrEnable[8]" = "1"
137 register "PcieClkSrcUsage[0]" = "8"
138 register "PcieClkSrcClkReq[0]" = "0"
139 register "PcieRpSlotImplemented[8]" = "1"
140 chip soc/intel/common/block/pcie/rtd3
141 register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D14)" # SSD2_PWR_DN#
142 register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_D9)" # GPP_D13_RTD3 (labeled incorrectly)
143 register "srcclk_pin" = "0"
144 device generic 0 on end
147 device ref pmc hidden
148 # The pmc_mux chip driver is a placeholder for the
149 # PMC.MUX device in the ACPI hierarchy.
150 chip drivers/intel/pmc_mux
151 device generic 0 on
152 chip drivers/intel/pmc_mux/conn
153 # J_TYPEC1
154 use usb2_port3 as usb2_port
155 use tcss_usb3_port1 as usb3_port
156 # SBU & HSL follow CC
157 device generic 0 alias conn0 on end