Elyes HAOUAS | 674ad92 | 2020-05-09 13:21:47 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [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 | fbc508f | 2017-06-01 14:50:07 +0200 | [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 | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 15 | subsystemid 0x1458 0x5000 inherit |
| 16 | device pci 0.0 on # Host Bridge |
| 17 | subsystemid 0x8086 0x5756 |
| 18 | end |
| 19 | device pci 1.0 on end # PEG |
| 20 | device pci 2.0 on # Integrated graphics controller |
| 21 | subsystemid 0x8086 0x5756 |
| 22 | end |
| 23 | chip southbridge/intel/i82801gx # Southbridge |
| 24 | register "pirqa_routing" = "0x0b" |
| 25 | register "pirqb_routing" = "0x0b" |
| 26 | register "pirqc_routing" = "0x0b" |
| 27 | register "pirqd_routing" = "0x0b" |
| 28 | register "pirqe_routing" = "0x80" |
| 29 | register "pirqf_routing" = "0x80" |
| 30 | register "pirqg_routing" = "0x80" |
| 31 | register "pirqh_routing" = "0x0b" |
| 32 | # GPI routing |
| 33 | # 0 No effect (default) |
| 34 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 35 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 36 | register "gpi0_routing" = "2" |
| 37 | register "gpi1_routing" = "2" |
| 38 | register "gpi2_routing" = "2" |
| 39 | register "gpi3_routing" = "2" |
| 40 | register "gpi4_routing" = "2" |
| 41 | register "gpi5_routing" = "2" |
| 42 | register "gpi6_routing" = "2" |
| 43 | register "gpi7_routing" = "2" |
| 44 | register "gpi8_routing" = "2" |
| 45 | register "gpi9_routing" = "2" |
| 46 | register "gpi10_routing" = "2" |
| 47 | register "gpi11_routing" = "2" |
| 48 | register "gpi12_routing" = "2" |
| 49 | register "gpi13_routing" = "2" |
| 50 | register "gpi14_routing" = "2" |
| 51 | register "gpi15_routing" = "2" |
| 52 | |
Elyes Haouas | dc3beea | 2022-11-29 17:36:51 +0100 | [diff] [blame] | 53 | register "ide_enable_primary" = "true" |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 54 | register "gpe0_en" = "0x440" |
| 55 | |
Arthur Heymans | fecf777 | 2019-11-09 14:19:04 +0100 | [diff] [blame] | 56 | register "gen1_dec" = "0x00fc0a01" # HWM |
| 57 | |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 58 | device pci 1b.0 on # Audio |
| 59 | subsystemid 0x8086 0x5756 |
| 60 | end |
| 61 | device pci 1c.0 on end # PCIe 1 |
| 62 | device pci 1c.1 on # PCIe 2: NIC |
| 63 | device pci 00.0 on |
| 64 | subsystemid 0x8086 0x5756 |
| 65 | end |
| 66 | end |
| 67 | device pci 1c.2 off end # PCIe 3 |
| 68 | device pci 1c.3 off end # PCIe 4 |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 69 | device pci 1d.0 on # USB |
| 70 | subsystemid 0x8086 0x5756 |
| 71 | end |
| 72 | device pci 1d.1 on # USB |
| 73 | subsystemid 0x8086 0x5756 |
| 74 | end |
| 75 | device pci 1d.2 on # USB |
| 76 | subsystemid 0x8086 0x5756 |
| 77 | end |
| 78 | device pci 1d.3 on # USB |
| 79 | subsystemid 0x8086 0x5756 |
| 80 | end |
| 81 | device pci 1d.7 on # USB |
| 82 | subsystemid 0x8086 0x5756 |
| 83 | end |
| 84 | device pci 1e.0 on end # PCI bridge |
Maulik V Vaghela | 2aa13ef | 2018-05-26 15:32:28 +0530 | [diff] [blame] | 85 | device pci 1e.2 off end # AC'97 Audio Controller |
| 86 | device pci 1e.3 off end # AC'97 Modem Controller |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 87 | device pci 1f.0 on # ISA bridge |
| 88 | subsystemid 0x8086 0x5756 |
| 89 | chip superio/winbond/w83627dhg |
| 90 | device pnp 2e.0 on # Floppy |
| 91 | # global |
| 92 | irq 0x2c = 0x13 |
| 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 = 5 |
| 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 on # COM2, IR |
| 109 | io 0x60 = 0x2f8 |
| 110 | irq 0x70 = 3 |
| 111 | end |
| 112 | device pnp 2e.5 on # Keyboard, mouse |
| 113 | io 0x60 = 0x60 |
| 114 | io 0x62 = 0x64 |
| 115 | irq 0x70 = 1 |
| 116 | irq 0x72 = 12 |
| 117 | end |
| 118 | device pnp 2e.6 off end # SPI |
| 119 | device pnp 2e.7 on end # GPIO6 (all input) |
| 120 | device pnp 2e.8 off end # WDT0#, PLED |
| 121 | device pnp 2e.9 off end # GPIO2 |
| 122 | device pnp 2e.109 off end # GPIO3 |
| 123 | device pnp 2e.209 off end # GPIO4 |
| 124 | device pnp 2e.309 on # GPIO5 |
| 125 | irq 0xe0 = 0xdf |
| 126 | irq 0xf3 = 0x09 # RSVD SUSLED settings |
| 127 | end |
| 128 | device pnp 2e.a on # ACPI |
| 129 | irq 0xe0 = 0x10 |
| 130 | irq 0xe1 = 0x0e |
| 131 | irq 0xe4 = 0x10 # Power dram during s3 |
| 132 | irq 0xe6 = 0x8c |
| 133 | end |
Martin Roth | 50863da | 2021-10-01 14:37:30 -0600 | [diff] [blame] | 134 | device pnp 2e.b on # HWM, front panel LED |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 135 | io 0x60 = 0xa00 |
| 136 | irq 0x70 = 0 |
| 137 | end |
| 138 | device pnp 2e.c on # PECI, SST |
| 139 | irq 0xe0 = 0x11 |
| 140 | irq 0xe1 = 0x59 |
| 141 | end |
| 142 | end |
| 143 | end |
Elyes HAOUAS | cd5f2b5 | 2018-05-28 13:35:35 +0200 | [diff] [blame] | 144 | device pci 1f.1 off end # PATA/IDE |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 145 | device pci 1f.2 on # SATA |
| 146 | subsystemid 0x8086 0x5756 |
| 147 | end |
| 148 | device pci 1f.3 on # SMbus |
| 149 | subsystemid 0x8086 0x5756 |
Angel Pons | a5c829d | 2021-05-10 13:00:35 +0200 | [diff] [blame] | 150 | chip drivers/i2c/ck505 |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 151 | register "mask" = "{ 0xff, 0xff, 0xff, |
| 152 | 0xff, 0xff, 0xff, 0xff, 0xff, |
| 153 | 0xff, 0xff, 0xff, 0xff, 0xff, |
| 154 | 0xff, 0xff, 0xff, 0xff, 0xff, |
| 155 | 0xff, 0xff, 0xff }" |
| 156 | register "regs" = "{ 0x41, 0x99, 0xff, |
| 157 | 0xff, 0xff, 0x00, 0x00, 0x06, |
| 158 | 0x03, 0x65, 0x83, 0x80, 0x15, |
| 159 | 0xc0, 0x09, 0x00, 0x00, 0x00, |
| 160 | 0x06, 0x00, 0xea }" |
| 161 | device i2c 69 on end |
| 162 | end |
Arthur Heymans | fbc508f | 2017-06-01 14:50:07 +0200 | [diff] [blame] | 163 | end |
| 164 | end |
| 165 | end |
| 166 | end |