Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 1 | chip northbridge/intel/haswell |
| 2 | |
| 3 | # Disable eDP Hotplug |
| 4 | register "gpu_dp_d_hotplug" = "0x00" |
| 5 | |
| 6 | # Enable DisplayPort C Hotplug with 6ms pulse |
| 7 | register "gpu_dp_c_hotplug" = "0x06" |
| 8 | |
| 9 | # Enable HDMI Hotplug with 6ms pulse |
| 10 | register "gpu_dp_b_hotplug" = "0x06" |
| 11 | |
Angel Pons | 8aab787 | 2020-07-04 01:24:59 +0200 | [diff] [blame] | 12 | register "dq_pins_interleaved" = "true" |
| 13 | |
| 14 | register "usb_xhci_on_resume" = "true" |
| 15 | |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 16 | device cpu_cluster 0 on |
| 17 | chip cpu/intel/haswell |
| 18 | device lapic 0 on end |
| 19 | # Magic APIC ID to locate this chip |
| 20 | device lapic 0xACAC off end |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 21 | end |
| 22 | end |
| 23 | |
| 24 | device domain 0 on |
| 25 | subsystemid 0x1ae0 0xc000 inherit |
| 26 | device pci 00.0 on end # host bridge |
| 27 | device pci 02.0 on end # vga controller |
| 28 | device pci 03.0 on end # mini-hd audio |
| 29 | |
| 30 | chip southbridge/intel/lynxpoint |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 31 | # SuperIO range is 0x700-0x73f |
| 32 | register "gen2_dec" = "0x003c0701" |
| 33 | |
| 34 | register "alt_gp_smi_en" = "0x0000" |
| 35 | register "gpe0_en_1" = "0x00000000" |
| 36 | register "gpe0_en_2" = "0x00000000" |
| 37 | register "gpe0_en_3" = "0x00000000" |
| 38 | register "gpe0_en_4" = "0x00000000" |
| 39 | |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 40 | register "sata_port_map" = "0x1" |
| 41 | register "sata_devslp_disable" = "0x1" |
| 42 | |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 43 | # Force enable ASPM for PCIe Port 4 |
| 44 | register "pcie_port_force_aspm" = "0x10" |
| 45 | |
| 46 | # Enable port coalescing |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 47 | register "pcie_port_coalesce" = "true" |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 48 | |
| 49 | # Disable PCIe CLKOUT 1,5 and CLKOUT_XDP |
| 50 | register "icc_clock_disable" = "0x01220000" |
| 51 | |
| 52 | # Route all USB ports to XHCI per default |
| 53 | register "xhci_default" = "1" |
| 54 | |
| 55 | device pci 13.0 off end # Smart Sound Audio DSP |
| 56 | device pci 14.0 on end # USB3 XHCI |
| 57 | device pci 15.0 off end # Serial I/O DMA |
| 58 | device pci 15.1 off end # I2C0 |
| 59 | device pci 15.2 off end # I2C1 |
| 60 | device pci 15.3 off end # GSPI0 |
| 61 | device pci 15.4 off end # GSPI1 |
| 62 | device pci 15.5 off end # UART0 |
| 63 | device pci 15.6 off end # UART1 |
| 64 | device pci 16.0 on end # Management Engine Interface 1 |
| 65 | device pci 16.1 off end # Management Engine Interface 2 |
| 66 | device pci 16.2 off end # Management Engine IDE-R |
| 67 | device pci 16.3 off end # Management Engine KT |
| 68 | device pci 17.0 off end # SDIO |
| 69 | device pci 19.0 off end # GbE |
| 70 | device pci 1b.0 on end # High Definition Audio |
| 71 | device pci 1c.0 off end # PCIe Port #1 |
| 72 | device pci 1c.1 off end # PCIe Port #2 |
| 73 | device pci 1c.2 on end # PCIe Port #3 |
| 74 | device pci 1c.3 on end # PCIe Port #4 |
| 75 | device pci 1c.4 on end # PCIe Port #5 |
| 76 | device pci 1c.5 off end # PCIe Port #6 |
| 77 | device pci 1d.0 on end # USB2 EHCI |
| 78 | device pci 1e.0 off end # PCI bridge |
| 79 | device pci 1f.0 on |
Matt DeVillier | 3044af7 | 2018-08-01 13:05:14 -0500 | [diff] [blame] | 80 | chip drivers/pc80/tpm |
| 81 | device pnp 0c31.0 on end |
| 82 | end |
Matt DeVillier | 81ae67a | 2016-11-08 15:04:30 -0600 | [diff] [blame] | 83 | chip superio/ite/it8772f |
| 84 | # Skip keyboard init |
| 85 | register "skip_keyboard" = "1" |
| 86 | # Enable PECI on TMPIN3 |
| 87 | register "peci_tmpin" = "3" |
| 88 | # Enable FAN2 |
| 89 | register "fan2_enable" = "1" |
| 90 | |
| 91 | device pnp 2e.0 off end # FDC |
| 92 | device pnp 2e.1 on # Serial Port 1 |
| 93 | io 0x60 = 0x3f8 |
| 94 | irq 0x70 = 4 |
| 95 | end |
| 96 | device pnp 2e.4 on # Environment Controller |
| 97 | io 0x60 = 0x700 |
| 98 | io 0x62 = 0x710 |
| 99 | irq 0x70 = 0x09 |
| 100 | irq 0xf2 = 0x20 |
| 101 | irq 0xf4 = 0x0 |
| 102 | irq 0xfa = 0x12 |
| 103 | end |
| 104 | device pnp 2e.7 on # GPIO |
| 105 | io 0x60 = 0x720 |
| 106 | io 0x62 = 0x730 |
| 107 | end |
| 108 | device pnp 2e.5 off |
| 109 | io 0x60 = 0x60 |
| 110 | io 0x62 = 0x64 |
| 111 | irq 0x70 = 1 |
| 112 | end # Keyboard |
| 113 | device pnp 2e.6 off |
| 114 | irq 0x70 = 12 |
| 115 | end # Mouse |
| 116 | device pnp 2e.a off end # IR |
| 117 | end |
| 118 | end # LPC bridge |
| 119 | device pci 1f.2 on end # SATA Controller |
| 120 | device pci 1f.3 on end # SMBus |
| 121 | device pci 1f.6 on end # Thermal |
| 122 | end |
| 123 | end |
| 124 | end |