Michael Büchler | 4f1378e | 2020-09-06 19:59:18 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | chip northbridge/intel/sandybridge |
Michael Büchler | 4f1378e | 2020-09-06 19:59:18 +0200 | [diff] [blame] | 4 | device domain 0 on |
| 5 | device pci 00.0 on # Host bridge |
| 6 | subsystemid 0x1849 0x0100 |
| 7 | end |
| 8 | device pci 01.0 on end # PEG - slot "PCIE1" |
| 9 | device pci 02.0 on # iGPU |
| 10 | subsystemid 0x1849 0x0102 |
| 11 | end |
| 12 | chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH |
| 13 | register "gen1_dec" = "0x000c0291" |
| 14 | register "gen2_dec" = "0x000c0241" |
| 15 | register "gen3_dec" = "0x000c0251" |
| 16 | register "sata_interface_speed_support" = "0x3" |
| 17 | register "sata_port_map" = "0x3f" |
| 18 | register "spi_lvscc" = "0x2005" |
| 19 | register "spi_uvscc" = "0x2005" |
| 20 | register "superspeed_capable_ports" = "0x0000000f" |
| 21 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 22 | register "xhci_switchable_ports" = "0x0000000f" |
| 23 | device pci 14.0 on # USB 3.0 Controller |
| 24 | subsystemid 0x1849 0x1e31 |
| 25 | end |
| 26 | device pci 16.0 on # Management Engine Interface 1 |
| 27 | subsystemid 0x1849 0x1e3a |
| 28 | end |
| 29 | device pci 16.1 off end # Management Engine Interface 2 |
| 30 | device pci 16.2 off end # Management Engine IDE-R |
| 31 | device pci 16.3 off end # Management Engine KT |
| 32 | device pci 19.0 off end # Intel Gigabit Ethernet |
| 33 | device pci 1a.0 on # USB2 EHCI #2 |
| 34 | subsystemid 0x1849 0x1e2d |
| 35 | end |
| 36 | device pci 1b.0 on # High Definition Audio |
| 37 | subsystemid 0x1849 0x8892 |
| 38 | end |
| 39 | device pci 1c.0 on # PCIe Port #1 - slot "PCIE4", 4 lanes |
| 40 | subsystemid 0x1849 0x1e10 |
| 41 | end |
| 42 | device pci 1c.1 off end # PCIe Port #2 |
| 43 | device pci 1c.2 off end # PCIe Port #3 |
| 44 | device pci 1c.3 off end # PCIe Port #4 |
| 45 | device pci 1c.4 on # PCIe Port #5 - slot "PCIE2", 1 lane |
| 46 | subsystemid 0x1849 0x1e18 |
| 47 | end |
| 48 | device pci 1c.5 on # PCIe Port #6 - RTL8111E GbE |
| 49 | subsystemid 0x1849 0x1e1a |
| 50 | end |
| 51 | device pci 1c.6 on # PCIe Port #7 - slot "PCIE3", 1 lane |
| 52 | subsystemid 0x1849 0x1e16 |
| 53 | end |
| 54 | device pci 1c.7 on # PCIe Port #8 - ASM1061 SATA Controller |
| 55 | subsystemid 0x1849 0x1e1e |
| 56 | end |
| 57 | device pci 1d.0 on # USB2 EHCI #1 |
| 58 | subsystemid 0x1849 0x1e26 |
| 59 | end |
| 60 | device pci 1e.0 off end # PCI bridge |
| 61 | device pci 1f.0 on # LPC bridge |
| 62 | subsystemid 0x1849 0x1e4a |
| 63 | chip superio/nuvoton/nct6776 |
| 64 | device pnp 2e.0 off end # Floppy |
| 65 | device pnp 2e.1 on # Parallel port |
| 66 | io 0x60 = 0x378 |
| 67 | irq 0x70 = 5 |
| 68 | drq 0x74 = 3 |
| 69 | end |
| 70 | device pnp 2e.2 on # COM1 |
| 71 | io 0x60 = 0x3f8 |
| 72 | irq 0x70 = 4 |
| 73 | end |
| 74 | device pnp 2e.3 off end # COM2, IR |
| 75 | device pnp 2e.5 on # Keyboard |
| 76 | io 0x60 = 0x60 |
| 77 | io 0x62 = 0x64 |
| 78 | irq 0x70 = 1 |
| 79 | irq 0x72 = 12 |
| 80 | end |
| 81 | device pnp 2e.6 off end # CIR |
| 82 | device pnp 2e.7 off end # GPIO8 |
| 83 | device pnp 2e.107 off end # GPIO9 |
| 84 | device pnp 2e.8 off end # WDT1 |
| 85 | device pnp 2e.108 off end # GPIO0 |
| 86 | device pnp 2e.208 off end # GPIOA |
| 87 | device pnp 2e.308 on # GPIO base |
| 88 | io 0x60 = 0x0 |
| 89 | irq 0xf0 = 0x3e # + GPIO1 direction |
| 90 | irq 0xf1 = 0xde # + GPIO1 value |
| 91 | end |
| 92 | device pnp 2e.109 on end # GPIO1 |
| 93 | device pnp 2e.209 on # GPIO2 |
| 94 | irq 0xe0 = 0xff # + GPIO2 direction |
| 95 | irq 0xe1 = 0x0c # + GPIO2 value |
| 96 | end |
| 97 | device pnp 2e.309 on # GPIO3 |
| 98 | irq 0xe4 = 0xf7 # + GPIO3 direction |
| 99 | irq 0xe5 = 0x08 # + GPIO3 value |
| 100 | end |
| 101 | device pnp 2e.409 off end # GPIO4 |
| 102 | device pnp 2e.509 off end # GPIO5 |
| 103 | device pnp 2e.609 off end # GPIO6 |
| 104 | device pnp 2e.709 on end # GPIO7 |
| 105 | device pnp 2e.a on # ACPI |
| 106 | irq 0xe4 = 0x10 # + enable 3VSBSW# |
| 107 | irq 0xf0 = 0x20 # + pin 70 = 3VSBSW |
| 108 | end |
| 109 | device pnp 2e.b on # HWM, front panel LED |
| 110 | irq 0x30 = 0xe1 # + Fan RPM sense pins |
| 111 | io 0x60 = 0x0290 # + HWM base address |
| 112 | end |
| 113 | device pnp 2e.d off end # VID |
| 114 | device pnp 2e.e off end # CIR WAKE-UP |
| 115 | device pnp 2e.f off end # GPIO Push-Pull or Open-drain |
| 116 | device pnp 2e.14 off end # SVID |
| 117 | device pnp 2e.16 off end # Deep Sleep |
| 118 | device pnp 2e.17 off end # GPIOA |
| 119 | end |
| 120 | end |
| 121 | device pci 1f.2 on # SATA (AHCI) |
| 122 | subsystemid 0x1849 0x1e02 |
| 123 | end |
| 124 | device pci 1f.3 on # SMBus |
| 125 | subsystemid 0x1849 0x1e22 |
| 126 | end |
| 127 | device pci 1f.5 off end # SATA (Legacy) |
| 128 | device pci 1f.6 off end # Thermal |
| 129 | end |
| 130 | end |
| 131 | end |