1 # SPDX
-License
-Identifier
: GPL
-2.0-only
3 # TODO
: Update
for birmanplus
6 register
"common_config.espi_config" = "{
7 .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN | ESPI_DECODE_IO_0X60_0X64_EN,
8 .generic_io_range[0] = {
12 .generic_io_range[1] = {
16 .io_mode = ESPI_IO_MODE_QUAD,
17 .op_freq_mhz = ESPI_OP_FREQ_16_MHZ,
18 .crc_check_enable = 1,
19 .alert_pin = ESPI_ALERT_PIN_PUSH_PULL,
26 register
"i2c_scl_reset" = "GPIO_I2C0_SCL | GPIO_I2C1_SCL |
27 GPIO_I2C2_SCL | GPIO_I2C3_SCL"
29 register
"i2c[0].early_init" = "1"
30 register
"i2c[1].early_init" = "1"
31 register
"i2c[2].early_init" = "1"
32 register
"i2c[3].early_init" = "1"
34 # I2C Pad
Control RX
Select Configuration
35 register
"i2c_pad[0].rx_level" = "I2C_PAD_RX_1_8V"
36 register
"i2c_pad[1].rx_level" = "I2C_PAD_RX_1_8V"
37 register
"i2c_pad[2].rx_level" = "I2C_PAD_RX_1_8V"
38 register
"i2c_pad[3].rx_level" = "I2C_PAD_RX_1_8V"
40 register
"s0ix_enable" = "true"
42 register
"pspp_policy" = "DXIO_PSPP_DISABLED" # TODO
: reenable when PSPP works
44 register
"usb_phy_custom" = "true"
45 register
"usb_phy" = "{
53 .txpreempamptune = 0x3,
54 .txpreemppulsetune = 0x0,
67 .txpreempamptune = 0x3,
68 .txpreemppulsetune = 0x0,
81 .txpreempamptune = 0x3,
82 .txpreemppulsetune = 0x0,
95 .txpreempamptune = 0x3,
96 .txpreemppulsetune = 0x0,
109 .txpreempamptune = 0x3,
110 .txpreemppulsetune = 0x0,
123 .txpreempamptune = 0x3,
124 .txpreemppulsetune = 0x0,
137 .txpreempamptune = 0x3,
138 .txpreemppulsetune = 0x0,
151 .txpreempamptune = 0x3,
152 .txpreemppulsetune = 0x0,
161 .tx_vboost_lvl_en = 0x0,
162 .tx_vboost_lvl = 0x5,
167 .tx_vboost_lvl_en = 0x0,
168 .tx_vboost_lvl = 0x5,
173 .tx_vboost_lvl_en = 0x0,
174 .tx_vboost_lvl = 0x5,
176 .ComboPhyStaticConfig[0] = USB_COMBO_PHY_MODE_USB_C,
177 .ComboPhyStaticConfig[1] = USB_COMBO_PHY_MODE_USB_C,
178 .ComboPhyStaticConfig[2] = USB_COMBO_PHY_MODE_USB_C,
181 register
"gpp_clk_config[0]" = "GPP_CLK_REQ"
182 register
"gpp_clk_config[1]" = "GPP_CLK_REQ"
183 register
"gpp_clk_config[2]" = "GPP_CLK_OFF"
184 register
"gpp_clk_config[3]" = "GPP_CLK_REQ"
187 device ref iommu on
end
188 device ref gpp_bridge_2_1 on
end # GBE
189 device ref gpp_bridge_2_2 on
end # WIFI
190 device ref gpp_bridge_2_3 on
end # NVMe SSD
191 device ref gpp_bridge_a on # Internal GPP Bridge
0 to Bus A
192 device ref gfx on
end # Internal GPU
(GFX
)
193 device ref gfx_hda on
end # Display HD Audio Controller
(GFXAZ
)
194 device ref crypto on
end # Crypto Coprocessor
195 device ref acp on
end # Audio Processor
(ACP
)
197 device ref gpp_bridge_c on # Internal GPP Bridge
2 to Bus C
198 device ref xhci_0 on # USB
3.1 (USB0
)
199 chip drivers
/usb
/acpi
200 device ref xhci_0_root_hub on
201 chip drivers
/usb
/acpi
202 device ref usb3_port2 on
end
204 chip drivers
/usb
/acpi
205 device ref usb3_port3 on
end
207 chip drivers
/usb
/acpi
208 device ref usb2_port2 on
end
210 chip drivers
/usb
/acpi
211 device ref usb2_port3 on
end
213 chip drivers
/usb
/acpi
214 device ref usb2_port4 on
end
216 chip drivers
/usb
/acpi
217 device ref usb2_port5 on
end
222 device ref usb4_xhci_0 on
223 chip drivers
/usb
/acpi
224 device ref usb4_xhci_0_root_hub on
225 chip drivers
/usb
/acpi
226 device ref usb3_port0 on
end
228 chip drivers
/usb
/acpi
229 device ref usb2_port0 on
end
234 device ref usb4_xhci_1 on
236 chip drivers
/usb
/acpi
237 register
"type" = "UPC_TYPE_HUB"
238 device ref usb4_xhci_1_root_hub on
239 chip drivers
/usb
/acpi
240 device ref usb3_port1 on
end
242 chip drivers
/usb
/acpi
243 device ref usb2_port1 on
end
251 device ref i2c_0 on
end
252 device ref i2c_1 on
end
253 device ref i2c_2 on
end
254 device ref i2c_3 on
end
255 device ref uart_0 on
end # UART0