| 1 |
# SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
|
| 3 |
chip northbridge/intel/x4x # Northbridge |
| 4 |
device cpu_cluster 0 on ops x4x_cpu_bus_ops end # APIC cluster |
| 5 |
device domain 0 on |
| 6 |
ops x4x_pci_domain_ops # PCI domain |
| 7 |
subsystemid 0x17aa 0x304f inherit |
| 8 |
device pci 0.0 on end # Host Bridge |
| 9 |
device pci 1.0 on end # PEG |
| 10 |
device pci 2.0 on end # Integrated graphics controller |
| 11 |
chip southbridge/intel/i82801gx # Southbridge |
| 12 |
register "pirqa_routing" = "0x0b" |
| 13 |
register "pirqb_routing" = "0x0b" |
| 14 |
register "pirqc_routing" = "0x0b" |
| 15 |
register "pirqd_routing" = "0x0b" |
| 16 |
register "pirqe_routing" = "0x80" |
| 17 |
register "pirqf_routing" = "0x80" |
| 18 |
register "pirqg_routing" = "0x80" |
| 19 |
register "pirqh_routing" = "0x0b" |
| 20 |
# GPI routing |
| 21 |
# 0 No effect (default) |
| 22 |
# 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 23 |
# 2 SCI (if corresponding GPIO_EN bit is also set) |
| 24 |
register "gpi13_routing" = "1" # ??vendor |
| 25 |
|
| 26 |
register "ide_enable_primary" = "true" |
| 27 |
register "gpe0_en" = "0x440" |
| 28 |
|
| 29 |
register "gen1_dec" = "0x00fc0a01" |
| 30 |
|
| 31 |
device pci 1b.0 on end # Audio |
| 32 |
device pci 1c.0 on end # PCIe 1 |
| 33 |
device pci 1c.1 on # PCIe 2: NIC |
| 34 |
device pci 00.0 on end |
| 35 |
end |
| 36 |
device pci 1c.2 off end # PCIe 3 |
| 37 |
device pci 1c.3 off end # PCIe 4 |
| 38 |
device pci 1d.0 on end # USB |
| 39 |
device pci 1d.1 on end # USB |
| 40 |
device pci 1d.2 on end # USB |
| 41 |
device pci 1d.3 on end # USB |
| 42 |
device pci 1d.7 on end # USB |
| 43 |
device pci 1e.0 on end # PCI bridge |
| 44 |
device pci 1e.2 off end # AC'97 Audio Controller |
| 45 |
device pci 1e.3 off end # AC'97 Modem Controller |
| 46 |
device pci 1f.0 on # LPC bridge |
| 47 |
chip superio/smsc/smscsuperio |
| 48 |
device pnp 2e.0 off end # Floppy |
| 49 |
device pnp 2e.3 on # Parallel Port |
| 50 |
io 0x60 = 0x378 |
| 51 |
irq 0x70 = 7 |
| 52 |
drq 0x74 = 3 |
| 53 |
end |
| 54 |
device pnp 2e.4 on # COM1 |
| 55 |
io 0x60 = 0x3f8 |
| 56 |
irq 0x70 = 4 |
| 57 |
end |
| 58 |
device pnp 2e.5 off end # COM2 |
| 59 |
device pnp 2e.7 on # Keyboard |
| 60 |
io 0x60 = 0x60 # Can't read this back |
| 61 |
io 0x62 = 0x64 # Can't read this back |
| 62 |
irq 0x70 = 1 |
| 63 |
irq 0x72 = 12 |
| 64 |
end |
| 65 |
device pnp 2e.a on # Runtime Regs |
| 66 |
io 0x60 = 0x0a00 |
| 67 |
end |
| 68 |
end # smscsuperio |
| 69 |
end |
| 70 |
device pci 1f.1 on end # PATA/IDE |
| 71 |
device pci 1f.2 on end # SATA |
| 72 |
device pci 1f.3 on # SMbus |
| 73 |
chip drivers/i2c/at24rf08c |
| 74 |
device i2c 54 on end |
| 75 |
device i2c 55 on end |
| 76 |
device i2c 56 on end |
| 77 |
device i2c 57 on end |
| 78 |
end |
| 79 |
chip drivers/i2c/ck505 |
| 80 |
register "mask" = "{ 0x00, 0x80 }" |
| 81 |
register "regs" = "{ 0x00, 0x80 }" |
| 82 |
device i2c 69 on end |
| 83 |
end |
| 84 |
end |
| 85 |
end |
| 86 |
end |
| 87 |
end |