Elyes HAOUAS | 674ad92 | 2020-05-09 13:21:47 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
Arthur Heymans | ae7bd1e | 2018-09-13 21:17:25 +0200 | [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 0x1458 0x5000 inherit |
| 14 | device pci 0.0 on # Host Bridge |
| 15 | subsystemid 0x1849 0x2e30 |
| 16 | end |
| 17 | device pci 1.0 on end # PEG |
| 18 | |
| 19 | device pci 2.0 on # Integrated graphics controller |
| 20 | subsystemid 0x1849 0x2e32 |
| 21 | end |
| 22 | device pci 3.0 off end # ME |
| 23 | device pci 3.1 off end # ME |
| 24 | chip southbridge/intel/i82801gx # Southbridge |
| 25 | register "pirqa_routing" = "0x0b" |
| 26 | register "pirqb_routing" = "0x0b" |
| 27 | register "pirqc_routing" = "0x0b" |
| 28 | register "pirqd_routing" = "0x0b" |
| 29 | register "pirqe_routing" = "0x80" |
| 30 | register "pirqf_routing" = "0x80" |
| 31 | register "pirqg_routing" = "0x80" |
| 32 | register "pirqh_routing" = "0x0b" |
| 33 | |
| 34 | register "ide_enable_primary" = "0x1" |
Arthur Heymans | ae7bd1e | 2018-09-13 21:17:25 +0200 | [diff] [blame] | 35 | register "gpe0_en" = "0x440" |
| 36 | |
Arthur Heymans | fecf777 | 2019-11-09 14:19:04 +0100 | [diff] [blame] | 37 | register "gen1_dec" = "0x000c0291" # Superio HWM |
| 38 | |
Arthur Heymans | ae7bd1e | 2018-09-13 21:17:25 +0200 | [diff] [blame] | 39 | device pci 1b.0 on # Audio |
| 40 | subsystemid 0x1849 0x3662 |
| 41 | end |
| 42 | device pci 1c.0 on end # PCIe 1 |
| 43 | device pci 1c.1 on end # PCIe 2 (ethernet) |
| 44 | device pci 1c.2 off end # PCIe 3 |
| 45 | device pci 1c.3 off end # PCIe 4 |
Arthur Heymans | ae7bd1e | 2018-09-13 21:17:25 +0200 | [diff] [blame] | 46 | device pci 1d.0 on # USB |
| 47 | subsystemid 0x1849 0x27c8 |
| 48 | end |
| 49 | device pci 1d.1 on # USB |
| 50 | subsystemid 0x1849 0x27c9 |
| 51 | end |
| 52 | device pci 1d.2 on # USB |
| 53 | subsystemid 0x1849 0x27ca |
| 54 | end |
| 55 | device pci 1d.3 on # USB |
| 56 | subsystemid 0x1849 0x27cb |
| 57 | end |
| 58 | device pci 1d.7 on # USB |
| 59 | subsystemid 0x1849 0x27cc |
| 60 | end |
| 61 | device pci 1e.0 on end # PCI bridge |
| 62 | device pci 1e.2 off end # AC'97 Audio |
| 63 | device pci 1e.3 off end # AC'97 Modem |
| 64 | device pci 1f.0 on # ISA bridge |
| 65 | subsystemid 0x1849 0x27b8 |
| 66 | chip superio/winbond/w83627dhg |
| 67 | device pnp 2e.0 off end # Floppy |
| 68 | device pnp 2e.1 on # Parallel port |
| 69 | # global |
| 70 | irq 0x28 = 0x70 |
| 71 | irq 0x2c = 0xd2 |
| 72 | # parallel port |
| 73 | io 0x60 = 0x378 |
| 74 | irq 0x70 = 7 |
| 75 | drq 0x74 = 3 |
| 76 | end |
| 77 | device pnp 2e.2 on # COM1 |
| 78 | io 0x60 = 0x3f8 |
| 79 | irq 0x70 = 4 |
| 80 | end |
| 81 | device pnp 2e.3 off end # COM2 |
| 82 | device pnp 2e.5 on # Keyboard & MOUSE |
| 83 | io 0x60 = 0x60 |
| 84 | io 0x62 = 0x64 |
| 85 | irq 0x70 = 1 |
| 86 | irq 0x72 = 0x0C |
| 87 | end |
| 88 | device pnp 2e.6 off end # SPI |
| 89 | device pnp 2e.7 off end # GPIO6 |
| 90 | device pnp 2e.8 off end # WDT0#, PLED |
Elyes HAOUAS | 967b84d | 2018-10-09 22:33:11 +0200 | [diff] [blame] | 91 | device pnp 2e.9 on end # GPIO2 |
Arthur Heymans | ae7bd1e | 2018-09-13 21:17:25 +0200 | [diff] [blame] | 92 | device pnp 2e.109 off end # GPIO3 |
| 93 | device pnp 2e.209 on # GPIO4 |
| 94 | irq 0xf4 = 0xb3 |
| 95 | end |
| 96 | device pnp 2e.309 off end # GPIO5 |
| 97 | device pnp 2e.a on # ACPI |
| 98 | irq 0xe4 = 0x10 # Power dram during s3 |
| 99 | end |
| 100 | device pnp 2e.b on # HWM, front panel LED |
| 101 | io 0x60 = 0x290 |
| 102 | irq 0x70 = 0 |
| 103 | end |
| 104 | device pnp 2e.c off end # PECI, SST |
| 105 | end |
| 106 | end |
| 107 | device pci 1f.1 on # PATA/IDE |
| 108 | subsystemid 0x1849 0x27df |
| 109 | end |
| 110 | device pci 1f.2 on # SATA |
| 111 | subsystemid 0x1849 0x27c0 |
| 112 | end |
| 113 | device pci 1f.3 on # SMbus |
| 114 | subsystemid 0x1849 0x27da |
| 115 | chip drivers/i2c/ck505 # W83115RG-965 |
| 116 | # set SATA to fixed 100Mhz refclk |
| 117 | register "mask" = "{ 0x02 }" |
| 118 | register "regs" = "{ 0x02 }" |
| 119 | device i2c 69 on end |
| 120 | end |
| 121 | end |
| 122 | end |
| 123 | end |
| 124 | end |