Bernhard M. Wiedemann | 6e554de | 2010-05-30 12:56:17 +0000 | [diff] [blame^] | 1 | chip northbridge/intel/i945 |
| 2 | |
| 3 | device lapic_cluster 0 on |
| 4 | chip cpu/intel/socket_mFCPGA478 |
| 5 | device lapic 0 on end |
| 6 | end |
| 7 | end |
| 8 | |
| 9 | device pci_domain 0 on |
| 10 | device pci 00.0 on end # host bridge |
| 11 | device pci 01.0 off end # i945 PCIe root port |
| 12 | device pci 02.0 on end # vga controller |
| 13 | device pci 02.1 on end # display controller |
| 14 | |
| 15 | chip southbridge/intel/i82801gx |
| 16 | register "pirqa_routing" = "0x05" |
| 17 | register "pirqb_routing" = "0x07" |
| 18 | register "pirqc_routing" = "0x05" |
| 19 | register "pirqd_routing" = "0x07" |
| 20 | register "pirqe_routing" = "0x80" |
| 21 | register "pirqf_routing" = "0x80" |
| 22 | register "pirqg_routing" = "0x80" |
| 23 | register "pirqh_routing" = "0x06" |
| 24 | |
| 25 | # GPI routing |
| 26 | # 0 No effect (default) |
| 27 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 28 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 29 | register "gpi13_routing" = "1" |
| 30 | |
| 31 | register "ide_legacy_combined" = "0x0" |
| 32 | register "ide_enable_primary" = "0x1" |
| 33 | register "ide_enable_secondary" = "0x0" |
| 34 | register "sata_ahci" = "0x1" |
| 35 | |
| 36 | #device pci 1b.0 on end # High Definition Audio |
| 37 | device pci 1c.0 on end # PCIe |
| 38 | device pci 1c.1 on end # PCIe |
| 39 | device pci 1c.2 on end # PCIe |
| 40 | #device pci 1c.3 off end # PCIe port 4 |
| 41 | #device pci 1c.4 off end # PCIe port 5 |
| 42 | #device pci 1c.5 off end # PCIe port 6 |
| 43 | device pci 1d.0 on end # USB UHCI |
| 44 | device pci 1d.1 on end # USB UHCI |
| 45 | device pci 1d.2 on end # USB UHCI |
| 46 | device pci 1d.3 on end # USB UHCI |
| 47 | device pci 1d.7 on end # USB2 EHCI |
| 48 | device pci 1e.0 on end # PCI bridge |
| 49 | #device pci 1e.2 off end # AC'97 Audio |
| 50 | #device pci 1e.3 off end # AC'97 Modem |
| 51 | device pci 1f.0 on # LPC bridge |
| 52 | chip superio/winbond/w83627ehg |
| 53 | device pnp 4e.0 off # Floppy |
| 54 | end |
| 55 | device pnp 4e.1 off # Parport |
| 56 | end |
| 57 | device pnp 4e.2 on # COM1 |
| 58 | io 0x60 = 0x3f8 |
| 59 | irq 0x70 = 4 |
| 60 | end |
| 61 | device pnp 4e.3 on # COM2 |
| 62 | io 0x60 = 0x2f8 |
| 63 | irq 0x70 = 3 |
| 64 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 65 | end |
| 66 | device pnp 4e.5 on # Keyboard+Mouse |
| 67 | io 0x60 = 0x60 |
| 68 | io 0x62 = 0x64 |
| 69 | irq 0x70 = 1 |
| 70 | irq 0x72 = 12 |
| 71 | irq 0xf0 = 0x82 # HW accel A20. |
| 72 | end |
| 73 | device pnp 4e.7 on # GPIO1, GAME, MIDI |
| 74 | io 0x62 = 0x330 |
| 75 | irq 0x70 = 9 |
| 76 | end |
| 77 | device pnp 4e.8 on # GPIO2 |
| 78 | # all default |
| 79 | end |
| 80 | device pnp 4e.9 on # GPIO3/4 |
| 81 | irq 0x30 = 0x03 # does this work? |
| 82 | irq 0xf0 = 0xfb # set inputs/outputs |
| 83 | irq 0xf1 = 0x66 |
| 84 | end |
| 85 | device pnp 4e.a on # ACPI |
| 86 | end |
| 87 | device pnp 4e.b on # HWM |
| 88 | io 0x60 = 0x290 |
| 89 | irq 0x70 = 0 |
| 90 | end |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end |
| 95 | device pci 1f.1 on end # IDE |
| 96 | device pci 1f.2 on end # SATA |
| 97 | device pci 1f.3 on end # SMBus |
| 98 | #device pci 1f.4 off end # Realtek ID Codec |
| 99 | end |
| 100 | end |
| 101 | end |