| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip northbridge/intel/i945 |
| 4 |
# IGD Displays |
| 5 |
register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
| 6 |
|
| 7 |
device cpu_cluster 0 on ops i945_cpu_bus_ops end # APIC cluster |
| 8 |
|
| 9 |
register "pci_mmio_size" = "768" |
| 10 |
|
| 11 |
device domain 0 on |
| 12 |
ops i945_pci_domain_ops |
| 13 |
subsystemid 0x4352 0x6886 inherit |
| 14 |
device pci 00.0 on end # host bridge |
| 15 |
# auto detection: |
| 16 |
#device pci 01.0 off end # i945 PCIe root port |
| 17 |
device pci 02.0 on end # vga controller |
| 18 |
device pci 02.1 on end # display controller |
| 19 |
|
| 20 |
chip southbridge/intel/i82801gx |
| 21 |
register "pirqa_routing" = "0x0b" |
| 22 |
register "pirqb_routing" = "0x0b" |
| 23 |
register "pirqc_routing" = "0x0b" |
| 24 |
register "pirqd_routing" = "0x0b" |
| 25 |
register "pirqe_routing" = "0x80" |
| 26 |
register "pirqf_routing" = "0x80" |
| 27 |
register "pirqg_routing" = "0x0b" |
| 28 |
register "pirqh_routing" = "0x0b" |
| 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" = "2" |
| 35 |
register "gpi8_routing" = "1" |
| 36 |
register "gpi7_routing" = "2" |
| 37 |
register "gpe0_en" = "0x20800007" |
| 38 |
|
| 39 |
register "c3_latency" = "0x23" |
| 40 |
register "docking_supported" = "true" |
| 41 |
register "p_cnt_throttling_supported" = "true" |
| 42 |
|
| 43 |
register "sata_mode" = "SATA_MODE_IDE_LEGACY_COMBINED" |
| 44 |
register "ide_enable_primary" = "true" |
| 45 |
register "ide_enable_secondary" = "false" |
| 46 |
|
| 47 |
register "gen1_dec" = "0x001c02e1" # COM3, COM4 |
| 48 |
register "gen2_dec" = "0x00fc0601" # ?? |
| 49 |
register "gen3_dec" = "0x00040069" # EC decode ?? |
| 50 |
|
| 51 |
device pci 1b.0 off end # High Definition Audio |
| 52 |
device pci 1c.0 on end # PCIe port 1 |
| 53 |
device pci 1c.1 off end # PCIe port 2 |
| 54 |
device pci 1c.2 off end # PCIe port 3 |
| 55 |
device pci 1c.3 on end # PCIe port 4 |
| 56 |
device pci 1c.4 off end # PCIe port 5 |
| 57 |
device pci 1c.5 off end # PCIe port 6 |
| 58 |
device pci 1d.0 on end # USB UHCI |
| 59 |
device pci 1d.1 on end # USB UHCI |
| 60 |
device pci 1d.2 on end # USB UHCI |
| 61 |
device pci 1d.3 on end # USB UHCI |
| 62 |
device pci 1d.7 on end # USB2 EHCI |
| 63 |
device pci 1e.0 on # PCI bridge |
| 64 |
chip southbridge/ti/pci7420 |
| 65 |
register "smartcard_enabled" = "0x0" |
| 66 |
device pci 3.0 on end |
| 67 |
device pci 3.1 on end |
| 68 |
device pci 3.2 on end |
| 69 |
device pci 3.3 off end # smartcard |
| 70 |
end |
| 71 |
end |
| 72 |
device pci 1e.2 on end # AC'97 Audio |
| 73 |
device pci 1e.3 off end # AC'97 Modem |
| 74 |
device pci 1f.0 on # LPC bridge |
| 75 |
chip superio/smsc/lpc47n227 |
| 76 |
device pnp 2e.1 on # Parallel port |
| 77 |
io 0x60 = 0x378 |
| 78 |
irq 0x70 = 5 |
| 79 |
end |
| 80 |
device pnp 2e.2 on # COM1 |
| 81 |
io 0x60 = 0x3f8 |
| 82 |
irq 0x70 = 4 |
| 83 |
end |
| 84 |
device pnp 2e.3 on # COM2 |
| 85 |
io 0x60 = 0x2f8 |
| 86 |
irq 0x70 = 3 |
| 87 |
end |
| 88 |
device pnp 2e.5 off # Keyboard+Mouse |
| 89 |
# io 0x60 = 0x60 |
| 90 |
# io 0x62 = 0x64 |
| 91 |
# irq 0x70 = 1 |
| 92 |
# irq 0x72 = 12 |
| 93 |
end |
| 94 |
end |
| 95 |
chip superio/renesas/m3885x |
| 96 |
device pnp ff.1 on # dummy address |
| 97 |
end |
| 98 |
end |
| 99 |
end |
| 100 |
device pci 1f.1 off end # IDE |
| 101 |
device pci 1f.2 on end # SATA |
| 102 |
device pci 1f.3 on end # SMBus |
| 103 |
end |
| 104 |
end |
| 105 |
end |