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