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