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 | |
Angel Pons | bceea67 | 2021-05-17 10:58:36 +0200 | [diff] [blame] | 9 | device domain 0 on |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 10 | subsystemid 0x103c 0x1791 inherit |
Angel Pons | 942650f | 2020-01-01 20:56:08 +0100 | [diff] [blame] | 11 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame^] | 12 | device ref host_bridge on end # Host bridge Host bridge |
| 13 | device ref peg10 on end # PCIe Bridge for discrete graphics |
| 14 | device ref igd on end # Internal graphics VGA controller |
| 15 | device ref peg60 off end # Extra x4 port on north bridge |
Angel Pons | 942650f | 2020-01-01 20:56:08 +0100 | [diff] [blame] | 16 | |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 17 | chip southbridge/intel/bd82x6x # Intel Series 7 PCH |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 18 | register "docking_supported" = "0" |
| 19 | register "gen1_dec" = "0x00fc0601" |
| 20 | register "gen2_dec" = "0x00fc0801" |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 21 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 22 | register "pcie_port_coalesce" = "true" |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 23 | register "sata_interface_speed_support" = "0x3" |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 24 | register "spi_lvscc" = "0x2005" |
| 25 | register "spi_uvscc" = "0x2005" |
Bill XIE | c547996 | 2022-08-26 09:46:41 +0800 | [diff] [blame] | 26 | register "superspeed_capable_ports" = "0x0000000f" |
| 27 | register "xhci_switchable_ports" = "0x0000000f" |
| 28 | register "xhci_overcurrent_mapping" = "0x0000000f" |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 29 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame^] | 30 | device ref xhci on end # xHCI |
| 31 | device ref mei1 on end # Management Engine Interface 1 |
| 32 | device ref mei2 off end # Management Engine Interface 2 |
| 33 | device ref me_ide_r off end # Management Engine IDE-R |
| 34 | device ref me_kt on end # Management Engine KT |
| 35 | device ref gbe on end # Intel Gigabit Ethernet |
| 36 | device ref ehci2 on end # USB2 EHCI #2 |
| 37 | device ref hda on end # High Definition Audio Audio controller |
| 38 | device ref pcie_rp1 on end # PCIe Port #1 |
| 39 | device ref pcie_rp2 off end # PCIe Port #2 |
| 40 | device ref pcie_rp3 off end # PCIe Port #3 |
| 41 | device ref pcie_rp4 off end # PCIe Port #4 |
| 42 | device ref pcie_rp5 on end # PCIe Port #5 |
| 43 | device ref pcie_rp6 off end # PCIe Port #6 |
| 44 | device ref pcie_rp7 off end # PCIe Port #7 |
| 45 | device ref pcie_rp8 off end # PCIe Port #8 |
| 46 | device ref ehci1 on end # USB2 EHCI #1 |
| 47 | device ref pci_bridge on end # PCI bridge |
| 48 | device ref lpc on # LPC bridge PCI-LPC bridge |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 49 | chip superio/common |
| 50 | device pnp 2e.ff on # passes SIO base addr to SSDT gen |
| 51 | chip superio/nuvoton/npcd378 |
| 52 | device pnp 2e.0 off end # Floppy |
| 53 | device pnp 2e.1 on # Parallel port |
| 54 | # global |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 55 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 56 | # serialice: Vendor writes: |
| 57 | irq 0x14 = 0x9c |
| 58 | irq 0x1c = 0xa8 |
| 59 | irq 0x1d = 0x08 |
| 60 | irq 0x22 = 0x3f |
| 61 | irq 0x1a = 0xb0 |
| 62 | # dumped from superiotool: |
| 63 | irq 0x1b = 0x1e |
| 64 | irq 0x27 = 0x08 |
| 65 | irq 0x2a = 0x20 |
| 66 | irq 0x2d = 0x01 |
| 67 | # parallel port |
| 68 | io 0x60 = 0x378 |
| 69 | irq 0x70 = 0x07 |
| 70 | drq 0x74 = 0x01 |
| 71 | end |
| 72 | device pnp 2e.2 off # COM1 |
| 73 | io 0x60 = 0x2f8 |
| 74 | irq 0x70 = 3 |
| 75 | end |
| 76 | device pnp 2e.3 on # COM2, IR |
| 77 | io 0x60 = 0x3f8 |
| 78 | irq 0x70 = 4 |
| 79 | end |
| 80 | device pnp 2e.4 on # LED control |
| 81 | io 0x60 = 0x600 |
| 82 | # IOBASE[0h] = bit0 LED red / green |
| 83 | # IOBASE[0h] = bit1-4 LED PWM duty cycle |
| 84 | # IOBASE[1h] = bit6 SWCC |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 85 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 86 | io 0x62 = 0x610 |
| 87 | # IOBASE [0h] = GPES |
| 88 | # IOBASE [1h] = GPEE |
| 89 | # IOBASE [4h:7h] = 32bit upcounter at 1Mhz |
| 90 | # IOBASE [8h:bh] = GPS |
| 91 | # IOBASE [ch:fh] = GPE |
| 92 | end |
| 93 | device pnp 2e.5 on # Mouse |
| 94 | irq 0x70 = 0xc |
| 95 | end |
| 96 | device pnp 2e.6 on # Keyboard |
| 97 | io 0x60 = 0x0060 |
| 98 | io 0x62 = 0x0064 |
| 99 | irq 0x70 = 0x01 |
| 100 | # serialice: Vendor writes: |
| 101 | drq 0xf0 = 0x40 |
| 102 | end |
| 103 | device pnp 2e.7 on # WDT ? |
| 104 | io 0x60 = 0x620 |
| 105 | end |
| 106 | device pnp 2e.8 on # HWM |
| 107 | io 0x60 = 0x800 |
| 108 | # IOBASE[0h:feh] HWM page |
| 109 | # IOBASE[ffh] bit0-bit3 page selector |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 110 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 111 | drq 0xf0 = 0x20 |
| 112 | drq 0xf1 = 0x01 |
| 113 | drq 0xf2 = 0x40 |
| 114 | drq 0xf3 = 0x01 |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 115 | |
Patrick Rudolph | e1498ce | 2020-02-12 15:23:05 +0100 | [diff] [blame] | 116 | drq 0xf4 = 0x66 |
| 117 | drq 0xf5 = 0x67 |
| 118 | drq 0xf6 = 0x66 |
| 119 | drq 0xf7 = 0x01 |
| 120 | end |
| 121 | device pnp 2e.f on # GPIO OD ? |
| 122 | drq 0xf1 = 0x97 |
| 123 | drq 0xf2 = 0x01 |
| 124 | drq 0xf5 = 0x08 |
| 125 | drq 0xfe = 0x80 |
| 126 | end |
| 127 | device pnp 2e.15 on # BUS ? |
| 128 | io 0x60 = 0x0680 |
| 129 | io 0x62 = 0x0690 |
| 130 | end |
| 131 | device pnp 2e.1c on # Suspend Control ? |
| 132 | io 0x60 = 0x640 |
| 133 | # writing to IOBASE[5h] |
| 134 | # 0x0: Power off |
| 135 | # 0x9: Power off and bricked until CMOS battery removed |
| 136 | end |
| 137 | device pnp 2e.1e on # GPIO ? |
| 138 | io 0x60 = 0x660 |
| 139 | drq 0xf4 = 0x01 |
| 140 | # skip the following, as it |
| 141 | # looks like remapped registers |
| 142 | #drq 0xf5 = 0x06 |
| 143 | #drq 0xf6 = 0x60 |
| 144 | #drq 0xfe = 0x03 |
| 145 | end |
| 146 | end |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 147 | end |
| 148 | end |
| 149 | chip drivers/pc80/tpm |
| 150 | device pnp 4e.0 on end # TPM module |
| 151 | end |
| 152 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame^] | 153 | device ref sata1 on end # SATA Controller 1 |
| 154 | device ref smbus on end # SMBus |
| 155 | device ref sata2 off end # SATA Controller 2 |
| 156 | device ref thermal off end # Thermal |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 157 | end |
Patrick Rudolph | 05284b6 | 2019-06-04 15:56:44 +0200 | [diff] [blame] | 158 | end |
| 159 | end |