Angel Pons | f510531 | 2022-10-07 02:29:34 +0200 | [diff] [blame^] | 1 | ## SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | chip northbridge/intel/haswell |
| 4 | |
| 5 | # This mainboard has DVI-I |
| 6 | register "gpu_ddi_e_connected" = "1" |
| 7 | |
| 8 | # This mainboard has a DP output |
| 9 | register "gpu_dp_c_hotplug" = "7" |
| 10 | |
| 11 | chip cpu/intel/haswell |
| 12 | device cpu_cluster 0 on ops haswell_cpu_bus_ops end |
| 13 | end |
| 14 | |
| 15 | device domain 0 on |
| 16 | ops haswell_pci_domain_ops |
| 17 | subsystemid 0x1849 0x0c00 inherit |
| 18 | |
| 19 | device pci 00.0 on end # Host bridge |
| 20 | device pci 01.0 on end # Bifurcated PEG: PCIE2 slot |
| 21 | device pci 01.1 on end # Bifurcated PEG: PCIE4 slot |
| 22 | device pci 01.2 on end # Bifurcated PEG: M2_1 slot |
| 23 | device pci 02.0 on end # iGPU |
| 24 | device pci 03.0 on end # Mini-HD |
| 25 | |
| 26 | chip southbridge/intel/lynxpoint |
| 27 | register "gen1_dec" = "0x000c0291" # Super I/O HWM |
| 28 | register "sata_port_map" = "0x3f" |
| 29 | |
| 30 | device pci 14.0 on end # xHCI controller |
| 31 | device pci 16.0 on end # MEI #1 |
| 32 | device pci 16.1 off end # MEI #2 |
| 33 | device pci 19.0 on end # Intel GbE through I218-V PHY |
| 34 | device pci 1a.0 on end # EHCI #2 |
| 35 | device pci 1b.0 on end # HD Audio |
| 36 | device pci 1c.0 on end # RP #1: muxed M2_2 slot, SATA Express |
| 37 | device pci 1c.1 off end # RP #2 |
| 38 | device pci 1c.2 on # RP #3: Realtek RTL8111E GbE NIC |
| 39 | device pci 00.0 on end |
| 40 | end |
| 41 | device pci 1c.3 on end # RP #4: ASM1184E 4-Port PCIe switch |
| 42 | device pci 1c.4 on end # RP #5: PCIE5 slot |
| 43 | device pci 1c.5 off end # RP #6 |
| 44 | device pci 1c.6 on end # RP #7: ASM1042A USB 3.0 |
| 45 | device pci 1c.7 off end # RP #8 |
| 46 | device pci 1d.0 on end # EHCI #1 |
| 47 | device pci 1f.0 on # LPC bridge |
| 48 | chip superio/common |
| 49 | device pnp 2e.0 on |
| 50 | chip superio/nuvoton/nct6791d |
| 51 | device pnp 2e.1 off end # Parallel |
| 52 | device pnp 2e.2 on # UART A |
| 53 | io 0x60 = 0x03f8 |
| 54 | irq 0x70 = 4 |
| 55 | end |
| 56 | device pnp 2e.3 off end # IR |
| 57 | device pnp 2e.5 on # PS/2 Keyboard/Mouse |
| 58 | io 0x60 = 0x0060 |
| 59 | io 0x62 = 0x0064 |
| 60 | irq 0x70 = 1 # + Keyboard IRQ |
| 61 | irq 0x72 = 12 # + Mouse IRQ |
| 62 | end |
| 63 | device pnp 2e.6 off end # CIR |
| 64 | device pnp 2e.7 off end # GPIO6 |
| 65 | device pnp 2e.107 on # GPIO7 |
| 66 | irq 0xe0 = 0x6f |
| 67 | irq 0xe1 = 0x10 |
| 68 | end |
| 69 | device pnp 2e.207 off end # GPIO8 |
| 70 | device pnp 2e.8 off end # WDT |
| 71 | device pnp 2e.108 off end # GPIO0 |
| 72 | device pnp 2e.308 off end # GPIO base |
| 73 | device pnp 2e.408 off end # WDTMEM |
| 74 | device pnp 2e.708 on # GPIO1 |
| 75 | irq 0xf0 = 0xbe |
| 76 | irq 0xf1 = 0x01 |
| 77 | end |
| 78 | device pnp 2e.9 on # GPIO2 |
| 79 | irq 0xe0 = 0xff |
| 80 | irq 0xe1 = 0x00 |
| 81 | end |
| 82 | device pnp 2e.109 on # GPIO3 |
| 83 | irq 0xe4 = 0x6f |
| 84 | irq 0xe5 = 0x72 |
| 85 | end |
| 86 | device pnp 2e.209 on # GPIO4 |
| 87 | irq 0xf0 = 0x0f |
| 88 | irq 0xf1 = 0x00 |
| 89 | end |
| 90 | device pnp 2e.309 on # GPIO5 |
| 91 | irq 0xf4 = 0xdf |
| 92 | irq 0xf5 = 0x00 |
| 93 | end |
| 94 | device pnp 2e.a on # ACPI |
| 95 | # Power RAM in S3 |
| 96 | irq 0xe4 = 0x10 |
| 97 | irq 0xe5 = 0x12 |
| 98 | irq 0xed = 0x01 |
| 99 | irq 0xf0 = 0x30 |
| 100 | end |
| 101 | device pnp 2e.b on # HWM, LED |
| 102 | irq 0x30 = 0xe1 # + Fan RPM sense pins |
| 103 | io 0x60 = 0x0290 # + HWM base address |
| 104 | io 0x62 = 0 |
| 105 | irq 0x70 = 0 |
| 106 | end |
| 107 | device pnp 2e.d off end # BCLK, WDT2, WDT_MEM |
| 108 | device pnp 2e.e off end # CIR wake-up |
| 109 | device pnp 2e.f off end # GPIO PP/OD |
| 110 | device pnp 2e.14 off end # SVID, Port 80 UART |
| 111 | device pnp 2e.16 off end # DS5 |
| 112 | device pnp 2e.116 off end # DS3 |
| 113 | device pnp 2e.316 off end # PCHDSW |
| 114 | device pnp 2e.416 off end # DSWWOPT |
| 115 | device pnp 2e.516 on end # DS3OPT |
| 116 | device pnp 2e.616 off end # DSDSS |
| 117 | device pnp 2e.716 off end # DSPU |
| 118 | end |
| 119 | end |
| 120 | end |
| 121 | chip drivers/pc80/tpm |
| 122 | device pnp 0c31.0 on end # TPM |
| 123 | end |
| 124 | end |
| 125 | device pci 1f.2 on end # SATA (AHCI) |
| 126 | device pci 1f.3 on end # SMBus |
| 127 | device pci 1f.5 off end # SATA (Legacy) |
| 128 | end |
| 129 | end |
| 130 | end |