Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2018 Patrick Rudolph <siro@das-labor.org> |
| 5 | ## |
| 6 | ## This program is free software; you can redistribute it and/or |
| 7 | ## modify it under the terms of the GNU General Public License as |
| 8 | ## published by the Free Software Foundation; version 2 of |
| 9 | ## the License. |
| 10 | ## |
| 11 | ## This program is distributed in the hope that it will be useful, |
| 12 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | ## GNU General Public License for more details. |
| 15 | ## |
| 16 | |
| 17 | chip northbridge/intel/sandybridge |
| 18 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410 }" |
| 19 | register "gfx.link_frequency_270_mhz" = "0" |
| 20 | register "gfx.ndid" = "3" |
| 21 | register "gfx.use_spread_spectrum_clock" = "0" |
| 22 | register "gpu_dp_b_hotplug" = "0" |
| 23 | register "gpu_dp_c_hotplug" = "0" |
| 24 | register "gpu_dp_d_hotplug" = "0" |
| 25 | |
| 26 | device cpu_cluster 0x0 on |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 27 | chip cpu/intel/model_206ax |
| 28 | register "c1_acpower" = "1" |
| 29 | register "c1_battery" = "1" |
| 30 | register "c2_acpower" = "3" |
| 31 | register "c2_battery" = "3" |
| 32 | register "c3_acpower" = "5" |
| 33 | register "c3_battery" = "5" |
Arthur Heymans | 7e6946a | 2019-01-21 17:55:02 +0100 | [diff] [blame^] | 34 | device lapic 0x0 on end |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame] | 35 | device lapic 0xacac off end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 36 | end |
| 37 | end |
| 38 | |
| 39 | register "pci_mmio_size" = "2048" |
| 40 | |
| 41 | device domain 0x0 on |
| 42 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 43 | register "c2_latency" = "0x0065" |
| 44 | register "docking_supported" = "0" |
| 45 | register "gen1_dec" = "0x00fc0601" |
| 46 | register "gen2_dec" = "0x00fc0801" |
| 47 | register "p_cnt_throttling_supported" = "1" |
| 48 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
| 49 | register "pcie_port_coalesce" = "1" |
| 50 | register "sata_interface_speed_support" = "0x3" |
Patrick Rudolph | d379840 | 2018-11-27 10:36:33 +0100 | [diff] [blame] | 51 | register "sata_port_map" = "0xf" |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 52 | register "spi_lvscc" = "0x2005" |
| 53 | register "spi_uvscc" = "0x0" |
| 54 | device pci 16.0 on # Management Engine Interface 1 |
| 55 | subsystemid 0x103c 0x1495 |
| 56 | end |
| 57 | device pci 16.1 off # Management Engine Interface 2 |
| 58 | end |
| 59 | device pci 16.2 off # Management Engine IDE-R |
| 60 | end |
| 61 | device pci 16.3 on # Management Engine KT |
| 62 | subsystemid 0x103c 0x1495 |
| 63 | end |
| 64 | device pci 19.0 on # Intel Gigabit Ethernet |
| 65 | subsystemid 0x103c 0x1495 |
| 66 | end |
| 67 | device pci 1a.0 on # USB2 EHCI #2 |
| 68 | subsystemid 0x103c 0x1495 |
| 69 | end |
| 70 | device pci 1b.0 on # High Definition Audio Audio controller |
| 71 | subsystemid 0x103c 0x1495 |
| 72 | end |
| 73 | device pci 1c.0 on # PCIe Port #1 |
| 74 | subsystemid 0x103c 0x1495 |
| 75 | end |
| 76 | device pci 1c.1 off # PCIe Port #2 |
| 77 | end |
| 78 | device pci 1c.2 off # PCIe Port #3 |
| 79 | end |
| 80 | device pci 1c.3 off # PCIe Port #4 |
| 81 | end |
| 82 | device pci 1c.4 on # PCIe Port #5 |
| 83 | subsystemid 0x103c 0x1495 |
| 84 | end |
| 85 | device pci 1c.5 off # PCIe Port #6 |
| 86 | end |
| 87 | device pci 1c.6 on # PCIe Port #7 |
| 88 | subsystemid 0x103c 0x1495 |
| 89 | end |
| 90 | device pci 1c.7 on # PCIe Port #8 |
| 91 | subsystemid 0x103c 0x1495 |
| 92 | end |
| 93 | device pci 1d.0 on # USB2 EHCI #1 |
| 94 | subsystemid 0x103c 0x1495 |
| 95 | end |
| 96 | device pci 1e.0 on # PCI bridge |
| 97 | subsystemid 0x103c 0x1495 |
| 98 | end |
| 99 | device pci 1f.0 on # LPC bridge PCI-LPC bridge |
| 100 | subsystemid 0x103c 0x1495 |
| 101 | chip superio/nuvoton/npcd378 |
| 102 | device pnp 2e.0 off end # Floppy |
| 103 | device pnp 2e.1 on # Parallel port |
| 104 | # global |
| 105 | |
| 106 | # serialice: Vendor writes: |
| 107 | irq 0x14 = 0x9c |
| 108 | irq 0x1c = 0xa8 |
| 109 | irq 0x1d = 0x08 |
| 110 | irq 0x22 = 0x3f |
| 111 | irq 0x1a = 0xb0 |
| 112 | # dumped from superiotool: |
| 113 | irq 0x1b = 0x1e |
| 114 | irq 0x27 = 0x04 |
| 115 | irq 0x2a = 0x00 |
| 116 | irq 0x2d = 0x01 |
| 117 | # parallel port |
| 118 | io 0x60 = 0x378 |
| 119 | irq 0x70 = 0x07 |
| 120 | drq 0x74 = 0x01 |
| 121 | end |
| 122 | device pnp 2e.2 off # COM1 |
| 123 | io 0x60 = 0x2f8 |
| 124 | irq 0x70 = 3 |
| 125 | end |
| 126 | device pnp 2e.3 on # COM2, IR |
| 127 | io 0x60 = 0x3f8 |
| 128 | irq 0x70 = 4 |
| 129 | end |
| 130 | device pnp 2e.4 on # LED control |
| 131 | io 0x60 = 0x600 |
| 132 | # IOBASE[0h] = bit0 LED red / green |
| 133 | # IOBASE[0h] = bit1-4 LED PWM duty cycle |
| 134 | # IOBASE[1h] = bit6 SWCC |
| 135 | |
| 136 | io 0x62 = 0x610 |
| 137 | # IOBASE [0h] = GPES |
| 138 | # IOBASE [1h] = GPEE |
| 139 | # IOBASE [4h:7h] = 32bit upcounter at 1Mhz |
| 140 | # IOBASE [8h:bh] = GPS |
| 141 | # IOBASE [ch:fh] = GPE |
| 142 | end |
| 143 | device pnp 2e.5 on # Mouse |
| 144 | irq 0x70 = 0xc |
| 145 | end |
| 146 | device pnp 2e.6 on # Keyboard |
| 147 | io 0x60 = 0x0060 |
| 148 | io 0x62 = 0x0064 |
| 149 | irq 0x70 = 0x01 |
| 150 | # serialice: Vendor writes: |
| 151 | drq 0xf0 = 0x40 |
| 152 | end |
| 153 | device pnp 2e.7 on # WDT ? |
| 154 | io 0x60 = 0x620 |
| 155 | end |
| 156 | device pnp 2e.8 on # HWM |
| 157 | io 0x60 = 0x800 |
| 158 | # IOBASE[0h:feh] HWM page |
| 159 | # IOBASE[ffh] bit0-bit3 page selector |
| 160 | |
| 161 | drq 0xf0 = 0x20 |
| 162 | drq 0xf1 = 0x01 |
| 163 | drq 0xf2 = 0x40 |
| 164 | drq 0xf3 = 0x01 |
| 165 | |
| 166 | drq 0xf4 = 0x66 |
| 167 | drq 0xf5 = 0x67 |
| 168 | drq 0xf6 = 0x66 |
| 169 | drq 0xf7 = 0x01 |
| 170 | end |
| 171 | device pnp 2e.f on # GPIO OD ? |
| 172 | drq 0xf1 = 0x97 |
| 173 | drq 0xf2 = 0x01 |
| 174 | drq 0xf5 = 0x08 |
| 175 | drq 0xfe = 0x80 |
| 176 | end |
| 177 | device pnp 2e.15 on # BUS ? |
| 178 | io 0x60 = 0x0680 |
| 179 | io 0x62 = 0x0690 |
| 180 | end |
| 181 | device pnp 2e.1c on # Suspend Control ? |
| 182 | io 0x60 = 0x640 |
| 183 | # writing to IOBASE[5h] |
| 184 | # 0x0: Power off |
| 185 | # 0x9: Power off and bricked until CMOS battery removed |
| 186 | end |
| 187 | device pnp 2e.1e on # GPIO ? |
| 188 | io 0x60 = 0x660 |
| 189 | drq 0xf4 = 0x01 |
| 190 | # skip the following, as it |
| 191 | # looks like remapped registers |
| 192 | #drq 0xf5 = 0x06 |
| 193 | #drq 0xf6 = 0x60 |
| 194 | #drq 0xfe = 0x03 |
| 195 | end |
| 196 | end |
Patrick Rudolph | 39d0e2a | 2018-06-01 11:53:19 +0200 | [diff] [blame] | 197 | chip drivers/pc80/tpm |
| 198 | device pnp 4e.0 on end # TPM module |
| 199 | end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 200 | end |
| 201 | device pci 1f.2 on # SATA Controller 1 |
| 202 | subsystemid 0x103c 0x1495 |
| 203 | end |
| 204 | device pci 1f.3 on # SMBus |
| 205 | subsystemid 0x103c 0x1495 |
| 206 | end |
| 207 | device pci 1f.5 off # SATA Controller 2 |
| 208 | end |
| 209 | device pci 1f.6 off # Thermal |
| 210 | end |
| 211 | end |
| 212 | device pci 00.0 on # Host bridge Host bridge |
| 213 | subsystemid 0x103c 0x1495 |
| 214 | end |
| 215 | device pci 01.0 on # PCIe Bridge for discrete graphics |
| 216 | subsystemid 0x103c 0x1495 |
| 217 | end |
| 218 | device pci 02.0 on # Internal graphics VGA controller |
| 219 | subsystemid 0x103c 0x1495 |
| 220 | end |
| 221 | end |
| 222 | end |