Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 1 | chip northbridge/intel/gm45 |
| 2 | # IGD Displays |
| 3 | register "gfx.ndid" = "3" |
| 4 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }" |
| 5 | |
| 6 | register "gfx.use_spread_spectrum_clock" = "1" |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 7 | register "gfx.link_frequency_270_mhz" = "1" |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 8 | |
| 9 | device cpu_cluster 0 on |
| 10 | chip cpu/intel/socket_BGA956 |
| 11 | device lapic 0 on end |
| 12 | end |
| 13 | chip cpu/intel/model_1067x |
| 14 | # Magic APIC ID to locate this chip |
| 15 | device lapic 0xACAC off end |
| 16 | |
| 17 | # Enable Super LFM |
| 18 | register "slfm" = "1" |
| 19 | |
| 20 | # Enable C5, C6 |
| 21 | register "c5" = "1" |
| 22 | register "c6" = "1" |
| 23 | end |
| 24 | end |
| 25 | |
| 26 | device domain 0 on |
| 27 | device pci 00.0 on |
| 28 | subsystemid 0x17aa 0x20e0 |
| 29 | end # host bridge |
| 30 | device pci 02.0 on # VGA |
| 31 | subsystemid 0x17aa 0x20e4 |
| 32 | ioapic_irq 2 INTA 0x10 |
| 33 | end |
| 34 | device pci 02.1 on |
| 35 | subsystemid 0x17aa 0x20e4 |
| 36 | end # Display |
| 37 | device pci 03.0 on |
| 38 | subsystemid 0x17aa 0x20e6 |
| 39 | end # ME |
| 40 | device pci 03.1 off end # ME |
| 41 | device pci 03.2 off end # ME |
| 42 | device pci 03.3 off end # ME |
| 43 | chip southbridge/intel/i82801ix |
| 44 | register "pirqa_routing" = "0x0b" |
| 45 | register "pirqb_routing" = "0x0b" |
| 46 | register "pirqc_routing" = "0x0b" |
| 47 | register "pirqd_routing" = "0x0b" |
| 48 | register "pirqe_routing" = "0x80" |
| 49 | register "pirqf_routing" = "0x80" |
| 50 | register "pirqg_routing" = "0x80" |
| 51 | register "pirqh_routing" = "0x80" |
| 52 | |
| 53 | register "gpi8_routing" = "2" |
| 54 | register "gpe0_en" = "0x01000000" |
| 55 | register "gpi1_routing" = "2" |
| 56 | |
| 57 | # Set AHCI mode, enable ports 1 and 2. |
| 58 | register "sata_port_map" = "0x03" |
| 59 | register "sata_clock_request" = "0" |
| 60 | register "sata_traffic_monitor" = "0" |
| 61 | |
| 62 | # Set c-state support |
| 63 | register "c4onc3_enable" = "0" |
| 64 | register "c5_enable" = "1" |
| 65 | register "c6_enable" = "1" |
| 66 | |
| 67 | # Set thermal throttling to 75%. |
| 68 | register "throttle_duty" = "THTL_75_0" |
| 69 | |
| 70 | # Enable PCIe ports 1,2,4 as slots (Mini * PCIe). |
| 71 | register "pcie_slot_implemented" = "0xb" |
| 72 | # Set power limits to 10 * 10^0 watts. |
| 73 | # Maybe we should set less for Mini PCIe. |
| 74 | register "pcie_power_limits" = "{ { 10, 0 }, { 10, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 }, { 0, 0 } }" |
| 75 | register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }" |
| 76 | |
| 77 | chip drivers/generic/ioapic |
| 78 | register "have_isa_interrupts" = "1" |
| 79 | register "irq_on_fsb" = "1" |
| 80 | register "enable_virtual_wire" = "1" |
| 81 | register "base" = "(void *)0xfec00000" |
| 82 | device ioapic 2 on end |
| 83 | end |
| 84 | |
| 85 | device pci 19.0 on end # LAN |
| 86 | device pci 1a.0 on # UHCI |
| 87 | subsystemid 0x17aa 0x20f0 |
| 88 | ioapic_irq 2 INTA 0x10 |
| 89 | end |
| 90 | device pci 1a.1 on # UHCI |
| 91 | subsystemid 0x17aa 0x20f0 |
| 92 | ioapic_irq 2 INTB 0x11 |
| 93 | end |
| 94 | device pci 1a.2 on # UHCI |
| 95 | subsystemid 0x17aa 0x20f0 |
| 96 | ioapic_irq 2 INTC 0x12 |
| 97 | end |
| 98 | device pci 1a.7 on # EHCI |
| 99 | subsystemid 0x17aa 0x20f1 |
| 100 | ioapic_irq 2 INTC 0x12 |
| 101 | end |
| 102 | device pci 1b.0 on # HD Audio |
| 103 | subsystemid 0x17aa 0x20f2 |
| 104 | ioapic_irq 2 INTA 0x10 |
| 105 | end |
| 106 | device pci 1c.0 on # PCIe Port #1 |
| 107 | subsystemid 0x17aa 0x20f3 # WWAN |
| 108 | ioapic_irq 2 INTA 0x10 |
| 109 | end |
| 110 | device pci 1c.1 on |
| 111 | subsystemid 0x17aa 0x20f3 # WLAN |
| 112 | end # PCIe Port #2 |
| 113 | device pci 1c.2 on |
| 114 | subsystemid 0x17aa 0x20f3 # UWB |
| 115 | end # PCIe Port #3 |
| 116 | device pci 1c.3 on |
| 117 | subsystemid 0x17aa 0x20f3 # Expresscard |
| 118 | end # PCIe Port #4 |
| 119 | device pci 1c.4 off end # PCIe Port #5 |
| 120 | device pci 1c.5 off end # PCIe Port #6 |
| 121 | device pci 1d.0 on # UHCI |
| 122 | subsystemid 0x17aa 0x20f0 |
| 123 | ioapic_irq 2 INTA 0x10 |
| 124 | end |
| 125 | device pci 1d.1 on # UHCI |
| 126 | subsystemid 0x17aa 0x20f0 |
| 127 | ioapic_irq 2 INTB 0x11 |
| 128 | end |
| 129 | device pci 1d.2 on # UHCI |
| 130 | subsystemid 0x17aa 0x20f0 |
| 131 | ioapic_irq 2 INTC 0x12 |
| 132 | end |
| 133 | device pci 1d.7 on # EHCI |
| 134 | subsystemid 0x17aa 0x20f1 |
| 135 | ioapic_irq 2 INTA 0x10 |
| 136 | end |
| 137 | device pci 1e.0 on # PCI |
| 138 | subsystemid 0x17aa 0x20f4 |
| 139 | end |
| 140 | device pci 1f.0 on # LPC bridge |
| 141 | subsystemid 0x17aa 0x20f5 |
| 142 | chip ec/lenovo/pmh7 |
| 143 | device pnp ff.1 on # dummy |
| 144 | end |
| 145 | register "backlight_enable" = "0x01" |
| 146 | register "dock_event_enable" = "0x01" |
| 147 | end |
| 148 | |
| 149 | chip ec/lenovo/h8 |
| 150 | device pnp ff.2 on # dummy |
| 151 | io 0x60 = 0x62 |
| 152 | io 0x62 = 0x66 |
| 153 | io 0x64 = 0x1600 |
| 154 | io 0x66 = 0x1604 |
| 155 | end |
| 156 | |
| 157 | register "config0" = "0xa6" |
| 158 | register "config1" = "0x04" |
| 159 | register "config2" = "0xa0" |
| 160 | register "config3" = "0x01" |
| 161 | |
| 162 | register "beepmask0" = "0xfe" |
| 163 | register "beepmask1" = "0x96" |
| 164 | register "has_power_management_beeps" = "1" |
| 165 | register "has_uwb" = "1" |
| 166 | |
| 167 | register "event2_enable" = "0xff" |
| 168 | register "event3_enable" = "0xff" |
| 169 | register "event4_enable" = "0xf4" |
| 170 | register "event5_enable" = "0x3c" |
| 171 | register "event6_enable" = "0x80" |
| 172 | register "event7_enable" = "0x01" |
| 173 | register "event8_enable" = "0x01" |
| 174 | register "event9_enable" = "0xff" |
| 175 | register "eventa_enable" = "0xff" |
| 176 | register "eventb_enable" = "0xff" |
| 177 | register "eventc_enable" = "0xff" |
| 178 | register "eventd_enable" = "0xff" |
| 179 | end |
| 180 | |
| 181 | chip superio/nsc/pc87382 |
Timothy Pearson | 93b4745 | 2015-06-04 14:13:06 -0500 | [diff] [blame] | 182 | device pnp 164e.3 off end |
Timothy Pearson | 4b373c9 | 2015-04-05 17:54:08 -0500 | [diff] [blame] | 183 | # IR, not connected |
| 184 | device pnp 164e.2 off end |
| 185 | # GPIO, not connected |
| 186 | device pnp 164e.7 off end |
| 187 | # DLPC, not connected |
| 188 | device pnp 164e.19 off end |
| 189 | end |
| 190 | |
| 191 | end |
| 192 | device pci 1f.2 on # SATA/IDE 1 |
| 193 | subsystemid 0x17aa 0x20f8 |
| 194 | ioapic_irq 2 INTB 0x11 |
| 195 | end |
| 196 | device pci 1f.3 on # SMBus |
| 197 | subsystemid 0x17aa 0x20f9 |
| 198 | ioapic_irq 2 INTC 0x12 |
| 199 | # eeprom, 8 virtual devices, same chip |
| 200 | chip drivers/i2c/at24rf08c |
| 201 | device i2c 54 on end |
| 202 | device i2c 55 on end |
| 203 | device i2c 56 on end |
| 204 | device i2c 57 on end |
| 205 | device i2c 5c on end |
| 206 | device i2c 5d on end |
| 207 | device i2c 5e on end |
| 208 | device i2c 5f on end |
| 209 | end |
| 210 | end |
| 211 | device pci 1f.5 off end # SATA/IDE 2 |
| 212 | device pci 1f.6 off end # Thermal |
| 213 | end |
| 214 | end |
| 215 | end |