Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | chip northbridge/intel/i945 |
| 2 | |
Patrick Georgi | 8d31368 | 2010-05-05 13:12:42 +0000 | [diff] [blame] | 3 | device lapic_cluster 0 on |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 4 | chip cpu/intel/socket_mFCPGA478 |
Patrick Georgi | 8d31368 | 2010-05-05 13:12:42 +0000 | [diff] [blame] | 5 | device lapic 0 on end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 6 | end |
| 7 | end |
| 8 | |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 9 | device pci_domain 0 on |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 10 | device pci 00.0 on end # host bridge |
| 11 | device pci 01.0 off end # i945 PCIe root port |
Myles Watson | d27c08c | 2009-11-06 23:42:26 +0000 | [diff] [blame] | 12 | device pci 02.0 on end # vga controller |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 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" = "0x1" |
| 32 | register "ide_enable_primary" = "0x1" |
| 33 | register "ide_enable_secondary" = "0x1" |
| 34 | register "sata_ahci" = "0x0" |
| 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 |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 49 | #device pci 1e.2 off end # AC'97 Audio |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 50 | #device pci 1e.3 off end # AC'97 Modem |
| 51 | device pci 1f.0 on # LPC bridge |
| 52 | chip superio/winbond/w83627thg |
| 53 | device pnp 2e.0 off # Floppy |
| 54 | end |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame^] | 55 | device pnp 2e.1 on # Parallel port |
| 56 | io 0x60 = 0x378 |
| 57 | irq 0x70 = 5 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 58 | end |
| 59 | device pnp 2e.2 on |
| 60 | io 0x60 = 0x3f8 |
| 61 | irq 0x70 = 4 |
| 62 | end |
| 63 | device pnp 2e.3 on |
| 64 | io 0x60 = 0x2f8 |
| 65 | irq 0x70 = 3 |
| 66 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
| 67 | end |
| 68 | device pnp 2e.5 on # Keyboard+Mouse |
| 69 | io 0x60 = 0x60 |
| 70 | io 0x62 = 0x64 |
| 71 | irq 0x70 = 1 |
| 72 | irq 0x72 = 12 |
| 73 | irq 0xf0 = 0x82 # HW accel A20. |
| 74 | end |
| 75 | device pnp 2e.7 on # GPIO1, GAME, MIDI |
| 76 | io 0x62 = 0x330 |
| 77 | irq 0x70 = 9 |
| 78 | end |
| 79 | device pnp 2e.8 on # GPIO2 |
| 80 | # all default |
| 81 | end |
| 82 | device pnp 2e.9 on # GPIO3/4 |
| 83 | irq 0x30 = 0x03 # does this work? |
| 84 | irq 0xf0 = 0xfb # set inputs/outputs |
| 85 | irq 0xf1 = 0x66 |
| 86 | end |
| 87 | device pnp 2e.a off # ACPI |
| 88 | end |
| 89 | device pnp 2e.b on # HWM |
| 90 | io 0x60 = 0xa00 |
| 91 | irq 0x70 = 0 |
| 92 | end |
| 93 | |
| 94 | end |
| 95 | chip superio/winbond/w83627thg |
| 96 | device pnp 4e.0 off # Floppy |
| 97 | end |
| 98 | device pnp 4e.1 off # Parport |
| 99 | end |
| 100 | device pnp 4e.2 on # COM3 |
| 101 | io 0x60 = 0x3e8 |
| 102 | irq 0x70 = 11 |
| 103 | end |
| 104 | device pnp 4e.3 on # COM4 |
| 105 | io 0x60 = 0x2e8 |
| 106 | irq 0x70 = 10 |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 107 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 108 | end |
| 109 | device pnp 4e.5 off # Keyboard |
| 110 | end |
| 111 | device pnp 4e.7 off # GPIO1, GAME, MIDI |
| 112 | end |
| 113 | device pnp 4e.8 off # GPIO2 |
| 114 | end |
| 115 | device pnp 4e.9 off # GPIO3/4 |
| 116 | end |
| 117 | device pnp 4e.a off # ACPI |
| 118 | end |
| 119 | device pnp 4e.b off # HWM |
| 120 | end |
| 121 | end |
| 122 | |
| 123 | end |
| 124 | #device pci 1f.1 off end # IDE |
| 125 | device pci 1f.2 on end # SATA |
| 126 | device pci 1f.3 on end # SMBus |
| 127 | #device pci 1f.4 off end # Realtek ID Codec |
| 128 | end |
| 129 | end |
| 130 | end |