soc/mediatek/mt8196: Initialize SSPM
[coreboot2.git] / src / mainboard / system76 / mtl / devicetree.cb
blobd409380560c5fd2d063ee8770a532d0b3424eaec
1 # SPDX-License-Identifier: GPL-2.0-only
3 chip soc/intel/meteorlake
4 register "common_soc_config" = "{
5 // Touchpad I2C bus
6 .i2c[0] = {
7 .speed = I2C_SPEED_FAST,
8 .rise_time_ns = 80,
9 .fall_time_ns = 110,
13 # Enable Enhanced Intel SpeedStep
14 register "eist_enable" = "true"
16 # Thermal
17 register "tcc_offset" = "8"
19 device cpu_cluster 0 on end
21 device domain 0 on
22 device ref system_agent on end
23 device ref igpu on
24 # DDIA is eDP, TCP2 is HDMI
25 register "ddi_port_A_config" = "1"
26 register "ddi_ports_config" = "{
27 [DDI_PORT_A] = DDI_ENABLE_HPD,
28 [DDI_PORT_2] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
31 register "gfx" = "GMA_DEFAULT_PANEL(0)"
32 end
33 device ref ioe_shared_sram on end
34 device ref pmc_shared_sram on end
35 device ref cnvi_wifi on
36 register "cnvi_bt_core" = "true"
37 register "cnvi_bt_audio_offload" = "true"
38 chip drivers/wifi/generic
39 register "wake" = "GPE0_PME_B0"
40 device generic 0 on end
41 end
42 end
43 device ref i2c1 on
44 register "serial_io_i2c_mode[PchSerialIoIndexI2C1]" = "PchSerialIoPci"
45 end
47 device ref heci1 on end
48 device ref soc_espi on
49 register "gen1_dec" = "0x00040069" # EC PM channel
50 register "gen2_dec" = "0x00fc0e01" # AP/EC command
51 register "gen3_dec" = "0x00fc0f01" # AP/EC debug
52 chip drivers/pc80/tpm
53 device pnp 0c31.0 on end
54 end
55 end
56 device ref p2sb on end
57 device ref hda on
58 register "pch_hda_audio_link_hda_enable" = "1"
59 register "pch_hda_sdi_enable[0]" = "true"
60 register "pch_hda_idisp_codec_enable" = "1"
61 register "pch_hda_idisp_link_frequency" = "HDA_LINKFREQ_96MHZ"
62 register "pch_hda_idisp_link_tmode" = "HDA_TMODE_8T"
63 end
64 device ref smbus on end
65 device ref fast_spi on end
66 end
67 end