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 |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame] | 3 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 4 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 5 | device cpu_cluster 0 on |
Nico Huber | 4829af1 | 2019-02-27 14:23:18 +0100 | [diff] [blame] | 6 | chip cpu/intel/socket_m |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 7 | device lapic 0 on end |
| 8 | end |
| 9 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 10 | |
Arthur Heymans | 885c289 | 2016-10-03 17:16:48 +0200 | [diff] [blame] | 11 | register "pci_mmio_size" = "768" |
| 12 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 13 | device domain 0 on |
| 14 | device pci 00.0 on end # host bridge |
Petr Cvek | 6090d4e | 2022-04-24 07:37:55 +0200 | [diff] [blame] | 15 | device pci 01.0 off end # i945 PCIe x16 bridge |
| 16 | device pci 02.0 on end # GMA950 iGPU + VGA |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 17 | device pci 02.1 on end # display controller |
| 18 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 19 | chip southbridge/intel/i82801gx |
Vladimir Serbinenko | c746dcb | 2014-11-15 20:40:04 +0100 | [diff] [blame] | 20 | register "pirqa_routing" = "0x0b" |
| 21 | register "pirqb_routing" = "0x0b" |
| 22 | register "pirqc_routing" = "0x0b" |
| 23 | register "pirqd_routing" = "0x0b" |
| 24 | register "pirqe_routing" = "0x0b" |
| 25 | register "pirqf_routing" = "0x0b" |
| 26 | register "pirqg_routing" = "0x0b" |
| 27 | register "pirqh_routing" = "0x0b" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 28 | |
| 29 | # GPI routing |
| 30 | # 0 No effect (default) |
| 31 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 32 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 33 | register "gpi13_routing" = "1" |
| 34 | |
Nico Huber | ae31769 | 2019-07-20 17:03:56 +0200 | [diff] [blame] | 35 | register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 36 | register "ide_enable_primary" = "0x1" |
| 37 | register "ide_enable_secondary" = "0x1" |
Vladimir Serbinenko | ab83ef0 | 2014-10-25 15:18:25 +0200 | [diff] [blame] | 38 | register "c3_latency" = "85" |
| 39 | register "p_cnt_throttling_supported" = "0" |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 40 | |
Petr Cvek | 6090d4e | 2022-04-24 07:37:55 +0200 | [diff] [blame] | 41 | # ICH-7 generic decode IO ports range for LPC |
Arthur Heymans | fecf777 | 2019-11-09 14:19:04 +0100 | [diff] [blame] | 42 | register "gen1_dec" = "0x00fc0a01" # HWM |
| 43 | register "gen2_dec" = "0x000403e9" # COM3 |
| 44 | register "gen3_dec" = "0x000402e9" # COM4 |
| 45 | register "gen4_dec" = "0x00000301" # ?? |
| 46 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 47 | device pci 1b.0 on end # High Definition Audio |
Petr Cvek | 6090d4e | 2022-04-24 07:37:55 +0200 | [diff] [blame] | 48 | device pci 1c.0 on end # Ethernet 1 |
| 49 | device pci 1c.1 on end # Ethernet 2 |
| 50 | device pci 1c.2 on end # Ethernet 3 |
| 51 | device pci 1c.3 off end # MiniPCIe |
| 52 | device pci 1c.4 off end # PCIe port 5 (not connected) |
| 53 | device pci 1c.5 off end # PCIe port 6 (not connected) |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 54 | device pci 1d.0 on end # USB UHCI |
| 55 | device pci 1d.1 on end # USB UHCI |
| 56 | device pci 1d.2 on end # USB UHCI |
| 57 | device pci 1d.3 on end # USB UHCI |
| 58 | device pci 1d.7 on end # USB2 EHCI |
Petr Cvek | de05375 | 2022-04-24 07:46:19 +0200 | [diff] [blame] | 59 | device pci 1e.0 on # PCI slot + Firewire |
| 60 | device pci 00.0 on end # Firewire TSB43AB22A |
| 61 | end |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame] | 62 | device pci 1e.2 off end # AC'97 Audio |
| 63 | device pci 1e.3 off end # AC'97 Modem |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 64 | device pci 1f.0 on # LPC bridge |
| 65 | chip superio/winbond/w83627thg |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 66 | device pnp 2e.0 off # Floppy |
| 67 | end |
Patrick Georgi | a470019 | 2011-01-27 07:39:38 +0000 | [diff] [blame] | 68 | device pnp 2e.1 on # Parallel port |
| 69 | io 0x60 = 0x378 |
| 70 | irq 0x70 = 5 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 71 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 72 | device pnp 2e.2 on |
| 73 | io 0x60 = 0x3f8 |
| 74 | irq 0x70 = 4 |
| 75 | end |
| 76 | device pnp 2e.3 on |
| 77 | io 0x60 = 0x2f8 |
| 78 | irq 0x70 = 3 |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 79 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 80 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 81 | device pnp 2e.5 on # Keyboard+Mouse |
| 82 | io 0x60 = 0x60 |
| 83 | io 0x62 = 0x64 |
| 84 | irq 0x70 = 1 |
| 85 | irq 0x72 = 12 |
| 86 | irq 0xf0 = 0x82 # HW accel A20. |
| 87 | end |
Petr Cvek | 6090d4e | 2022-04-24 07:37:55 +0200 | [diff] [blame] | 88 | device pnp 2e.7 on # GPIO1/5, GAME, MIDI |
Petr Cvek | 5adbc76 | 2019-09-29 01:26:12 +0200 | [diff] [blame] | 89 | io 0x60 = 0x220 # allocator workaround |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 90 | io 0x62 = 0x330 |
| 91 | irq 0x70 = 9 |
| 92 | end |
| 93 | device pnp 2e.8 on # GPIO2 |
| 94 | # all default |
| 95 | end |
| 96 | device pnp 2e.9 on # GPIO3/4 |
| 97 | irq 0x30 = 0x03 # does this work? |
| 98 | irq 0xf0 = 0xfb # set inputs/outputs |
| 99 | irq 0xf1 = 0x66 |
| 100 | end |
| 101 | device pnp 2e.a off # ACPI |
| 102 | end |
| 103 | device pnp 2e.b on # HWM |
| 104 | io 0x60 = 0xa00 |
| 105 | irq 0x70 = 0 |
| 106 | end |
| 107 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 108 | end |
| 109 | chip superio/winbond/w83627thg |
| 110 | device pnp 4e.0 off # Floppy |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 111 | end |
| 112 | device pnp 4e.1 off # Parport |
| 113 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 114 | device pnp 4e.2 on # COM3 |
| 115 | io 0x60 = 0x3e8 |
| 116 | irq 0x70 = 6 |
| 117 | end |
| 118 | device pnp 4e.3 on # COM4 |
| 119 | io 0x60 = 0x2e8 |
| 120 | irq 0x70 = 6 |
Stefan Reinauer | de3206a | 2010-02-22 06:09:43 +0000 | [diff] [blame] | 121 | irq 0xf1 = 4 # set IRMODE 0 # XXX not an irq |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 122 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 123 | device pnp 4e.5 off # Keyboard |
| 124 | end |
Petr Cvek | 6090d4e | 2022-04-24 07:37:55 +0200 | [diff] [blame] | 125 | device pnp 4e.7 off # GPIO1/5, GAME, MIDI |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 126 | end |
| 127 | device pnp 4e.8 off # GPIO2 |
| 128 | end |
| 129 | device pnp 4e.9 off # GPIO3/4 |
| 130 | end |
| 131 | device pnp 4e.a off # ACPI |
| 132 | end |
| 133 | device pnp 4e.b off # HWM |
| 134 | end |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 135 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 136 | |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 137 | end |
Arthur Heymans | b9d2589 | 2018-06-15 22:02:28 +0200 | [diff] [blame] | 138 | device pci 1f.1 off end # IDE |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 139 | device pci 1f.2 on end # SATA |
| 140 | device pci 1f.3 on end # SMBus |
Elyes HAOUAS | 117fd8d | 2016-09-29 20:29:54 +0200 | [diff] [blame] | 141 | end |
| 142 | end |
Patrick Georgi | 0588d19 | 2009-08-12 15:00:51 +0000 | [diff] [blame] | 143 | end |