util/intelp2m: Print the current project version
[coreboot2.git] / src / mainboard / system76 / adl / devicetree.cb
blob4e2731859fbe77713989b6323e7e4aef629bf778
1 # SPDX-License-Identifier: GPL-2.0-only
3 chip soc/intel/alderlake
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 # Enable C6 DRAM
17 register "enable_c6dram" = "1"
19 # Thermal
20 register "tcc_offset" = "8"
22 device domain 0 on
23 device ref system_agent on end
24 device ref igpu on
25 # DDIA is eDP, DDIB is HDMI
26 register "ddi_portA_config" = "1"
27 register "ddi_ports_config" = "{
28 [DDI_PORT_A] = DDI_ENABLE_HPD,
29 [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
32 register "gfx" = "GMA_DEFAULT_PANEL(0)"
33 end
34 device ref tbt_pcie_rp0 on end
35 device ref shared_sram on end
36 device ref cnvi_wifi on
37 register "cnvi_bt_core" = "true"
38 register "cnvi_bt_audio_offload" = "true"
39 chip drivers/wifi/generic
40 register "wake" = "GPE0_PME_B0"
41 device generic 0 on end
42 end
43 end
44 device ref i2c0 on
45 # Touchpad I2C bus
46 register "serial_io_i2c_mode[PchSerialIoIndexI2C0]" = "PchSerialIoPci"
47 chip drivers/i2c/hid
48 register "generic.hid" = ""ELAN0412""
49 register "generic.desc" = ""ELAN Touchpad""
50 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_E12)"
51 register "generic.detect" = "1"
52 register "hid_desc_reg_offset" = "0x01"
53 device i2c 15 on end
54 end
55 chip drivers/i2c/hid
56 register "generic.hid" = ""FTCS1000""
57 register "generic.desc" = ""FocalTech Touchpad""
58 register "generic.irq_gpio" = "ACPI_GPIO_IRQ_LEVEL_LOW(GPP_E12)"
59 register "generic.detect" = "1"
60 register "hid_desc_reg_offset" = "0x01"
61 device i2c 38 on end
62 end
63 end
64 device ref i2c1 on
65 register "serial_io_i2c_mode[PchSerialIoIndexI2C1]" = "PchSerialIoPci"
66 end
68 device ref heci1 on end
69 device ref sata on
70 register "sata_salp_support" = "1"
71 register "sata_ports_enable[1]" = "1" # SSD1
72 register "sata_ports_dev_slp[1]" = "1"
73 end
74 device ref pch_espi on
75 register "gen1_dec" = "0x00040069" # EC PM channel
76 register "gen2_dec" = "0x00fc0e01" # AP/EC command
77 register "gen3_dec" = "0x00fc0f01" # AP/EC debug
78 chip drivers/pc80/tpm
79 device pnp 0c31.0 on end
80 end
81 end
82 device ref p2sb on end
83 device ref hda on
84 register "pch_hda_audio_link_hda_enable" = "1"
85 register "pch_hda_sdi_enable[0]" = "true"
86 register "pch_hda_idisp_codec_enable" = "1"
87 register "pch_hda_idisp_link_frequency" = "HDA_LINKFREQ_96MHZ"
88 register "pch_hda_idisp_link_tmode" = "HDA_TMODE_8T"
89 end
90 device ref smbus on end
91 device ref fast_spi on end
92 end
93 end