Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
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 }" |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 5 | |
| 6 | device cpu_cluster 0 on |
| 7 | chip cpu/intel/socket_rPGA989 |
| 8 | device lapic 0 on end |
| 9 | end |
| 10 | chip cpu/intel/model_206ax |
| 11 | # Magic APIC ID to locate this chip |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame^] | 12 | device lapic 0xacac off end |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 13 | |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 14 | register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1) |
| 15 | register "c2_acpower" = "4" # ACPI(C2) = MWAIT(C3) |
| 16 | register "c3_acpower" = "0" # ACPI(C3) = MWAIT(C7) |
| 17 | |
| 18 | register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1) |
| 19 | register "c2_battery" = "4" # ACPI(C2) = MWAIT(C3) |
| 20 | register "c3_battery" = "0" # ACPI(C3) = MWAIT(C7) |
| 21 | end |
| 22 | end |
| 23 | |
| 24 | device domain 0 on |
| 25 | device pci 00.0 on end # host bridge |
| 26 | device pci 01.0 on end # PCIe Bridge x16 |
| 27 | device pci 02.0 on end # vga controller |
| 28 | |
| 29 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 30 | # Enable all SATA ports 0-5 |
| 31 | register "sata_port_map" = "0x3f" |
| 32 | # Set max SATA speed to 6.0 Gb/s (should be the default, anyway) |
| 33 | register "sata_interface_speed_support" = "0x3" |
| 34 | |
| 35 | # TODO: Enable generic LPC decodes... |
| 36 | register "gen1_dec" = "0x001c02e1" |
| 37 | #register "gen2_dec" = "0x00000000" |
| 38 | #register "gen3_dec" = "0x00000000" |
| 39 | #register "gen4_dec" = "0x00000000" |
| 40 | |
| 41 | # Disable root port coalescing |
| 42 | register "pcie_port_coalesce" = "0" |
| 43 | |
Vladimir Serbinenko | 5b044ae | 2014-10-25 15:20:55 +0200 | [diff] [blame] | 44 | register "c2_latency" = "101" # c2 not supported |
| 45 | register "p_cnt_throttling_supported" = "1" |
| 46 | |
Nico Huber | ee09d9c | 2015-08-19 15:46:13 +0200 | [diff] [blame] | 47 | register "xhci_switchable_ports" = "0x0f" |
| 48 | register "superspeed_capable_ports" = "0x0f" |
| 49 | |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 50 | device pci 14.0 on end # USB 3.0 Controller |
| 51 | device pci 16.0 on end # Management Engine Interface 1 |
| 52 | device pci 16.1 off end # Management Engine Interface 2 |
| 53 | device pci 16.2 off end # Management Engine IDE-R |
| 54 | device pci 16.3 off end # Management Engine KT |
| 55 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 56 | device pci 1a.0 on end # USB2 EHCI #2 |
| 57 | device pci 1b.0 on end # High Definition Audio |
| 58 | |
| 59 | # Disabling 1c.0 might break IRQ settings as it enables port coalescing |
| 60 | # There are two mini PCIe x1 sockets, so one PCIe port is unrouted |
| 61 | device pci 1c.0 on end # PCIe Port #1 mini PCIe x1? |
| 62 | device pci 1c.1 on end # PCIe Port #2 mini PCIe x1? |
| 63 | device pci 1c.2 on end # PCIe Port #3 second Ethernet NIC |
| 64 | device pci 1c.3 on end # PCIe Port #4 third Ethernet NIC |
| 65 | device pci 1c.4 on end # PCIe Port #5 first Ethernet PHY |
| 66 | device pci 1c.5 on end # PCIe Port #6 FireWire |
| 67 | device pci 1c.6 on end # PCIe Port #7 PCIe x1 |
| 68 | device pci 1c.7 on end # PCIe Port #8 mini PCIe x1? |
| 69 | |
| 70 | device pci 1d.0 on end # USB2 EHCI #1 |
| 71 | device pci 1e.0 off end # PCI bridge |
| 72 | device pci 1f.0 on #LPC bridge |
| 73 | chip superio/winbond/w83627dhg |
| 74 | device pnp 2e.0 off # Floppy |
| 75 | end |
| 76 | device pnp 2e.1 off # Parallel Port |
| 77 | end |
| 78 | device pnp 2e.2 on # Com1 |
| 79 | io 0x60 = 0x3f8 |
| 80 | irq 0x70 = 4 |
| 81 | end |
| 82 | device pnp 2e.3 on # Com2 |
| 83 | io 0x60 = 0x2f8 |
| 84 | irq 0x70 = 3 |
| 85 | end |
| 86 | device pnp 2e.5 off # Keyboard |
| 87 | end |
| 88 | device pnp 2e.6 off # SPI |
| 89 | end |
| 90 | device pnp 2e.307 off # GPIO 1 |
| 91 | end |
| 92 | device pnp 2e.8 off # WDTO#, PLED |
| 93 | end |
| 94 | device pnp 2e.009 on # GPIO2 -- original firmware sets this on |
| 95 | end |
| 96 | device pnp 2e.109 on # GPIO3 -- original firmware sets this on |
| 97 | end |
| 98 | device pnp 2e.209 off # GPIO4 |
| 99 | end |
| 100 | device pnp 2e.309 off # GPIO5 |
| 101 | end |
| 102 | device pnp 2e.a off # ACPI |
| 103 | end |
| 104 | device pnp 2e.b off # HWM |
| 105 | end |
| 106 | device pnp 2e.c off # PECI, SST |
| 107 | end |
| 108 | end #superio/winbond/w83627dhg |
| 109 | chip ec/kontron/it8516e |
| 110 | # Set CPU Fan to 50°C, System Fan to 75% |
| 111 | register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }" |
| 112 | register "default_fan_target" = "{ 50, 75 }" |
| 113 | |
| 114 | # TODO: Check status when Linux runs |
| 115 | device pnp 20e.1 on # Com3 |
| 116 | io 0x60 = 0x03e8 |
| 117 | irq 0x70 = 4 |
| 118 | end |
| 119 | device pnp 20e.2 on # Com4 |
| 120 | io 0x60 = 0x02e8 |
| 121 | irq 0x70 = 3 |
| 122 | end |
| 123 | device pnp 20e.4 off # System Wakeup |
| 124 | end |
| 125 | device pnp 20e.5 on # Mouse |
| 126 | irq 0x70 = 12 |
| 127 | end |
| 128 | device pnp 20e.6 on # Keyboard |
| 129 | io 0x60 = 0x0060 |
| 130 | io 0x62 = 0x0064 |
| 131 | irq 0x70 = 1 |
| 132 | end |
| 133 | device pnp 20e.f off # Shared Memory |
| 134 | end |
| 135 | device pnp 20e.10 off # BRAM / RTC |
| 136 | end |
| 137 | device pnp 20e.11 on # PM channel 1 |
| 138 | io 0x60 = 0x0062 |
| 139 | io 0x62 = 0x0066 |
| 140 | irq 0x70 = 0 |
| 141 | end |
| 142 | device pnp 20e.12 on # PM channel 2 |
| 143 | io 0x60 = 0x020c |
| 144 | io 0x62 = 0x020d |
| 145 | irq 0x70 = 0 |
| 146 | end |
| 147 | device pnp 20e.17 off # PM channel 3 |
| 148 | end |
| 149 | end #ec/kontron/it8516e |
| 150 | # TODO: TPM on 4e |
| 151 | end # LPC bridge |
| 152 | device pci 1f.2 on end # SATA Controller 1 |
| 153 | device pci 1f.3 on end # SMBus |
| 154 | device pci 1f.5 off end # SATA Controller 2 |
| 155 | device pci 1f.6 off end # Thermal |
| 156 | end |
| 157 | end |
| 158 | end |