| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
chip northbridge/intel/sandybridge |
| 4 |
# BTX mainboard: Reversed mapping |
| 5 |
register "spd_addresses" = "{0x53, 0x52, 0x51, 0x50}" |
| 6 |
|
| 7 |
device domain 0 on |
| 8 |
device ref peg10 on end |
| 9 |
device ref igd on end |
| 10 |
|
| 11 |
chip southbridge/intel/bd82x6x # Intel Series 7 PCH |
| 12 |
register "gen1_dec" = "0x00fc0601" |
| 13 |
register "gen2_dec" = "0x00fc0801" |
| 14 |
register "pcie_port_coalesce" = "true" |
| 15 |
register "sata_interface_speed_support" = "0x3" |
| 16 |
register "spi_lvscc" = "0x2005" |
| 17 |
register "spi_uvscc" = "0x2005" |
| 18 |
|
| 19 |
device ref me_kt on end |
| 20 |
device ref gbe on end |
| 21 |
device ref ehci2 on end |
| 22 |
device ref hda on end |
| 23 |
device ref pcie_rp1 on end |
| 24 |
device ref pcie_rp5 on end |
| 25 |
device ref ehci1 on end |
| 26 |
device ref pci_bridge on end |
| 27 |
device ref lpc on |
| 28 |
chip superio/common |
| 29 |
device pnp 2e.ff on # passes SIO base addr to SSDT gen |
| 30 |
chip superio/nuvoton/npcd378 |
| 31 |
device pnp 2e.0 off end # Floppy |
| 32 |
device pnp 2e.1 on # Parallel port |
| 33 |
# global |
| 34 |
|
| 35 |
# serialice: Vendor writes: |
| 36 |
irq 0x14 = 0x9c |
| 37 |
irq 0x1c = 0xa8 |
| 38 |
irq 0x1d = 0x08 |
| 39 |
irq 0x22 = 0x3f |
| 40 |
irq 0x1a = 0xb0 |
| 41 |
# dumped from superiotool: |
| 42 |
irq 0x1b = 0x1e |
| 43 |
irq 0x27 = 0x08 |
| 44 |
irq 0x2a = 0x20 |
| 45 |
irq 0x2d = 0x01 |
| 46 |
# parallel port |
| 47 |
io 0x60 = 0x378 |
| 48 |
irq 0x70 = 0x07 |
| 49 |
drq 0x74 = 0x01 |
| 50 |
end |
| 51 |
device pnp 2e.2 off # COM1 |
| 52 |
io 0x60 = 0x2f8 |
| 53 |
irq 0x70 = 3 |
| 54 |
end |
| 55 |
device pnp 2e.3 on # COM2, IR |
| 56 |
io 0x60 = 0x3f8 |
| 57 |
irq 0x70 = 4 |
| 58 |
end |
| 59 |
device pnp 2e.4 on # LED control |
| 60 |
io 0x60 = 0x600 |
| 61 |
# IOBASE[0h] = bit0 LED red / green |
| 62 |
# IOBASE[0h] = bit1-4 LED PWM duty cycle |
| 63 |
# IOBASE[1h] = bit6 SWCC |
| 64 |
|
| 65 |
io 0x62 = 0x610 |
| 66 |
# IOBASE [0h] = GPES |
| 67 |
# IOBASE [1h] = GPEE |
| 68 |
# IOBASE [4h:7h] = 32bit upcounter at 1Mhz |
| 69 |
# IOBASE [8h:bh] = GPS |
| 70 |
# IOBASE [ch:fh] = GPE |
| 71 |
end |
| 72 |
device pnp 2e.5 on # Mouse |
| 73 |
irq 0x70 = 0xc |
| 74 |
end |
| 75 |
device pnp 2e.6 on # Keyboard |
| 76 |
io 0x60 = 0x0060 |
| 77 |
io 0x62 = 0x0064 |
| 78 |
irq 0x70 = 0x01 |
| 79 |
# serialice: Vendor writes: |
| 80 |
drq 0xf0 = 0x40 |
| 81 |
end |
| 82 |
device pnp 2e.7 on # WDT ? |
| 83 |
io 0x60 = 0x620 |
| 84 |
end |
| 85 |
device pnp 2e.8 on # HWM |
| 86 |
io 0x60 = 0x800 |
| 87 |
# IOBASE[0h:feh] HWM page |
| 88 |
# IOBASE[ffh] bit0-bit3 page selector |
| 89 |
|
| 90 |
drq 0xf0 = 0x20 |
| 91 |
drq 0xf1 = 0x01 |
| 92 |
drq 0xf2 = 0x40 |
| 93 |
drq 0xf3 = 0x01 |
| 94 |
|
| 95 |
drq 0xf4 = 0x66 |
| 96 |
drq 0xf5 = 0x67 |
| 97 |
drq 0xf6 = 0x66 |
| 98 |
drq 0xf7 = 0x01 |
| 99 |
end |
| 100 |
device pnp 2e.f on # GPIO OD ? |
| 101 |
drq 0xf1 = 0x97 |
| 102 |
drq 0xf2 = 0x01 |
| 103 |
drq 0xf5 = 0x08 |
| 104 |
drq 0xfe = 0x80 |
| 105 |
end |
| 106 |
device pnp 2e.15 on # BUS ? |
| 107 |
io 0x60 = 0x0680 |
| 108 |
io 0x62 = 0x0690 |
| 109 |
end |
| 110 |
device pnp 2e.1c on # Suspend Control ? |
| 111 |
io 0x60 = 0x640 |
| 112 |
# writing to IOBASE[5h] |
| 113 |
# 0x0: Power off |
| 114 |
# 0x9: Power off and bricked until CMOS battery removed |
| 115 |
end |
| 116 |
device pnp 2e.1e on # GPIO ? |
| 117 |
io 0x60 = 0x660 |
| 118 |
drq 0xf4 = 0x01 |
| 119 |
# skip the following, as it |
| 120 |
# looks like remapped registers |
| 121 |
#drq 0xf5 = 0x06 |
| 122 |
#drq 0xf6 = 0x60 |
| 123 |
#drq 0xfe = 0x03 |
| 124 |
end |
| 125 |
end |
| 126 |
end |
| 127 |
end |
| 128 |
chip drivers/pc80/tpm |
| 129 |
device pnp 4e.0 on end # TPM module |
| 130 |
end |
| 131 |
end |
| 132 |
device ref sata1 on end |
| 133 |
end |
| 134 |
end |
| 135 |
end |