Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
| 2 | |
| 3 | device cpu_cluster 0 on |
| 4 | chip cpu/intel/socket_rPGA989 |
| 5 | device lapic 0 on end |
| 6 | end |
| 7 | chip cpu/intel/model_206ax |
| 8 | # Magic APIC ID to locate this chip |
| 9 | device lapic 0xACAC off end |
| 10 | |
| 11 | # Coordinate with HW_ALL |
| 12 | register "pstate_coord_type" = "0xfe" # TODO: This is never read. |
| 13 | |
| 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 | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 47 | device pci 14.0 on end # USB 3.0 Controller |
| 48 | device pci 16.0 on end # Management Engine Interface 1 |
| 49 | device pci 16.1 off end # Management Engine Interface 2 |
| 50 | device pci 16.2 off end # Management Engine IDE-R |
| 51 | device pci 16.3 off end # Management Engine KT |
| 52 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 53 | device pci 1a.0 on end # USB2 EHCI #2 |
| 54 | device pci 1b.0 on end # High Definition Audio |
| 55 | |
| 56 | # Disabling 1c.0 might break IRQ settings as it enables port coalescing |
| 57 | # There are two mini PCIe x1 sockets, so one PCIe port is unrouted |
| 58 | device pci 1c.0 on end # PCIe Port #1 mini PCIe x1? |
| 59 | device pci 1c.1 on end # PCIe Port #2 mini PCIe x1? |
| 60 | device pci 1c.2 on end # PCIe Port #3 second Ethernet NIC |
| 61 | device pci 1c.3 on end # PCIe Port #4 third Ethernet NIC |
| 62 | device pci 1c.4 on end # PCIe Port #5 first Ethernet PHY |
| 63 | device pci 1c.5 on end # PCIe Port #6 FireWire |
| 64 | device pci 1c.6 on end # PCIe Port #7 PCIe x1 |
| 65 | device pci 1c.7 on end # PCIe Port #8 mini PCIe x1? |
| 66 | |
| 67 | device pci 1d.0 on end # USB2 EHCI #1 |
| 68 | device pci 1e.0 off end # PCI bridge |
| 69 | device pci 1f.0 on #LPC bridge |
| 70 | chip superio/winbond/w83627dhg |
| 71 | device pnp 2e.0 off # Floppy |
| 72 | end |
| 73 | device pnp 2e.1 off # Parallel Port |
| 74 | end |
| 75 | device pnp 2e.2 on # Com1 |
| 76 | io 0x60 = 0x3f8 |
| 77 | irq 0x70 = 4 |
| 78 | end |
| 79 | device pnp 2e.3 on # Com2 |
| 80 | io 0x60 = 0x2f8 |
| 81 | irq 0x70 = 3 |
| 82 | end |
| 83 | device pnp 2e.5 off # Keyboard |
| 84 | end |
| 85 | device pnp 2e.6 off # SPI |
| 86 | end |
| 87 | device pnp 2e.307 off # GPIO 1 |
| 88 | end |
| 89 | device pnp 2e.8 off # WDTO#, PLED |
| 90 | end |
| 91 | device pnp 2e.009 on # GPIO2 -- original firmware sets this on |
| 92 | end |
| 93 | device pnp 2e.109 on # GPIO3 -- original firmware sets this on |
| 94 | end |
| 95 | device pnp 2e.209 off # GPIO4 |
| 96 | end |
| 97 | device pnp 2e.309 off # GPIO5 |
| 98 | end |
| 99 | device pnp 2e.a off # ACPI |
| 100 | end |
| 101 | device pnp 2e.b off # HWM |
| 102 | end |
| 103 | device pnp 2e.c off # PECI, SST |
| 104 | end |
| 105 | end #superio/winbond/w83627dhg |
| 106 | chip ec/kontron/it8516e |
| 107 | # Set CPU Fan to 50°C, System Fan to 75% |
| 108 | register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }" |
| 109 | register "default_fan_target" = "{ 50, 75 }" |
| 110 | |
| 111 | # TODO: Check status when Linux runs |
| 112 | device pnp 20e.1 on # Com3 |
| 113 | io 0x60 = 0x03e8 |
| 114 | irq 0x70 = 4 |
| 115 | end |
| 116 | device pnp 20e.2 on # Com4 |
| 117 | io 0x60 = 0x02e8 |
| 118 | irq 0x70 = 3 |
| 119 | end |
| 120 | device pnp 20e.4 off # System Wakeup |
| 121 | end |
| 122 | device pnp 20e.5 on # Mouse |
| 123 | irq 0x70 = 12 |
| 124 | end |
| 125 | device pnp 20e.6 on # Keyboard |
| 126 | io 0x60 = 0x0060 |
| 127 | io 0x62 = 0x0064 |
| 128 | irq 0x70 = 1 |
| 129 | end |
| 130 | device pnp 20e.f off # Shared Memory |
| 131 | end |
| 132 | device pnp 20e.10 off # BRAM / RTC |
| 133 | end |
| 134 | device pnp 20e.11 on # PM channel 1 |
| 135 | io 0x60 = 0x0062 |
| 136 | io 0x62 = 0x0066 |
| 137 | irq 0x70 = 0 |
| 138 | end |
| 139 | device pnp 20e.12 on # PM channel 2 |
| 140 | io 0x60 = 0x020c |
| 141 | io 0x62 = 0x020d |
| 142 | irq 0x70 = 0 |
| 143 | end |
| 144 | device pnp 20e.17 off # PM channel 3 |
| 145 | end |
| 146 | end #ec/kontron/it8516e |
| 147 | # TODO: TPM on 4e |
| 148 | end # LPC bridge |
| 149 | device pci 1f.2 on end # SATA Controller 1 |
| 150 | device pci 1f.3 on end # SMBus |
| 151 | device pci 1f.5 off end # SATA Controller 2 |
| 152 | device pci 1f.6 off end # Thermal |
| 153 | end |
| 154 | end |
| 155 | end |