Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 1 | # This file is part of the coreboot project. |
Elyes HAOUAS | 674ad92 | 2020-05-09 13:21:47 +0200 | [diff] [blame^] | 2 | # SPDX-License-Identifier: GPL-2.0-or-later |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 3 | |
| 4 | chip northbridge/intel/x4x # Northbridge |
| 5 | device cpu_cluster 0 on # APIC cluster |
| 6 | chip cpu/intel/socket_LGA775 |
| 7 | device lapic 0 on end |
| 8 | end |
| 9 | chip cpu/intel/model_1067x # CPU |
Angel Pons | 2d69d59 | 2020-01-01 19:32:06 +0100 | [diff] [blame] | 10 | device lapic 0xacac off end |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 11 | end |
| 12 | end |
| 13 | device domain 0 on # PCI domain |
| 14 | device pci 0.0 on # Host Bridge |
| 15 | subsystemid 0x1043 0x8336 |
| 16 | end |
| 17 | device pci 1.0 on # PEG |
| 18 | subsystemid 0x1043 0x8336 |
| 19 | end |
| 20 | device pci 2.0 on # Integrated graphics controller |
| 21 | subsystemid 0x1043 0x8336 |
| 22 | end |
| 23 | device pci 2.1 on # Integrated graphics controller 2 |
| 24 | subsystemid 0x1043 0x8336 |
| 25 | end |
| 26 | device pci 3.0 off end # ME |
| 27 | device pci 3.1 off end # ME |
| 28 | device pci 3.2 off end # ME |
| 29 | device pci 3.3 off end # ME |
| 30 | chip southbridge/intel/i82801jx # Southbridge |
| 31 | register "gpe0_en" = "0x40" |
| 32 | |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 33 | register "sata_port_map" = "0x3f" |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 34 | |
| 35 | # Enable PCIe ports 0,1,3,4,5 as slots. |
| 36 | register "pcie_slot_implemented" = "0x3b" |
| 37 | |
Arthur Heymans | c484da1 | 2019-11-09 14:29:04 +0100 | [diff] [blame] | 38 | register "gen1_dec" = "0x00000295" |
| 39 | |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 40 | device pci 19.0 off end # GBE |
| 41 | device pci 1a.0 on # USB |
| 42 | subsystemid 0x1043 0x82d4 |
| 43 | end |
| 44 | device pci 1a.1 on # USB |
| 45 | subsystemid 0x1043 0x82d4 |
| 46 | end |
| 47 | device pci 1a.2 on # USB |
| 48 | subsystemid 0x1043 0x82d4 |
| 49 | end |
| 50 | device pci 1a.7 on # USB |
| 51 | subsystemid 0x1043 0x82d4 |
| 52 | end |
| 53 | device pci 1b.0 on # Audio |
| 54 | subsystemid 0x1043 0x82fe |
| 55 | end |
| 56 | device pci 1c.0 on end # PCIe 1 PCIe x1 Slot #1 |
| 57 | device pci 1c.1 on end # PCIe 2 PCIe x1 Slot #2 |
| 58 | device pci 1c.2 off end # PCIe 3 |
| 59 | device pci 1c.3 on # PCIe 4 1394 controller |
| 60 | device pci 0.0 on |
| 61 | subsystemid 0x1043 0x8313 |
| 62 | end |
| 63 | end |
| 64 | device pci 1c.4 on # PCIe 5 Marvell IDE |
| 65 | device pci 0.0 on |
| 66 | subsystemid 0x1043 0x82a2 |
| 67 | end |
| 68 | end |
| 69 | device pci 1c.5 on # PCIe 6 Realtek LAN |
| 70 | device pci 0.0 on |
| 71 | subsystemid 0x1043 0x82c6 |
| 72 | end |
| 73 | end |
| 74 | device pci 1d.0 on # USB |
| 75 | subsystemid 0x1043 0x82d4 |
| 76 | end |
| 77 | device pci 1d.1 on # USB |
| 78 | subsystemid 0x1043 0x82d4 |
| 79 | end |
| 80 | device pci 1d.2 on # USB |
| 81 | subsystemid 0x1043 0x82d4 |
| 82 | end |
| 83 | device pci 1d.7 on # USB |
| 84 | subsystemid 0x1043 0x82d4 |
| 85 | end |
| 86 | device pci 1e.0 on end # PCI bridge |
| 87 | device pci 1f.0 on # LPC bridge |
| 88 | subsystemid 0x1043 0x82d4 |
| 89 | chip superio/winbond/w83627dhg |
| 90 | device pnp 2e.0 on # Floppy |
| 91 | # global |
| 92 | irq 0x2c = 0x92 |
| 93 | #floppy |
| 94 | io 0x60 = 0x3f0 |
| 95 | irq 0x70 = 0x06 |
| 96 | drq 0x74 = 0x02 |
| 97 | end |
| 98 | device pnp 2e.1 on # Parallel port |
| 99 | # parallel port |
| 100 | io 0x60 = 0x378 |
| 101 | irq 0x70 = 7 |
| 102 | drq 0x74 = 3 |
| 103 | end |
| 104 | device pnp 2e.2 on # COM1 |
| 105 | io 0x60 = 0x3f8 |
| 106 | irq 0x70 = 4 |
| 107 | end |
| 108 | device pnp 2e.3 off end # COM2, IR |
| 109 | device pnp 2e.5 on # Keyboard, mouse |
| 110 | io 0x60 = 0x60 |
| 111 | io 0x62 = 0x64 |
| 112 | irq 0x70 = 1 |
| 113 | irq 0x72 = 12 |
| 114 | end |
| 115 | device pnp 2e.6 off end # SPI |
| 116 | device pnp 2e.7 on end # GPIO6 (all input) |
| 117 | device pnp 2e.8 off end # WDT0#, PLED |
| 118 | device pnp 2e.9 off end # GPIO2 |
| 119 | device pnp 2e.109 on # GPIO3 |
| 120 | irq 0xf0 = 0xf3 |
| 121 | end |
| 122 | device pnp 2e.209 on # GPIO4 |
| 123 | irq 0xf4 = 0x06 |
| 124 | end |
| 125 | device pnp 2e.309 on # GPIO5 |
| 126 | irq 0xe0 = 0xdf |
| 127 | irq 0xf3 = 0x09 # RSVD SUSLED settings |
| 128 | end |
Arthur Heymans | f76c12a3 | 2019-11-10 19:55:53 +0100 | [diff] [blame] | 129 | device pnp 2e.a on # ACPI |
| 130 | irq 0xe4 = 0x10 # VSBGATE# to power dram during S3 |
| 131 | end |
Arthur Heymans | 7e4bfe4 | 2019-02-05 13:30:11 +0100 | [diff] [blame] | 132 | device pnp 2e.b on # HWM, front panel LED |
| 133 | io 0x60 = 0x290 |
| 134 | irq 0x70 = 0 |
| 135 | end |
| 136 | device pnp 2e.c off end # PECI, SST |
| 137 | end |
| 138 | end |
| 139 | device pci 1f.2 on # SATA |
| 140 | subsystemid 0x1043 0x82d4 |
| 141 | end |
| 142 | device pci 1f.3 on # SMbus |
| 143 | subsystemid 0x1043 0x82d4 |
| 144 | end |
| 145 | device pci 1f.5 off end # SATA IDE mode |
| 146 | device pci 1f.6 off end # Thermal |
| 147 | end |
| 148 | end |
| 149 | end |