| 1 |
chip northbridge/intel/i945 |
| 2 |
# IGD Displays |
| 3 |
register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
| 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 |
device pci 00.0 on end # host bridge |
| 12 |
device pci 01.0 off end # i945 PCIe root port |
| 13 |
device pci 02.0 on end # vga controller |
| 14 |
device pci 02.1 on end # display controller |
| 15 |
|
| 16 |
chip southbridge/intel/i82801gx |
| 17 |
register "pirqa_routing" = "0x05" |
| 18 |
register "pirqb_routing" = "0x07" |
| 19 |
register "pirqc_routing" = "0x05" |
| 20 |
register "pirqd_routing" = "0x07" |
| 21 |
register "pirqe_routing" = "0x80" |
| 22 |
register "pirqf_routing" = "0x80" |
| 23 |
register "pirqg_routing" = "0x80" |
| 24 |
register "pirqh_routing" = "0x06" |
| 25 |
|
| 26 |
# GPI routing |
| 27 |
# 0 No effect (default) |
| 28 |
# 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 29 |
# 2 SCI (if corresponding GPIO_EN bit is also set) |
| 30 |
register "gpi13_routing" = "1" |
| 31 |
|
| 32 |
register "ide_enable_primary" = "true" |
| 33 |
register "ide_enable_secondary" = "false" |
| 34 |
|
| 35 |
register "c3_latency" = "85" |
| 36 |
register "p_cnt_throttling_supported" = "false" |
| 37 |
|
| 38 |
register "gen1_dec" = "0x00fc0291" |
| 39 |
register "gen4_dec" = "0x00000301" |
| 40 |
|
| 41 |
#device pci 1b.0 on end # High Definition Audio |
| 42 |
device pci 1c.0 on end # PCIe |
| 43 |
device pci 1c.1 on end # PCIe |
| 44 |
device pci 1c.2 on end # PCIe |
| 45 |
device pci 1c.3 on end # PCIe port 4 |
| 46 |
device pci 1c.4 on end # PCIe port 5 |
| 47 |
device pci 1c.5 on end # PCIe port 6 |
| 48 |
device pci 1d.0 on end # USB UHCI |
| 49 |
device pci 1d.1 on end # USB UHCI |
| 50 |
device pci 1d.2 on end # USB UHCI |
| 51 |
device pci 1d.3 on end # USB UHCI |
| 52 |
device pci 1d.7 on end # USB2 EHCI |
| 53 |
device pci 1e.0 on end # PCI bridge |
| 54 |
device pci 1e.2 on end # AC'97 Audio |
| 55 |
device pci 1e.3 on end # AC'97 Modem |
| 56 |
device pci 1f.0 on # LPC bridge |
| 57 |
chip superio/winbond/w83627ehg |
| 58 |
device pnp 4e.0 off end # Floppy |
| 59 |
device pnp 4e.1 off end # Parport |
| 60 |
device pnp 4e.2 on # COM1 |
| 61 |
io 0x60 = 0x3f8 |
| 62 |
irq 0x70 = 4 |
| 63 |
end |
| 64 |
device pnp 4e.3 on # COM2 |
| 65 |
io 0x60 = 0x2f8 |
| 66 |
irq 0x70 = 3 |
| 67 |
irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 68 |
end |
| 69 |
device pnp 4e.5 on # PS/2 keyboard & mouse |
| 70 |
io 0x60 = 0x60 |
| 71 |
io 0x62 = 0x64 |
| 72 |
irq 0x70 = 1 |
| 73 |
irq 0x72 = 12 |
| 74 |
irq 0xf0 = 0x82 # HW accel A20. |
| 75 |
end |
| 76 |
device pnp 4e.106 off end # Serial flash interface (SFI) |
| 77 |
device pnp 4e.007 off end # GPIO 1 |
| 78 |
device pnp 4e.107 off end # Game port |
| 79 |
device pnp 4e.207 on # MIDI |
| 80 |
io 0x62 = 0x330 |
| 81 |
irq 0x70 = 9 |
| 82 |
end |
| 83 |
device pnp 4e.307 off end # GPIO 6 |
| 84 |
device pnp 4e.8 off end # WDTO#, PLED |
| 85 |
device pnp 4e.009 on # GPIO 2 |
| 86 |
# All default |
| 87 |
end |
| 88 |
device pnp 4e.109 on # GPIO 3 |
| 89 |
irq 0xf0 = 0xfb # set inputs/outputs |
| 90 |
irq 0xf1 = 0x66 |
| 91 |
end |
| 92 |
device pnp 4e.209 on # GPIO 4 |
| 93 |
end |
| 94 |
device pnp 4e.309 off # GPIO 5 |
| 95 |
end |
| 96 |
device pnp 4e.a on # ACPI |
| 97 |
# TODO: IRQ |
| 98 |
end |
| 99 |
device pnp 4e.b on # HWM |
| 100 |
io 0x60 = 0x290 |
| 101 |
irq 0x70 = 0 |
| 102 |
end |
| 103 |
end # chip superio/winbond/w83627ehg |
| 104 |
end # LPC bridge |
| 105 |
device pci 1f.1 on end # IDE |
| 106 |
device pci 1f.2 on end # SATA |
| 107 |
device pci 1f.3 on end # SMBus |
| 108 |
end # chip southbridge/intel/i82801gx |
| 109 |
|
| 110 |
end # device domain0 |
| 111 |
end # chip northbridge/intel/i945 |