Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 1 | chip soc/intel/alderlake |
| 2 | register "common_soc_config" = "{ |
| 3 | // Touchpad I2C bus |
| 4 | .i2c[0] = { |
| 5 | .speed = I2C_SPEED_FAST, |
| 6 | .rise_time_ns = 80, |
| 7 | .fall_time_ns = 110, |
| 8 | }, |
| 9 | }" |
| 10 | |
| 11 | # Enable Enhanced Intel SpeedStep |
| 12 | register "eist_enable" = "1" |
| 13 | |
| 14 | # Enable C6 DRAM |
| 15 | register "enable_c6dram" = "1" |
| 16 | |
| 17 | # Thermal |
| 18 | register "tcc_offset" = "8" |
| 19 | |
Sean Rhodes | 42f8b59 | 2023-08-08 13:46:53 +0100 | [diff] [blame] | 20 | # Disable package C state demotion on Raptorlake as a W/A for S0ix issues |
| 21 | # seen on J0 and Q0 SKUs |
| 22 | register "disable_package_c_state_demotion" = "1" |
| 23 | |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 24 | device cpu_cluster 0 on end |
| 25 | |
| 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, |
| 34 | }" |
| 35 | |
| 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 |
| 50 | |
| 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 |
Tim Crawford | 29f1b79 | 2024-05-21 14:54:51 -0600 | [diff] [blame^] | 56 | #register "sata_ports_dev_slp[1]" = "1" |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 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" |
Tim Crawford | daa4fb2 | 2024-02-27 09:41:43 -0700 | [diff] [blame] | 69 | register "pch_hda_sdi_enable[0]" = "1" |
Tim Crawford | 930dbc0 | 2023-05-16 12:41:31 -0600 | [diff] [blame] | 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 |