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