1 # SPDX
-License
-Identifier
: GPL
-2.0-only
4 register
"common_config.espi_config" = "{
5 .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN | ESPI_DECODE_IO_0X60_0X64_EN,
6 .generic_io_range[0] = {
10 .generic_io_range[1] = {
14 .io_mode = ESPI_IO_MODE_QUAD,
15 .op_freq_mhz = ESPI_OP_FREQ_16_MHZ,
16 .crc_check_enable = 1,
17 .alert_pin = ESPI_ALERT_PIN_PUSH_PULL,
24 register
"i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL |
25 GPIO_I2C2_SCL | GPIO_I2C3_SCL"
27 register
"i2c[0].early_init" = "1"
28 register
"i2c[1].early_init" = "1"
29 register
"i2c[2].early_init" = "1"
30 register
"i2c[3].early_init" = "1"
32 # I2C Pad
Control RX
Select Configuration
33 register
"i2c_pad[0].rx_level" = "I2C_PAD_RX_1_8V"
34 register
"i2c_pad[1].rx_level" = "I2C_PAD_RX_1_8V"
35 register
"i2c_pad[2].rx_level" = "I2C_PAD_RX_1_8V"
36 register
"i2c_pad[3].rx_level" = "I2C_PAD_RX_1_8V"
38 register
"s0ix_enable" = "true"
40 register
"pspp_policy" = "DXIO_PSPP_DISABLED" # TODO
: reenable when PSPP works
42 register
"usb_phy_custom" = "1"
43 register
"usb_phy" = "{
51 .txpreempamptune = 0x2,
52 .txpreemppulsetune = 0x0,
65 .txpreempamptune = 0x2,
66 .txpreemppulsetune = 0x0,
79 .txpreempamptune = 0x2,
80 .txpreemppulsetune = 0x0,
93 .txpreempamptune = 0x2,
94 .txpreemppulsetune = 0x0,
107 .txpreempamptune = 0x2,
108 .txpreemppulsetune = 0x0,
121 .txpreempamptune = 0x2,
122 .txpreemppulsetune = 0x0,
131 .tx_vboost_lvl_en = 0x0,
132 .tx_vboost_lvl = 0x5,
137 .tx_vboost_lvl_en = 0x0,
138 .tx_vboost_lvl = 0x5,
143 .tx_vboost_lvl_en = 0x0,
144 .tx_vboost_lvl = 0x5,
146 .ComboPhyStaticConfig[0] = USB_COMBO_PHY_MODE_USB_C,
147 .ComboPhyStaticConfig[1] = USB_COMBO_PHY_MODE_USB_C,
148 .BatteryChargerEnable = 0,
149 .PhyP3CpmP4Support = 0,
152 register
"gpp_clk_config[0]" = "GPP_CLK_REQ"
153 register
"gpp_clk_config[1]" = "GPP_CLK_REQ"
154 register
"gpp_clk_config[2]" = "GPP_CLK_OFF"
155 register
"gpp_clk_config[3]" = "GPP_CLK_REQ"
158 device ref iommu on
end
159 device ref gpp_bridge_0 on
end # GBE
160 device ref gpp_bridge_1 on
end # WIFI
161 device ref gpp_bridge_2 on
end # NVMe SSD
162 device ref gpp_bridge_a on # Internal GPP Bridge
0 to Bus A
163 device ref gfx on
end # Internal GPU
(GFX
)
164 device ref gfx_hda on
end # Display HD Audio Controller
(GFXAZ
)
165 device ref crypto on
end # Crypto Coprocessor
166 device ref xhci_0 on # USB
3.1 (USB0
)
167 chip drivers
/usb
/acpi
168 device ref xhci_0_root_hub on
169 chip drivers
/usb
/acpi
170 device ref usb3_port0 on
end
172 chip drivers
/usb
/acpi
173 device ref usb2_port0 on
end
175 chip drivers
/usb
/acpi
176 device ref usb2_port1 on
end
181 device ref xhci_1 on # USB
3.1 (USB1
)
182 chip drivers
/usb
/acpi
183 device ref xhci_1_root_hub on
184 chip drivers
/usb
/acpi
185 device ref usb3_port2 on
end
187 chip drivers
/usb
/acpi
188 device ref usb3_port3 on
end
190 chip drivers
/usb
/acpi
191 device ref usb2_port2 on
end
193 chip drivers
/usb
/acpi
194 device ref usb2_port3 on
end
196 chip drivers
/usb
/acpi
197 device ref usb2_port4 on
end
202 device ref acp on
end # Audio Processor
(ACP
)
203 device ref mp2 on
end # Sensor Fusion Hub
(MP2
)
205 device ref gpp_bridge_c on # Internal GPP Bridge
2 to Bus C
208 chip drivers
/usb
/acpi
209 register
"type" = "UPC_TYPE_HUB"
210 device usb
0.0 alias xhci_2_root_hub on
211 chip drivers
/usb
/acpi
212 device usb
2.0 alias usb2_port5 on
end
220 device ref i2c_0 on
end
221 device ref i2c_1 on
end
222 device ref i2c_2 on
end
223 device ref i2c_3 on
end
224 device ref uart_0 on
end # UART0