Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 1 | chip northbridge/intel/haswell |
| 2 | |
Angel Pons | 8376f2d | 2020-06-05 15:11:08 +0200 | [diff] [blame] | 3 | # This mainboard has VGA |
| 4 | register "gpu_ddi_e_connected" = "1" |
| 5 | |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 6 | device cpu_cluster 0 on |
| 7 | chip cpu/intel/haswell |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 8 | device lapic 0 on end |
| 9 | device lapic 0xacac off end |
| 10 | end |
| 11 | end |
| 12 | |
| 13 | device domain 0 on |
| 14 | subsystemid 0x1849 0x0c00 inherit |
| 15 | |
| 16 | device pci 00.0 on end # Host bridge |
| 17 | device pci 01.0 on end # PCIe graphics |
| 18 | device pci 02.0 on end # iGPU |
| 19 | device pci 03.0 on end # Mini-HD audio |
| 20 | |
| 21 | chip southbridge/intel/lynxpoint |
Angel Pons | e8393bd | 2020-06-05 18:07:55 +0200 | [diff] [blame] | 22 | register "gen1_dec" = "0x000c0291" # Super I/O HWM |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 23 | register "sata_port_map" = "0x3f" |
| 24 | |
| 25 | device pci 14.0 on end # xHCI controller |
| 26 | device pci 16.0 on end # MEI #1 |
| 27 | device pci 16.1 off end # MEI #2 |
| 28 | device pci 16.2 off end # ME IDE-R |
| 29 | device pci 16.3 on end # ME KT |
| 30 | device pci 19.0 on end # Intel GbE through I217-V PHY |
| 31 | device pci 1a.0 on end # EHCI #2 |
| 32 | device pci 1b.0 on end # HD Audio |
| 33 | device pci 1c.0 on end # RP #1: ASM1083 PCI bridge |
| 34 | device pci 1c.1 off end # RP #2 |
| 35 | device pci 1c.2 off end # RP #3 |
| 36 | device pci 1c.3 off end # RP #4 |
| 37 | device pci 1c.4 on end # RP #5: PCIe x16 (electrical x4) |
| 38 | device pci 1d.0 on end # EHCI #1 |
| 39 | device pci 1f.0 on # LPC bridge |
| 40 | |
| 41 | chip superio/nuvoton/nct6776 |
| 42 | device pnp 2e.0 off end # Floppy |
| 43 | device pnp 2e.1 on # Parallel |
| 44 | io 0x60 = 0x0378 |
| 45 | irq 0x70 = 6 |
| 46 | drq 0x74 = 2 |
Angel Pons | 456852f | 2020-06-15 16:58:27 +0200 | [diff] [blame] | 47 | irq 0xf0 = 0x3b # + ECP and EPP 1.9 |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 48 | end |
| 49 | device pnp 2e.2 on # UART A |
| 50 | io 0x60 = 0x03f8 |
| 51 | irq 0x70 = 4 |
| 52 | end |
| 53 | device pnp 2e.3 off end # UART B, IR |
Angel Pons | 456852f | 2020-06-15 16:58:27 +0200 | [diff] [blame] | 54 | device pnp 2e.5 on # PS/2 Keyboard/Mouse |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 55 | io 0x60 = 0x0060 |
| 56 | io 0x62 = 0x0064 |
Angel Pons | 456852f | 2020-06-15 16:58:27 +0200 | [diff] [blame] | 57 | irq 0x70 = 1 # + Keyboard IRQ |
| 58 | irq 0x72 = 12 # + Mouse IRQ (unused) |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 59 | end |
| 60 | device pnp 2e.6 off end # CIR |
| 61 | device pnp 2e.7 off end # GPIO8 |
| 62 | device pnp 2e.107 off end # GPIO9 |
| 63 | device pnp 2e.8 off end # WDT |
| 64 | device pnp 2e.108 on # GPIO0 |
| 65 | irq 0xe0 = 0xf9 # + GPIO0 direction |
Angel Pons | 934f683 | 2020-06-15 23:49:52 +0200 | [diff] [blame] | 66 | irq 0xe1 = 0xfd # + GPIO0 value |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 67 | end |
| 68 | device pnp 2e.208 off end # GPIOA |
| 69 | device pnp 2e.308 off end # GPIO base |
Angel Pons | 07e461f | 2020-06-15 23:14:46 +0200 | [diff] [blame] | 70 | device pnp 2e.109 on # GPIO1 |
| 71 | irq 0xf0 = 0xf1 # + GPIO1 direction |
| 72 | irq 0xf1 = 0xf1 # + GPIO1 value |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 73 | end |
Angel Pons | 07e461f | 2020-06-15 23:14:46 +0200 | [diff] [blame] | 74 | device pnp 2e.209 off end # GPIO2 |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 75 | device pnp 2e.309 off end # GPIO3 |
| 76 | device pnp 2e.409 off end # GPIO4 |
| 77 | device pnp 2e.509 off end # GPIO5 |
| 78 | device pnp 2e.609 off end # GPIO6 |
Angel Pons | 07e461f | 2020-06-15 23:14:46 +0200 | [diff] [blame] | 79 | device pnp 2e.709 on # GPIO7 |
| 80 | irq 0xe0 = 0xff # + GPIO7 direction |
| 81 | end |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 82 | device pnp 2e.a on # ACPI |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 83 | irq 0xe4 = 0x10 # + Power RAM in S3 |
| 84 | irq 0xf0 = 0x20 |
| 85 | end |
| 86 | device pnp 2e.b on # HWM, LED |
Angel Pons | 456852f | 2020-06-15 16:58:27 +0200 | [diff] [blame] | 87 | irq 0x30 = 0xe1 # + Fan RPM sense pins |
| 88 | io 0x60 = 0x0290 # + HWM base address |
Angel Pons | 09b9b16 | 2020-06-15 23:44:29 +0200 | [diff] [blame] | 89 | irq 0x70 = 0 |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 90 | end |
| 91 | device pnp 2e.d off end # VID |
| 92 | device pnp 2e.e off end # CIR wake-up |
| 93 | device pnp 2e.f off end # GPIO PP/OD |
| 94 | device pnp 2e.14 off end # SVID |
| 95 | device pnp 2e.16 off end # Deep sleep |
| 96 | device pnp 2e.17 off end # GPIOA |
| 97 | end |
Angel Pons | cace1eb | 2020-08-04 18:01:56 +0200 | [diff] [blame] | 98 | chip drivers/pc80/tpm |
| 99 | device pnp 4e.0 on end # TPM |
| 100 | end |
Angel Pons | df248f0 | 2019-11-12 10:05:33 +0100 | [diff] [blame] | 101 | end |
| 102 | device pci 1f.2 on end # SATA (AHCI) |
| 103 | device pci 1f.3 on end # SMBus |
| 104 | device pci 1f.5 off end # SATA (Legacy) |
| 105 | device pci 1f.6 off end # Thermal |
| 106 | end |
| 107 | end |
| 108 | end |