mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / system76 / rpl / devicetree.cb
blob5acf4bba0568e12292c7e4150e9081bbf1d4cbf5
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 # Disable package C state demotion on Raptorlake as a W/A for S0ix issues
23 # seen on J0 and Q0 SKUs
24 register "disable_package_c_state_demotion" = "true"
26 device domain 0 on
27 device ref system_agent on end
28 device ref igpu on
29 # DDIA is eDP, DDIB is HDMI
30 register "ddi_portA_config" = "1"
31 register "ddi_ports_config" = "{
32 [DDI_PORT_A] = DDI_ENABLE_HPD,
33 [DDI_PORT_B] = DDI_ENABLE_HPD | DDI_ENABLE_DDC,
36 register "gfx" = "GMA_DEFAULT_PANEL(0)"
37 end
38 device ref shared_sram on end
39 device ref cnvi_wifi on
40 register "cnvi_bt_core" = "true"
41 register "cnvi_bt_audio_offload" = "true"
42 chip drivers/wifi/generic
43 register "wake" = "GPE0_PME_B0"
44 device generic 0 on end
45 end
46 end
47 device ref i2c1 on
48 register "serial_io_i2c_mode[PchSerialIoIndexI2C1]" = "PchSerialIoPci"
49 end
51 device ref heci1 on end
52 device ref sata on
53 register "sata_salp_support" = "1"
54 register "sata_ports_enable[1]" = "1" # SSD1
55 # FIXME: DevSlp breaks S0ix
56 #register "sata_ports_dev_slp[1]" = "1"
57 end
58 device ref pch_espi on
59 register "gen1_dec" = "0x00040069" # EC PM channel
60 register "gen2_dec" = "0x00fc0e01" # AP/EC command
61 register "gen3_dec" = "0x00fc0f01" # AP/EC debug
62 chip drivers/pc80/tpm
63 device pnp 0c31.0 on end
64 end
65 end
66 device ref p2sb on end
67 device ref hda on
68 register "pch_hda_audio_link_hda_enable" = "1"
69 register "pch_hda_sdi_enable[0]" = "true"
70 register "pch_hda_idisp_codec_enable" = "1"
71 register "pch_hda_idisp_link_frequency" = "HDA_LINKFREQ_96MHZ"
72 register "pch_hda_idisp_link_tmode" = "HDA_TMODE_8T"
73 end
74 device ref smbus on end
75 device ref fast_spi on end
76 end
77 end