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