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 |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame] | 3 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 4 | |
Keith Hui | 7039edd | 2023-07-21 10:12:05 -0400 | [diff] [blame] | 5 | register "max_mem_clock_mhz" = "800" |
| 6 | register "ec_present" = "1" |
| 7 | |
| 8 | register "usb3.hs_port_switch_mask" = "0xf" |
| 9 | register "usb3.mode" = "3" |
| 10 | register "usb3.preboot_support" = "1" |
| 11 | register "usb3.xhci_streams" = "1" |
| 12 | register "usb_port_config" = "{ |
| 13 | { 1, 0, 0x0040 }, |
| 14 | { 1, 0, 0x0040 }, |
| 15 | { 1, 0, 0x0040 }, |
| 16 | { 1, 0, 0x0040 }, |
| 17 | { 1, 0, 0x0040 }, |
| 18 | { 1, 0, 0x0040 }, |
| 19 | { 1, 0, 0x0040 }, |
| 20 | { 1, 0, 0x0040 }, |
| 21 | { 1, 4, 0x0040 }, |
| 22 | { 1, 4, 0x0040 }, |
| 23 | { 1, 4, 0x0040 }, |
| 24 | { 1, 4, 0x0040 }, |
| 25 | { 1, 4, 0x0040 }, |
| 26 | { 1, 4, 0x0040 }, }" |
| 27 | |
Arthur Heymans | cdb26fd | 2021-11-15 20:12:02 +0100 | [diff] [blame] | 28 | chip cpu/intel/model_206ax |
| 29 | device cpu_cluster 0 on end |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 30 | |
Arthur Heymans | cdb26fd | 2021-11-15 20:12:02 +0100 | [diff] [blame] | 31 | register "acpi_c2" = "CPU_ACPI_C6" |
| 32 | register "acpi_c3" = "CPU_ACPI_DISABLED" |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 33 | end |
| 34 | |
| 35 | device domain 0 on |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 36 | device ref host_bridge on end # host bridge |
| 37 | device ref peg10 on end # PCIe Bridge x16 |
| 38 | device ref igd on end # vga controller |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 39 | |
| 40 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 41 | # Enable all SATA ports 0-5 |
| 42 | register "sata_port_map" = "0x3f" |
| 43 | # Set max SATA speed to 6.0 Gb/s (should be the default, anyway) |
| 44 | register "sata_interface_speed_support" = "0x3" |
| 45 | |
| 46 | # TODO: Enable generic LPC decodes... |
| 47 | register "gen1_dec" = "0x001c02e1" |
| 48 | #register "gen2_dec" = "0x00000000" |
| 49 | #register "gen3_dec" = "0x00000000" |
| 50 | #register "gen4_dec" = "0x00000000" |
| 51 | |
| 52 | # Disable root port coalescing |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 53 | register "pcie_port_coalesce" = "false" |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 54 | |
Nico Huber | ee09d9c | 2015-08-19 15:46:13 +0200 | [diff] [blame] | 55 | register "xhci_switchable_ports" = "0x0f" |
| 56 | register "superspeed_capable_ports" = "0x0f" |
| 57 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 58 | device ref xhci on end # USB 3.0 Controller |
| 59 | device ref mei1 on end # Management Engine Interface 1 |
| 60 | device ref mei2 off end # Management Engine Interface 2 |
| 61 | device ref me_ide_r off end # Management Engine IDE-R |
| 62 | device ref me_kt off end # Management Engine KT |
| 63 | device ref gbe on end # Intel Gigabit Ethernet |
| 64 | device ref ehci2 on end # USB2 EHCI #2 |
| 65 | device ref hda on end # High Definition Audio |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 66 | |
| 67 | # Disabling 1c.0 might break IRQ settings as it enables port coalescing |
| 68 | # There are two mini PCIe x1 sockets, so one PCIe port is unrouted |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 69 | device ref pcie_rp1 on end # PCIe Port #1 mini PCIe x1? |
| 70 | device ref pcie_rp2 on end # PCIe Port #2 mini PCIe x1? |
| 71 | device ref pcie_rp3 on end # PCIe Port #3 second Ethernet NIC |
| 72 | device ref pcie_rp4 on end # PCIe Port #4 third Ethernet NIC |
| 73 | device ref pcie_rp5 on end # PCIe Port #5 first Ethernet PHY |
| 74 | device ref pcie_rp6 on end # PCIe Port #6 FireWire |
| 75 | device ref pcie_rp7 on end # PCIe Port #7 PCIe x1 |
| 76 | device ref pcie_rp8 on end # PCIe Port #8 mini PCIe x1? |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 77 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 78 | device ref ehci1 on end # USB2 EHCI #1 |
| 79 | device ref pci_bridge off end # PCI bridge |
| 80 | device ref lpc on #LPC bridge |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 81 | chip superio/winbond/w83627dhg |
| 82 | device pnp 2e.0 off # Floppy |
| 83 | end |
| 84 | device pnp 2e.1 off # Parallel Port |
| 85 | end |
| 86 | device pnp 2e.2 on # Com1 |
| 87 | io 0x60 = 0x3f8 |
| 88 | irq 0x70 = 4 |
| 89 | end |
| 90 | device pnp 2e.3 on # Com2 |
| 91 | io 0x60 = 0x2f8 |
| 92 | irq 0x70 = 3 |
| 93 | end |
| 94 | device pnp 2e.5 off # Keyboard |
| 95 | end |
| 96 | device pnp 2e.6 off # SPI |
| 97 | end |
| 98 | device pnp 2e.307 off # GPIO 1 |
| 99 | end |
| 100 | device pnp 2e.8 off # WDTO#, PLED |
| 101 | end |
| 102 | device pnp 2e.009 on # GPIO2 -- original firmware sets this on |
| 103 | end |
| 104 | device pnp 2e.109 on # GPIO3 -- original firmware sets this on |
| 105 | end |
| 106 | device pnp 2e.209 off # GPIO4 |
| 107 | end |
| 108 | device pnp 2e.309 off # GPIO5 |
| 109 | end |
| 110 | device pnp 2e.a off # ACPI |
| 111 | end |
| 112 | device pnp 2e.b off # HWM |
| 113 | end |
| 114 | device pnp 2e.c off # PECI, SST |
| 115 | end |
| 116 | end #superio/winbond/w83627dhg |
| 117 | chip ec/kontron/it8516e |
| 118 | # Set CPU Fan to 50°C, System Fan to 75% |
| 119 | register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }" |
| 120 | register "default_fan_target" = "{ 50, 75 }" |
| 121 | |
| 122 | # TODO: Check status when Linux runs |
| 123 | device pnp 20e.1 on # Com3 |
| 124 | io 0x60 = 0x03e8 |
| 125 | irq 0x70 = 4 |
| 126 | end |
| 127 | device pnp 20e.2 on # Com4 |
| 128 | io 0x60 = 0x02e8 |
| 129 | irq 0x70 = 3 |
| 130 | end |
| 131 | device pnp 20e.4 off # System Wakeup |
| 132 | end |
| 133 | device pnp 20e.5 on # Mouse |
| 134 | irq 0x70 = 12 |
| 135 | end |
| 136 | device pnp 20e.6 on # Keyboard |
| 137 | io 0x60 = 0x0060 |
| 138 | io 0x62 = 0x0064 |
| 139 | irq 0x70 = 1 |
| 140 | end |
| 141 | device pnp 20e.f off # Shared Memory |
| 142 | end |
| 143 | device pnp 20e.10 off # BRAM / RTC |
| 144 | end |
| 145 | device pnp 20e.11 on # PM channel 1 |
| 146 | io 0x60 = 0x0062 |
| 147 | io 0x62 = 0x0066 |
| 148 | irq 0x70 = 0 |
| 149 | end |
| 150 | device pnp 20e.12 on # PM channel 2 |
| 151 | io 0x60 = 0x020c |
| 152 | io 0x62 = 0x020d |
| 153 | irq 0x70 = 0 |
| 154 | end |
| 155 | device pnp 20e.17 off # PM channel 3 |
| 156 | end |
| 157 | end #ec/kontron/it8516e |
| 158 | # TODO: TPM on 4e |
| 159 | end # LPC bridge |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 160 | device ref sata1 on end # SATA Controller 1 |
| 161 | device ref smbus on end # SMBus |
| 162 | device ref sata2 off end # SATA Controller 2 |
| 163 | device ref thermal off end # Thermal |
Nico Huber | efe1fed | 2013-04-29 18:00:57 +0200 | [diff] [blame] | 164 | end |
| 165 | end |
| 166 | end |