| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip northbridge/intel/i945 |
| 4 |
|
| 5 |
device cpu_cluster 0 on ops i945_cpu_bus_ops end # APIC cluster |
| 6 |
|
| 7 |
register "pci_mmio_size" = "768" |
| 8 |
|
| 9 |
device domain 0 on |
| 10 |
ops i945_pci_domain_ops |
| 11 |
subsystemid 0x8086 0x464c inherit |
| 12 |
device pci 00.0 on end # host bridge |
| 13 |
device pci 01.0 off end # i945 PCIe root port |
| 14 |
device pci 02.0 on end # vga controller |
| 15 |
device pci 02.1 on end # display controller |
| 16 |
|
| 17 |
chip southbridge/intel/i82801gx |
| 18 |
register "pirqa_routing" = "0x05" |
| 19 |
register "pirqb_routing" = "0x07" |
| 20 |
register "pirqc_routing" = "0x05" |
| 21 |
register "pirqd_routing" = "0x07" |
| 22 |
register "pirqe_routing" = "0x80" |
| 23 |
register "pirqf_routing" = "0x80" |
| 24 |
register "pirqg_routing" = "0x80" |
| 25 |
register "pirqh_routing" = "0x06" |
| 26 |
|
| 27 |
# GPI routing |
| 28 |
# 0 No effect (default) |
| 29 |
# 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 30 |
# 2 SCI (if corresponding GPIO_EN bit is also set) |
| 31 |
register "gpi13_routing" = "1" |
| 32 |
register "gpe0_en" = "0x20000601" |
| 33 |
|
| 34 |
register "ide_enable_primary" = "true" |
| 35 |
register "ide_enable_secondary" = "false" |
| 36 |
register "c3_latency" = "85" |
| 37 |
register "p_cnt_throttling_supported" = "false" |
| 38 |
|
| 39 |
register "gen1_dec" = "0x0007c0681" # SuperIO Power Management |
| 40 |
|
| 41 |
device pci 1b.0 on end # High Definition Audio |
| 42 |
device pci 1c.0 on end # PCIe port 1 |
| 43 |
device pci 1c.1 off end # PCIe port 2 |
| 44 |
device pci 1c.2 on end # PCIe port 3 |
| 45 |
device pci 1c.3 on end # PCIe port 4 |
| 46 |
device pci 1d.0 on end # USB UHCI |
| 47 |
device pci 1d.1 on end # USB UHCI |
| 48 |
device pci 1d.2 on end # USB UHCI |
| 49 |
device pci 1d.3 off end # USB UHCI |
| 50 |
device pci 1d.7 on end # USB2 EHCI |
| 51 |
device pci 1e.0 on end # PCI bridge |
| 52 |
device pci 1e.2 off end # AC'97 Audio |
| 53 |
device pci 1e.3 off end # AC'97 Modem |
| 54 |
device pci 1f.0 on # LPC bridge |
| 55 |
chip superio/smsc/lpc47m15x |
| 56 |
device pnp 2e.0 off end # Floppy |
| 57 |
device pnp 2e.3 off end # Parport |
| 58 |
device pnp 2e.4 on |
| 59 |
io 0x60 = 0x3f8 |
| 60 |
irq 0x70 = 4 |
| 61 |
end |
| 62 |
device pnp 2e.5 on |
| 63 |
io 0x60 = 0x2f8 |
| 64 |
irq 0x70 = 3 |
| 65 |
irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 66 |
end |
| 67 |
device pnp 2e.7 on # Keyboard+Mouse |
| 68 |
io 0x60 = 0x60 |
| 69 |
io 0x62 = 0x64 |
| 70 |
irq 0x70 = 1 |
| 71 |
irq 0x72 = 12 |
| 72 |
irq 0xf0 = 0x82 # HW accel A20. |
| 73 |
end |
| 74 |
device pnp 2e.8 on # GAME |
| 75 |
# all default |
| 76 |
end |
| 77 |
device pnp 2e.a on end # PME |
| 78 |
device pnp 2e.b on end # MPU |
| 79 |
end |
| 80 |
end |
| 81 |
device pci 1f.1 off end # IDE |
| 82 |
device pci 1f.2 on end # SATA |
| 83 |
device pci 1f.3 on end # SMBus |
| 84 |
end |
| 85 |
end |
| 86 |
end |