Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 1 | chip northbridge/intel/gm45 |
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)" |
Stefan Reinauer | 0aa37c4 | 2013-02-12 15:20:54 -0800 | [diff] [blame] | 4 | device cpu_cluster 0 on |
Arthur Heymans | 2fb6f68 | 2022-11-07 09:45:19 +0100 | [diff] [blame] | 5 | ops gm45_cpu_bus_ops |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 6 | chip cpu/intel/socket_BGA956 |
| 7 | device lapic 0 on end |
| 8 | end |
| 9 | chip cpu/intel/model_1067x |
| 10 | # Magic APIC ID to locate this chip |
| 11 | device lapic 0xACAC off end |
| 12 | |
| 13 | # Enable Super LFM |
| 14 | register "slfm" = "1" |
| 15 | |
| 16 | # Enable C5, C6 |
| 17 | register "c5" = "1" |
| 18 | register "c6" = "1" |
| 19 | end |
| 20 | end |
| 21 | |
Patrick Rudolph | 266a1f7 | 2016-06-09 18:13:34 +0200 | [diff] [blame] | 22 | register "pci_mmio_size" = "2048" |
| 23 | |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 24 | device domain 0 on |
Arthur Heymans | 2fb6f68 | 2022-11-07 09:45:19 +0100 | [diff] [blame] | 25 | ops gm45_pci_domain_ops |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 26 | subsystemid 0x4352 0x8986 |
| 27 | device pci 00.0 on end # host bridge |
Kyösti Mälkki | ca5a793 | 2021-06-08 08:06:06 +0300 | [diff] [blame] | 28 | device pci 02.0 on end # VGA |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 29 | device pci 02.1 on end # Display |
| 30 | device pci 03.0 off end # ME |
| 31 | device pci 03.1 off end # ME |
| 32 | device pci 03.2 off end # ME |
| 33 | device pci 03.3 off end # ME |
| 34 | chip southbridge/intel/i82801ix |
| 35 | register "pirqa_routing" = "0x0b" |
| 36 | register "pirqb_routing" = "0x0b" |
| 37 | register "pirqc_routing" = "0x0b" |
| 38 | register "pirqd_routing" = "0x0b" |
| 39 | register "pirqe_routing" = "0x80" |
| 40 | register "pirqf_routing" = "0x80" |
| 41 | register "pirqg_routing" = "0x80" |
| 42 | register "pirqh_routing" = "0x80" |
| 43 | |
| 44 | register "gpi8_routing" = "2" |
| 45 | register "gpi7_routing" = "2" |
| 46 | register "gpe0_en" = "0x01800042" |
| 47 | register "gpi1_routing" = "1" |
| 48 | register "alt_gp_smi_en" = "0x0002" |
| 49 | |
| 50 | # Set AHCI mode, enable ports 1 and 2. |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 51 | register "sata_port_map" = "0x03" |
| 52 | register "sata_clock_request" = "0" |
| 53 | register "sata_traffic_monitor" = "0" |
| 54 | |
| 55 | # Set c-state support |
| 56 | register "c4onc3_enable" = "0" |
| 57 | register "c5_enable" = "1" |
| 58 | register "c6_enable" = "1" |
| 59 | |
| 60 | # Set thermal throttling to 75%. |
| 61 | register "throttle_duty" = "THTL_75_0" |
| 62 | |
| 63 | # Enable PCIe ports 1 and 5 as slots (Mini * PCIe). |
| 64 | register "pcie_slot_implemented" = "0x11" |
| 65 | # Set power limits to 10 * 10^0 watts. |
| 66 | # Maybe we should set less for Mini PCIe. |
| 67 | register "pcie_power_limits" = "{ { 10, 0 }, { 0, 0 }, { 0, 0 }, { 0, 0 }, { 10, 0 }, { 0, 0 } }" |
| 68 | |
Arthur Heymans | 9ed0df4 | 2019-10-12 14:18:18 +0200 | [diff] [blame] | 69 | register "gen1_dec" = "0x000c0601" |
| 70 | |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 71 | device pci 19.0 off end # LAN |
Kyösti Mälkki | ca5a793 | 2021-06-08 08:06:06 +0300 | [diff] [blame] | 72 | device pci 1a.0 on end # UHCI |
| 73 | device pci 1a.1 on end # UHCI |
| 74 | device pci 1a.2 on end # UHCI |
| 75 | device pci 1a.7 on end # EHCI |
| 76 | device pci 1b.0 on end # HD Audio |
| 77 | device pci 1c.0 on end # PCIe Port #1 |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 78 | device pci 1c.1 off end # PCIe Port #2 |
| 79 | device pci 1c.2 off end # PCIe Port #3 |
| 80 | device pci 1c.3 off end # PCIe Port #4 |
| 81 | device pci 1c.4 on # PCIe Port #5 |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 82 | device pci 00.0 on end # Realtek 8168B |
| 83 | end |
| 84 | device pci 1c.5 off end # PCIe Port #6 |
Kyösti Mälkki | ca5a793 | 2021-06-08 08:06:06 +0300 | [diff] [blame] | 85 | device pci 1d.0 on end # UHCI |
| 86 | device pci 1d.1 on end # UHCI |
| 87 | device pci 1d.2 on end # UHCI |
| 88 | device pci 1d.7 on end # EHCI |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 89 | device pci 1e.0 on # PCI |
Kyösti Mälkki | ca5a793 | 2021-06-08 08:06:06 +0300 | [diff] [blame] | 90 | # device 03 INTA 0x10, INTB 0x11 |
| 91 | device pci 03.0 on end # TI Cardbus |
| 92 | device pci 03.1 on end # TI Cardbus |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 93 | device pci 03.2 off end # TI FireWire OHC |
| 94 | device pci 03.3 off end # unconnected FlashMedia |
| 95 | device pci 03.4 off end # unconnected SD-Card |
| 96 | end |
| 97 | device pci 1f.0 on # LPC bridge |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 98 | chip superio/smsc/lpc47n227 |
| 99 | device pnp 2e.1 on # Parallel port |
| 100 | io 0x60 = 0x378 |
| 101 | irq 0x70 = 5 |
| 102 | end |
| 103 | device pnp 2e.2 on # COM1 |
| 104 | io 0x60 = 0x3f8 |
| 105 | irq 0x70 = 4 |
| 106 | end |
| 107 | device pnp 2e.3 on # COM2 |
| 108 | io 0x60 = 0x2f8 |
| 109 | irq 0x70 = 3 |
| 110 | end |
| 111 | device pnp 2e.5 off # Keyboard+Mouse |
| 112 | end |
| 113 | end |
| 114 | end |
Kyösti Mälkki | ca5a793 | 2021-06-08 08:06:06 +0300 | [diff] [blame] | 115 | device pci 1f.2 on end # SATA/IDE 1 |
| 116 | device pci 1f.3 on end # SMBus |
Patrick Georgi | 021b703 | 2012-11-06 11:05:38 +0100 | [diff] [blame] | 117 | device pci 1f.5 off end # SATA/IDE 2 |
| 118 | device pci 1f.6 off end # Thermal |
| 119 | end |
| 120 | end |
| 121 | end |