| 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 x16 bridge |
| 13 |
device pci 02.0 on end # GMA950 iGPU + VGA |
| 14 |
device pci 02.1 on end # display controller |
| 15 |
|
| 16 |
chip southbridge/intel/i82801gx |
| 17 |
register "pirqa_routing" = "0x0b" |
| 18 |
register "pirqb_routing" = "0x0b" |
| 19 |
register "pirqc_routing" = "0x0b" |
| 20 |
register "pirqd_routing" = "0x0b" |
| 21 |
register "pirqe_routing" = "0x0b" |
| 22 |
register "pirqf_routing" = "0x0b" |
| 23 |
register "pirqg_routing" = "0x0b" |
| 24 |
register "pirqh_routing" = "0x0b" |
| 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 "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" |
| 33 |
register "ide_enable_primary" = "true" |
| 34 |
register "ide_enable_secondary" = "true" |
| 35 |
register "c3_latency" = "85" |
| 36 |
register "p_cnt_throttling_supported" = "false" |
| 37 |
|
| 38 |
# ICH-7 generic decode IO ports range for LPC |
| 39 |
register "gen1_dec" = "0x00fc0a01" # HWM |
| 40 |
register "gen2_dec" = "0x000403e9" # COM3 |
| 41 |
register "gen3_dec" = "0x000402e9" # COM4 |
| 42 |
register "gen4_dec" = "0x00000301" # ?? |
| 43 |
|
| 44 |
device pci 1b.0 on end # High Definition Audio |
| 45 |
device pci 1c.0 on end # Ethernet 1 |
| 46 |
device pci 1c.1 on end # Ethernet 2 |
| 47 |
device pci 1c.2 on end # Ethernet 3 |
| 48 |
device pci 1c.3 off end # MiniPCIe |
| 49 |
device pci 1c.4 off end # PCIe port 5 (not connected) |
| 50 |
device pci 1c.5 off end # PCIe port 6 (not connected) |
| 51 |
device pci 1d.0 on end # USB UHCI |
| 52 |
device pci 1d.1 on end # USB UHCI |
| 53 |
device pci 1d.2 on end # USB UHCI |
| 54 |
device pci 1d.3 on end # USB UHCI |
| 55 |
device pci 1d.7 on end # USB2 EHCI |
| 56 |
device pci 1e.0 on # PCI slot + Firewire |
| 57 |
device pci 00.0 on end # Firewire TSB43AB22A |
| 58 |
end |
| 59 |
device pci 1e.2 off end # AC'97 Audio |
| 60 |
device pci 1e.3 off end # AC'97 Modem |
| 61 |
device pci 1f.0 on # LPC bridge |
| 62 |
chip superio/winbond/w83627thg |
| 63 |
device pnp 2e.0 off # Floppy |
| 64 |
end |
| 65 |
device pnp 2e.1 on # Parallel port |
| 66 |
io 0x60 = 0x378 |
| 67 |
irq 0x70 = 5 |
| 68 |
end |
| 69 |
device pnp 2e.2 on |
| 70 |
io 0x60 = 0x3f8 |
| 71 |
irq 0x70 = 4 |
| 72 |
end |
| 73 |
device pnp 2e.3 on |
| 74 |
io 0x60 = 0x2f8 |
| 75 |
irq 0x70 = 3 |
| 76 |
irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 77 |
end |
| 78 |
device pnp 2e.5 on # Keyboard+Mouse |
| 79 |
io 0x60 = 0x60 |
| 80 |
io 0x62 = 0x64 |
| 81 |
irq 0x70 = 1 |
| 82 |
irq 0x72 = 12 |
| 83 |
irq 0xf0 = 0x82 # HW accel A20. |
| 84 |
end |
| 85 |
device pnp 2e.7 on # GPIO1/5, GAME, MIDI |
| 86 |
io 0x60 = 0x220 # allocator workaround |
| 87 |
io 0x62 = 0x330 |
| 88 |
irq 0x70 = 9 |
| 89 |
end |
| 90 |
device pnp 2e.8 on # GPIO2 |
| 91 |
# all default |
| 92 |
end |
| 93 |
device pnp 2e.9 on # GPIO3/4 |
| 94 |
irq 0x30 = 0x03 # does this work? |
| 95 |
irq 0xf0 = 0xfb # set inputs/outputs |
| 96 |
irq 0xf1 = 0x66 |
| 97 |
end |
| 98 |
device pnp 2e.a off # ACPI |
| 99 |
end |
| 100 |
device pnp 2e.b on # HWM |
| 101 |
io 0x60 = 0xa00 |
| 102 |
irq 0x70 = 0 |
| 103 |
end |
| 104 |
|
| 105 |
end |
| 106 |
chip superio/winbond/w83627thg |
| 107 |
device pnp 4e.0 off # Floppy |
| 108 |
end |
| 109 |
device pnp 4e.1 off # Parport |
| 110 |
end |
| 111 |
device pnp 4e.2 on # COM3 |
| 112 |
io 0x60 = 0x3e8 |
| 113 |
irq 0x70 = 6 |
| 114 |
end |
| 115 |
device pnp 4e.3 on # COM4 |
| 116 |
io 0x60 = 0x2e8 |
| 117 |
irq 0x70 = 6 |
| 118 |
irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 119 |
end |
| 120 |
device pnp 4e.5 off # Keyboard |
| 121 |
end |
| 122 |
device pnp 4e.7 off # GPIO1/5, GAME, MIDI |
| 123 |
end |
| 124 |
device pnp 4e.8 off # GPIO2 |
| 125 |
end |
| 126 |
device pnp 4e.9 off # GPIO3/4 |
| 127 |
end |
| 128 |
device pnp 4e.a off # ACPI |
| 129 |
end |
| 130 |
device pnp 4e.b off # HWM |
| 131 |
end |
| 132 |
end |
| 133 |
|
| 134 |
end |
| 135 |
device pci 1f.1 off end # IDE |
| 136 |
device pci 1f.2 on end # SATA |
| 137 |
device pci 1f.3 on end # SMBus |
| 138 |
end |
| 139 |
end |
| 140 |
end |