| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip northbridge/intel/i945 |
| 4 |
# IGD Displays |
| 5 |
register "gfx.ndid" = "2" |
| 6 |
register "gfx.did" = "{ 0x80000100, 0x80000410, 0x80000320, 0x80000410, 0x00000005 }" |
| 7 |
|
| 8 |
device cpu_cluster 0 on ops i945_cpu_bus_ops end # APIC cluster |
| 9 |
|
| 10 |
register "pci_mmio_size" = "768" |
| 11 |
|
| 12 |
device domain 0 on |
| 13 |
ops i945_pci_domain_ops |
| 14 |
device pci 00.0 on end # host bridge |
| 15 |
device pci 01.0 off end # i945 PCIe root port |
| 16 |
device pci 02.0 on end # vga controller |
| 17 |
device pci 02.1 on end # display controller |
| 18 |
|
| 19 |
chip southbridge/intel/i82801gx |
| 20 |
register "pirqa_routing" = "0x0a" |
| 21 |
register "pirqb_routing" = "0x0a" |
| 22 |
register "pirqc_routing" = "0x0a" |
| 23 |
register "pirqd_routing" = "0x0a" |
| 24 |
register "pirqe_routing" = "0x80" |
| 25 |
register "pirqf_routing" = "0x80" |
| 26 |
register "pirqg_routing" = "0x0a" |
| 27 |
register "pirqh_routing" = "0x0a" |
| 28 |
|
| 29 |
# GPI routing |
| 30 |
# 0 No effect (default) |
| 31 |
# 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 32 |
# 2 SCI (if corresponding GPIO_EN bit is also set) |
| 33 |
register "gpi8_routing" = "1" # EXTSMI low active |
| 34 |
register "gpi7_routing" = "2" # ECSCI low active |
| 35 |
|
| 36 |
# GPE0 Enables |
| 37 |
register "gpe0_en" = "0x00800106" |
| 38 |
register "alt_gp_smi_en" = "0x0100" |
| 39 |
|
| 40 |
register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" |
| 41 |
register "ide_enable_primary" = "true" |
| 42 |
register "ide_enable_secondary" = "false" |
| 43 |
|
| 44 |
register "c3_latency" = "85" |
| 45 |
register "docking_supported" = "true" |
| 46 |
register "p_cnt_throttling_supported" = "true" |
| 47 |
|
| 48 |
register "gen1_dec" = "0x001c02e1" |
| 49 |
register "gen2_dec" = "0x00fc0601" |
| 50 |
register "gen3_dec" = "0x00040069" |
| 51 |
|
| 52 |
device pci 1b.0 on end # High Definition Audio |
| 53 |
device pci 1c.0 on end # PCIe port 1 |
| 54 |
device pci 1c.1 on end # PCIe port 2 |
| 55 |
device pci 1c.2 on end # PCIe port 3 |
| 56 |
device pci 1c.3 on end # PCIe port 4 |
| 57 |
device pci 1c.4 off end # PCIe port 5 |
| 58 |
device pci 1c.5 off end # PCIe port 6 |
| 59 |
device pci 1d.0 on end # USB UHCI |
| 60 |
device pci 1d.1 on end # USB UHCI |
| 61 |
device pci 1d.2 on end # USB UHCI |
| 62 |
device pci 1d.3 on end # USB UHCI |
| 63 |
device pci 1d.7 on end # USB2 EHCI |
| 64 |
device pci 1e.0 on end # PCI bridge |
| 65 |
device pci 1e.2 off end # AC'97 Audio |
| 66 |
device pci 1e.3 off end # AC'97 Modem |
| 67 |
device pci 1f.0 on # LPC bridge |
| 68 |
chip superio/smsc/fdc37n972 |
| 69 |
device pnp 2e.0 off # Floppy |
| 70 |
end |
| 71 |
device pnp 2e.1 off # ACPI PM |
| 72 |
end |
| 73 |
# 2e.2 does not exist |
| 74 |
device pnp 2e.3 on # Parallel port |
| 75 |
io 0x60 = 0x378 |
| 76 |
irq 0x70 = 5 |
| 77 |
end |
| 78 |
device pnp 2e.4 on # COM1 |
| 79 |
io 0x60 = 0x3f8 |
| 80 |
irq 0x70 = 4 |
| 81 |
end |
| 82 |
device pnp 2e.5 off |
| 83 |
end |
| 84 |
#device pnp 2e.6 on # RTC |
| 85 |
# io 0x60 = 0x70 |
| 86 |
# io 0x62 = 0x74 |
| 87 |
#end |
| 88 |
device pnp 2e.7 off # Keyboard |
| 89 |
end |
| 90 |
device pnp 2e.8 off # EC |
| 91 |
io 0x60 = 0x62 |
| 92 |
end |
| 93 |
#device pnp 2e.9 on # Mailbox |
| 94 |
#end |
| 95 |
end |
| 96 |
chip superio/smsc/sio10n268 |
| 97 |
device pnp 4e.0 off # Floppy |
| 98 |
end |
| 99 |
device pnp 4e.1 off # Parport |
| 100 |
end |
| 101 |
#device pnp 4e.2 on # COM3 |
| 102 |
# io 0x60 = 0x3e8 |
| 103 |
# irq 0x70 = 6 |
| 104 |
#end |
| 105 |
#device pnp 4e.3 on # COM4 |
| 106 |
# io 0x60 = 0x2e8 |
| 107 |
# irq 0x70 = 6 |
| 108 |
#end |
| 109 |
device pnp 4e.5 on # Keyboard |
| 110 |
io 0x60 = 0x60 |
| 111 |
io 0x62 = 0x64 |
| 112 |
end |
| 113 |
device pnp 4e.7 off # GPIO1, GAME, MIDI |
| 114 |
end |
| 115 |
device pnp 4e.8 off # GPIO2 |
| 116 |
end |
| 117 |
device pnp 4e.9 off # GPIO3/4 |
| 118 |
end |
| 119 |
device pnp 4e.a off # ACPI |
| 120 |
end |
| 121 |
device pnp 4e.b off # HWM |
| 122 |
end |
| 123 |
end |
| 124 |
|
| 125 |
end |
| 126 |
device pci 1f.1 off end # IDE |
| 127 |
device pci 1f.2 on end # SATA |
| 128 |
device pci 1f.3 on end # SMBus |
| 129 |
end |
| 130 |
end |
| 131 |
end |