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