Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 1 | chip northbridge/intel/i945 |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 2 | # IGD Displays |
| 3 | register "gfx.ndid" = "3" |
| 4 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 5 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 6 | device cpu_cluster 0 on |
| 7 | chip cpu/intel/socket_mFCPGA478 |
| 8 | device lapic 0 on end |
| 9 | end |
| 10 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 11 | |
Arthur Heymans | 885c289 | 2016-10-03 17:16:48 +0200 | [diff] [blame] | 12 | register "pci_mmio_size" = "768" |
| 13 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 14 | device domain 0 on |
| 15 | device pci 00.0 on end # host bridge |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 16 | device pci 01.0 off end # i945 PCIe root port |
Myles Watson | d27c08c | 2009-11-06 23:42:26 +0000 | [diff] [blame] | 17 | device pci 02.0 on end # vga controller |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 18 | device pci 02.1 on end # display controller |
| 19 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 20 | chip southbridge/intel/i82801gx |
Vladimir Serbinenko | c746dcb | 2014-11-15 20:40:04 +0100 | [diff] [blame] | 21 | register "pirqa_routing" = "0x0b" |
| 22 | register "pirqb_routing" = "0x0b" |
| 23 | register "pirqc_routing" = "0x0b" |
| 24 | register "pirqd_routing" = "0x0b" |
| 25 | register "pirqe_routing" = "0x0b" |
| 26 | register "pirqf_routing" = "0x0b" |
| 27 | register "pirqg_routing" = "0x0b" |
| 28 | register "pirqh_routing" = "0x0b" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 29 | |
| 30 | # GPI routing |
| 31 | # 0 No effect (default) |
| 32 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 33 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 34 | register "gpi13_routing" = "1" |
| 35 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 36 | register "ide_legacy_combined" = "0x1" |
| 37 | register "ide_enable_primary" = "0x1" |
| 38 | register "ide_enable_secondary" = "0x1" |
| 39 | register "sata_ahci" = "0x0" |
Vladimir Serbinenko | ab83ef0 | 2014-10-25 15:18:25 +0200 | [diff] [blame] | 40 | register "c3_latency" = "85" |
| 41 | register "p_cnt_throttling_supported" = "0" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 42 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 43 | device pci 1b.0 on end # High Definition Audio |
| 44 | device pci 1c.0 on end # PCIe |
| 45 | device pci 1c.1 on end # PCIe |
| 46 | device pci 1c.2 on end # PCIe |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 47 | #device pci 1c.3 off end # PCIe port 4 |
| 48 | #device pci 1c.4 off end # PCIe port 5 |
| 49 | #device pci 1c.5 off end # PCIe port 6 |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 50 | device pci 1d.0 on end # USB UHCI |
| 51 | device pci 1d.1 on end # USB UHCI |
| 52 | device pci 1d.2 on end # USB UHCI |
| 53 | device pci 1d.3 on end # USB UHCI |
| 54 | device pci 1d.7 on end # USB2 EHCI |
| 55 | device pci 1e.0 on end # PCI bridge |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 56 | #device pci 1e.2 off end # AC'97 Audio |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 57 | #device pci 1e.3 off end # AC'97 Modem |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 58 | device pci 1f.0 on # LPC bridge |
| 59 | chip superio/winbond/w83627thg |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 60 | device pnp 2e.0 off # Floppy |
| 61 | end |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame] | 62 | device pnp 2e.1 on # Parallel port |
| 63 | io 0x60 = 0x378 |
| 64 | irq 0x70 = 5 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 65 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 66 | device pnp 2e.2 on |
| 67 | io 0x60 = 0x3f8 |
| 68 | irq 0x70 = 4 |
| 69 | end |
| 70 | device pnp 2e.3 on |
| 71 | io 0x60 = 0x2f8 |
| 72 | irq 0x70 = 3 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 73 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 74 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 75 | device pnp 2e.5 on # Keyboard+Mouse |
| 76 | io 0x60 = 0x60 |
| 77 | io 0x62 = 0x64 |
| 78 | irq 0x70 = 1 |
| 79 | irq 0x72 = 12 |
| 80 | irq 0xf0 = 0x82 # HW accel A20. |
| 81 | end |
| 82 | device pnp 2e.7 on # GPIO1, GAME, MIDI |
| 83 | io 0x62 = 0x330 |
| 84 | irq 0x70 = 9 |
| 85 | end |
| 86 | device pnp 2e.8 on # GPIO2 |
| 87 | # all default |
| 88 | end |
| 89 | device pnp 2e.9 on # GPIO3/4 |
| 90 | irq 0x30 = 0x03 # does this work? |
| 91 | irq 0xf0 = 0xfb # set inputs/outputs |
| 92 | irq 0xf1 = 0x66 |
| 93 | end |
| 94 | device pnp 2e.a off # ACPI |
| 95 | end |
| 96 | device pnp 2e.b on # HWM |
| 97 | io 0x60 = 0xa00 |
| 98 | irq 0x70 = 0 |
| 99 | end |
| 100 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 101 | end |
| 102 | chip superio/winbond/w83627thg |
| 103 | device pnp 4e.0 off # Floppy |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 104 | end |
| 105 | device pnp 4e.1 off # Parport |
| 106 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 107 | device pnp 4e.2 on # COM3 |
| 108 | io 0x60 = 0x3e8 |
| 109 | irq 0x70 = 6 |
| 110 | end |
| 111 | device pnp 4e.3 on # COM4 |
| 112 | io 0x60 = 0x2e8 |
| 113 | irq 0x70 = 6 |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 114 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 115 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 116 | device pnp 4e.5 off # Keyboard |
| 117 | end |
| 118 | device pnp 4e.7 off # GPIO1, GAME, MIDI |
| 119 | end |
| 120 | device pnp 4e.8 off # GPIO2 |
| 121 | end |
| 122 | device pnp 4e.9 off # GPIO3/4 |
| 123 | end |
| 124 | device pnp 4e.a off # ACPI |
| 125 | end |
| 126 | device pnp 4e.b off # HWM |
| 127 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 128 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 129 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 130 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 131 | #device pci 1f.1 off end # IDE |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 132 | device pci 1f.2 on end # SATA |
| 133 | device pci 1f.3 on end # SMBus |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 134 | #device pci 1f.4 off end # Realtek ID Codec |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 135 | end |
| 136 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 137 | end |