Patrick Georgi | c49d7a3 | 2020-05-08 22:50:46 +0200 | [diff] [blame] | 1 | ## SPDX-License-Identifier: GPL-2.0-only |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 2 | |
| 3 | chip northbridge/intel/sandybridge |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 4 | register "gfx.use_spread_spectrum_clock" = "0" |
| 5 | register "gpu_dp_b_hotplug" = "0" |
| 6 | register "gpu_dp_c_hotplug" = "0" |
| 7 | register "gpu_dp_d_hotplug" = "0" |
| 8 | |
| 9 | device cpu_cluster 0x0 on |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 10 | chip cpu/intel/model_206ax |
Angel Pons | 6f56a23 | 2021-01-04 17:02:23 +0100 | [diff] [blame^] | 11 | register "acpi_c1" = "1" |
| 12 | register "acpi_c2" = "3" |
| 13 | register "acpi_c3" = "5" |
Arthur Heymans | 7e6946a | 2019-01-21 17:55:02 +0100 | [diff] [blame] | 14 | device lapic 0x0 on end |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame] | 15 | device lapic 0xacac off end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 16 | end |
| 17 | end |
| 18 | |
| 19 | register "pci_mmio_size" = "2048" |
| 20 | |
| 21 | device domain 0x0 on |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 22 | subsystemid 0x103c 0x1495 inherit |
| 23 | |
Angel Pons | 942650f | 2020-01-01 20:56:08 +0100 | [diff] [blame] | 24 | device pci 00.0 on end # Host bridge Host bridge |
| 25 | device pci 01.0 on end # PCIe Bridge for discrete graphics |
| 26 | device pci 02.0 on end # Internal graphics VGA controller |
| 27 | |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 28 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 29 | register "c2_latency" = "0x0065" |
| 30 | register "docking_supported" = "0" |
| 31 | register "gen1_dec" = "0x00fc0601" |
| 32 | register "gen2_dec" = "0x00fc0801" |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 33 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
| 34 | register "pcie_port_coalesce" = "1" |
| 35 | register "sata_interface_speed_support" = "0x3" |
Patrick Rudolph | d379840 | 2018-11-27 10:36:33 +0100 | [diff] [blame] | 36 | register "sata_port_map" = "0xf" |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 37 | register "spi_lvscc" = "0x2005" |
| 38 | register "spi_uvscc" = "0x0" |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 39 | |
| 40 | device pci 16.0 on end # Management Engine Interface 1 |
| 41 | device pci 16.1 off end # Management Engine Interface 2 |
| 42 | device pci 16.2 off end # Management Engine IDE-R |
| 43 | device pci 16.3 on end # Management Engine KT |
| 44 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 45 | device pci 1a.0 on end # USB2 EHCI #2 |
| 46 | device pci 1b.0 on end # High Definition Audio Audio controller |
| 47 | device pci 1c.0 on end # PCIe Port #1 |
| 48 | device pci 1c.1 off end # PCIe Port #2 |
| 49 | device pci 1c.2 off end # PCIe Port #3 |
| 50 | device pci 1c.3 off end # PCIe Port #4 |
| 51 | device pci 1c.4 on end # PCIe Port #5 |
| 52 | device pci 1c.5 off end # PCIe Port #6 |
| 53 | device pci 1c.6 on end # PCIe Port #7 |
| 54 | device pci 1c.7 on end # PCIe Port #8 |
| 55 | device pci 1d.0 on end # USB2 EHCI #1 |
| 56 | device pci 1e.0 on end # PCI bridge |
| 57 | device pci 1f.0 on # LPC bridge PCI-LPC bridge |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 58 | chip superio/common |
| 59 | device pnp 2e.ff on # passes SIO base addr to SSDT gen |
| 60 | chip superio/nuvoton/npcd378 |
| 61 | device pnp 2e.0 off end # Floppy |
| 62 | device pnp 2e.1 on # Parallel port |
| 63 | # global |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 64 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 65 | # serialice: Vendor writes: |
| 66 | irq 0x14 = 0x9c |
| 67 | irq 0x1c = 0xa8 |
| 68 | irq 0x1d = 0x08 |
| 69 | irq 0x22 = 0x3f |
| 70 | irq 0x1a = 0xb0 |
| 71 | # dumped from superiotool: |
| 72 | irq 0x1b = 0x1e |
| 73 | irq 0x27 = 0x08 |
| 74 | irq 0x2a = 0x20 |
| 75 | irq 0x2d = 0x01 |
| 76 | # parallel port |
| 77 | io 0x60 = 0x378 |
| 78 | irq 0x70 = 0x07 |
| 79 | drq 0x74 = 0x01 |
| 80 | end |
| 81 | device pnp 2e.2 off # COM1 |
| 82 | io 0x60 = 0x2f8 |
| 83 | irq 0x70 = 3 |
| 84 | end |
| 85 | device pnp 2e.3 on # COM2, IR |
| 86 | io 0x60 = 0x3f8 |
| 87 | irq 0x70 = 4 |
| 88 | end |
| 89 | device pnp 2e.4 on # LED control |
| 90 | io 0x60 = 0x600 |
| 91 | # IOBASE[0h] = bit0 LED red / green |
| 92 | # IOBASE[0h] = bit1-4 LED PWM duty cycle |
| 93 | # IOBASE[1h] = bit6 SWCC |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 94 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 95 | io 0x62 = 0x610 |
| 96 | # IOBASE [0h] = GPES |
| 97 | # IOBASE [1h] = GPEE |
| 98 | # IOBASE [4h:7h] = 32bit upcounter at 1Mhz |
| 99 | # IOBASE [8h:bh] = GPS |
| 100 | # IOBASE [ch:fh] = GPE |
| 101 | end |
| 102 | device pnp 2e.5 on # Mouse |
| 103 | irq 0x70 = 0xc |
| 104 | end |
| 105 | device pnp 2e.6 on # Keyboard |
| 106 | io 0x60 = 0x0060 |
| 107 | io 0x62 = 0x0064 |
| 108 | irq 0x70 = 0x01 |
| 109 | # serialice: Vendor writes: |
| 110 | drq 0xf0 = 0x40 |
| 111 | end |
| 112 | device pnp 2e.7 on # WDT ? |
| 113 | io 0x60 = 0x620 |
| 114 | end |
| 115 | device pnp 2e.8 on # HWM |
| 116 | io 0x60 = 0x800 |
| 117 | # IOBASE[0h:feh] HWM page |
| 118 | # IOBASE[ffh] bit0-bit3 page selector |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 119 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 120 | drq 0xf0 = 0x20 |
| 121 | drq 0xf1 = 0x01 |
| 122 | drq 0xf2 = 0x40 |
| 123 | drq 0xf3 = 0x01 |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 124 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 125 | drq 0xf4 = 0x66 |
| 126 | drq 0xf5 = 0x67 |
| 127 | drq 0xf6 = 0x66 |
| 128 | drq 0xf7 = 0x01 |
| 129 | end |
| 130 | device pnp 2e.f on # GPIO OD ? |
| 131 | drq 0xf1 = 0x97 |
| 132 | drq 0xf2 = 0x01 |
| 133 | drq 0xf5 = 0x08 |
| 134 | drq 0xfe = 0x80 |
| 135 | end |
| 136 | device pnp 2e.15 on # BUS ? |
| 137 | io 0x60 = 0x0680 |
| 138 | io 0x62 = 0x0690 |
| 139 | end |
| 140 | device pnp 2e.1c on # Suspend Control ? |
| 141 | io 0x60 = 0x640 |
| 142 | # writing to IOBASE[5h] |
| 143 | # 0x0: Power off |
| 144 | # 0x9: Power off and bricked until CMOS battery removed |
| 145 | end |
| 146 | device pnp 2e.1e on # GPIO ? |
| 147 | io 0x60 = 0x660 |
| 148 | drq 0xf4 = 0x01 |
| 149 | # skip the following, as it |
| 150 | # looks like remapped registers |
| 151 | #drq 0xf5 = 0x06 |
| 152 | #drq 0xf6 = 0x60 |
| 153 | #drq 0xfe = 0x03 |
| 154 | end |
| 155 | end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 156 | end |
| 157 | end |
Patrick Rudolph | 39d0e2a | 2018-06-01 11:53:19 +0200 | [diff] [blame] | 158 | chip drivers/pc80/tpm |
| 159 | device pnp 4e.0 on end # TPM module |
| 160 | end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 161 | end |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 162 | device pci 1f.2 on end # SATA Controller 1 |
| 163 | device pci 1f.3 on end # SMBus |
| 164 | device pci 1f.5 off end # SATA Controller 2 |
| 165 | device pci 1f.6 off end # Thermal |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 166 | end |
Patrick Rudolph | 6308e0e | 2018-03-27 16:06:34 +0200 | [diff] [blame] | 167 | end |
| 168 | end |