Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 1 | chip northbridge/intel/haswell |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 2 | # IGD Displays |
| 3 | register "gfx.ndid" = "3" |
| 4 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }" |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 5 | |
| 6 | # Enable eDP Hotplug with 6ms pulse |
| 7 | register "gpu_dp_d_hotplug" = "0x06" |
| 8 | |
| 9 | # Disable DisplayPort C Hotplug |
| 10 | register "gpu_dp_c_hotplug" = "0x00" |
| 11 | |
| 12 | # Enable HDMI Hotplug with 6ms pulse |
| 13 | register "gpu_dp_b_hotplug" = "0x06" |
| 14 | |
| 15 | # Set backlight PWM values for eDP |
| 16 | register "gpu_cpu_backlight" = "0x00000200" |
| 17 | register "gpu_pch_backlight" = "0x04000000" |
| 18 | |
Duncan Laurie | ccd2f28f | 2013-06-11 08:49:55 -0700 | [diff] [blame] | 19 | # Enable Panel and configure power delays |
| 20 | register "gpu_panel_port_select" = "1" # eDP |
| 21 | register "gpu_panel_power_cycle_delay" = "5" # 400ms |
| 22 | register "gpu_panel_power_up_delay" = "400" # 40ms |
| 23 | register "gpu_panel_power_down_delay" = "150" # 15ms |
| 24 | register "gpu_panel_power_backlight_on_delay" = "2100" # 210ms |
| 25 | register "gpu_panel_power_backlight_off_delay" = "2100" # 210ms |
| 26 | |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 27 | device cpu_cluster 0 on |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 28 | chip cpu/intel/haswell |
Matt DeVillier | 31769d9 | 2015-04-30 01:19:16 -0500 | [diff] [blame] | 29 | device lapic 0 on end |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 30 | # Magic APIC ID to locate this chip |
| 31 | device lapic 0xACAC off end |
| 32 | |
| 33 | register "c1_battery" = "2" # ACPI(C1) = MWAIT(C1E) |
Duncan Laurie | 8d716b9 | 2013-07-22 15:33:10 -0700 | [diff] [blame] | 34 | register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3) |
| 35 | register "c3_battery" = "9" # ACPI(C3) = MWAIT(C7S) |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 36 | |
| 37 | register "c1_acpower" = "2" # ACPI(C1) = MWAIT(C1E) |
Duncan Laurie | 8d716b9 | 2013-07-22 15:33:10 -0700 | [diff] [blame] | 38 | register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3) |
| 39 | register "c3_acpower" = "9" # ACPI(C3) = MWAIT(C7S) |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 40 | end |
| 41 | end |
| 42 | |
| 43 | device domain 0 on |
| 44 | device pci 00.0 on end # host bridge |
| 45 | device pci 02.0 on end # vga controller |
Duncan Laurie | 0a7c49e | 2013-06-20 12:40:55 -0700 | [diff] [blame] | 46 | device pci 03.0 on end # mini-hd audio |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 47 | |
| 48 | chip southbridge/intel/lynxpoint |
| 49 | register "pirqa_routing" = "0x8b" |
| 50 | register "pirqb_routing" = "0x8a" |
| 51 | register "pirqc_routing" = "0x8b" |
| 52 | register "pirqd_routing" = "0x8b" |
| 53 | register "pirqe_routing" = "0x80" |
| 54 | register "pirqf_routing" = "0x80" |
| 55 | register "pirqg_routing" = "0x80" |
| 56 | register "pirqh_routing" = "0x80" |
| 57 | |
| 58 | # EC range is 0x800-0x9ff |
| 59 | register "gen1_dec" = "0x00fc0801" |
| 60 | register "gen2_dec" = "0x00fc0901" |
| 61 | |
| 62 | # EC_SMI is GPIO34 |
| 63 | register "alt_gp_smi_en" = "0x0004" |
| 64 | register "gpe0_en_1" = "0x00000000" |
| 65 | # EC_SCI is GPIO36 |
| 66 | register "gpe0_en_2" = "0x00000010" |
| 67 | register "gpe0_en_3" = "0x00000000" |
| 68 | register "gpe0_en_4" = "0x00000000" |
| 69 | |
| 70 | register "ide_legacy_combined" = "0x0" |
| 71 | register "sata_ahci" = "0x1" |
| 72 | register "sata_port_map" = "0x1" |
| 73 | |
Shawn Nematbakhsh | c59fda3 | 2013-08-13 10:50:15 -0700 | [diff] [blame] | 74 | # DTLE DATA / EDGE values |
| 75 | register "sata_port0_gen3_dtle" = "0x5" |
| 76 | register "sata_port1_gen3_dtle" = "0x5" |
| 77 | |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 78 | register "sio_acpi_mode" = "0" |
| 79 | register "sio_i2c0_voltage" = "0" # 3.3V |
| 80 | register "sio_i2c1_voltage" = "0" # 3.3V |
| 81 | |
Shawn Nematbakhsh | 650b00c | 2013-08-21 11:47:11 -0700 | [diff] [blame] | 82 | # Force enable ASPM for PCIe Port1 |
| 83 | register "pcie_port_force_aspm" = "0x01" |
| 84 | |
| 85 | # Disable PCIe CLKOUT 2-5 and CLKOUT_XDP |
| 86 | register "icc_clock_disable" = "0x013c0000" |
| 87 | |
Shawn Nematbakhsh | e9d060d | 2013-05-23 15:13:46 -0700 | [diff] [blame] | 88 | device pci 13.0 off end # Smart Sound Audio DSP |
| 89 | device pci 14.0 on end # USB3 XHCI |
| 90 | device pci 15.0 on end # Serial I/O DMA |
| 91 | device pci 15.1 on end # I2C0 |
| 92 | device pci 15.2 on end # I2C1 |
| 93 | device pci 15.3 off end # GSPI0 |
| 94 | device pci 15.4 off end # GSPI1 |
| 95 | device pci 15.5 off end # UART0 |
| 96 | device pci 15.6 off end # UART1 |
| 97 | device pci 16.0 on end # Management Engine Interface 1 |
| 98 | device pci 16.1 off end # Management Engine Interface 2 |
| 99 | device pci 16.2 off end # Management Engine IDE-R |
| 100 | device pci 16.3 off end # Management Engine KT |
| 101 | device pci 17.0 off end # SDIO |
| 102 | device pci 19.0 off end # GbE |
| 103 | device pci 1b.0 on end # High Definition Audio |
| 104 | device pci 1c.0 on end # PCIe Port #1 |
| 105 | device pci 1c.1 off end # PCIe Port #2 |
| 106 | device pci 1c.2 off end # PCIe Port #3 |
| 107 | device pci 1c.3 off end # PCIe Port #4 |
| 108 | device pci 1c.4 off end # PCIe Port #5 |
| 109 | device pci 1c.5 off end # PCIe Port #6 |
| 110 | device pci 1d.0 on end # USB2 EHCI |
| 111 | device pci 1e.0 off end # PCI bridge |
| 112 | device pci 1f.0 on |
| 113 | chip ec/google/chromeec |
| 114 | # We only have one init function that |
| 115 | # we need to call to initialize the |
| 116 | # keyboard part of the EC. |
| 117 | device pnp ff.1 on # dummy address |
| 118 | end |
| 119 | end |
| 120 | end # LPC bridge |
| 121 | device pci 1f.2 on end # SATA Controller |
| 122 | device pci 1f.3 on end # SMBus |
| 123 | device pci 1f.6 on end # Thermal |
| 124 | end |
| 125 | end |
| 126 | end |