Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | |
| 3 | chip northbridge/intel/sandybridge |
| 4 | register "gpu_dp_b_hotplug" = "4" |
| 5 | register "gpu_dp_c_hotplug" = "4" |
| 6 | register "gpu_dp_d_hotplug" = "4" |
Keith Hui | 45e4ab4 | 2023-07-22 12:49:05 -0400 | [diff] [blame] | 7 | register "spd_addresses" = "{0x50, 0, 0x52, 0}" |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 8 | |
| 9 | device domain 0 on |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 10 | device ref host_bridge on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 11 | subsystemid 0x1849 0x0150 |
| 12 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 13 | device ref peg10 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 14 | subsystemid 0x1849 0x0151 |
| 15 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 16 | device ref igd on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 17 | subsystemid 0x1849 0x0152 |
| 18 | end |
| 19 | chip southbridge/intel/bd82x6x |
| 20 | register "gen1_dec" = "0x000c0291" |
| 21 | register "gen2_dec" = "0x000c0241" |
| 22 | register "gen3_dec" = "0x000c0251" |
| 23 | register "sata_interface_speed_support" = "0x3" |
| 24 | register "sata_port_map" = "0x3f" |
| 25 | register "superspeed_capable_ports" = "0x0000000f" |
| 26 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 27 | register "xhci_switchable_ports" = "0x0000000f" |
| 28 | register "spi_uvscc" = "0x2005" |
| 29 | register "spi_lvscc" = "0x2005" |
Keith Hui | c36b5ea1 | 2024-02-05 16:11:26 -0500 | [diff] [blame^] | 30 | register "usb_port_config" = "{ |
| 31 | {1, 0, 0}, {1, 0, 0}, {1, 1, 1}, {1, 1, 1}, |
| 32 | {1, 1, 2}, {1, 1, 2}, {1, 0, 3}, {1, 0, 3}, |
| 33 | {1, 0, 4}, {1, 0, 4}, {1, 0, 6}, |
| 34 | {1, 1, 5}, {1, 1, 5}, {1, 0, 6} |
| 35 | }" |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 36 | |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 37 | device ref xhci on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 38 | subsystemid 0x1849 0x1e31 |
| 39 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 40 | device ref mei1 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 41 | subsystemid 0x1849 0x1e3a |
| 42 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 43 | device ref mei2 off end |
| 44 | device ref me_ide_r off end |
| 45 | device ref me_kt off end |
| 46 | device ref gbe off end |
| 47 | device ref ehci2 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 48 | subsystemid 0x1849 0x1e2d |
| 49 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 50 | device ref hda on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 51 | subsystemid 0x1849 0x8892 |
| 52 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 53 | device ref pcie_rp1 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 54 | subsystemid 0x1849 0x1e10 |
| 55 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 56 | device ref pcie_rp2 off end |
| 57 | device ref pcie_rp3 off end |
| 58 | device ref pcie_rp4 on # Realtek PCIe GbE Controller |
Kevin Keijzer | 2949149 | 2023-03-22 08:05:01 +0100 | [diff] [blame] | 59 | subsystemid 0x1849 0x1e16 |
| 60 | device pci 00.0 on end # PCI 10ec:8168 |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 61 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 62 | device ref pcie_rp5 off end |
| 63 | device ref pcie_rp6 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 64 | subsystemid 0x1849 0x1e1a |
| 65 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 66 | device ref pcie_rp7 off end |
| 67 | device ref pcie_rp8 off end |
| 68 | device ref ehci1 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 69 | subsystemid 0x1849 0x1e26 |
| 70 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 71 | device ref pci_bridge off end |
| 72 | device ref lpc on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 73 | subsystemid 0x1849 0x1e49 |
| 74 | chip superio/nuvoton/nct6776 |
| 75 | device pnp 2e.0 off end # Floppy |
| 76 | device pnp 2e.1 on # Parallel port |
| 77 | # global |
| 78 | irq 0x1c = 0x80 |
| 79 | irq 0x27 = 0xc0 |
| 80 | irq 0x2a = 0x62 |
| 81 | # parallel port |
| 82 | io 0x60 = 0x378 |
| 83 | irq 0x70 = 5 |
| 84 | drq 0x74 = 3 |
| 85 | end |
| 86 | device pnp 2e.2 on # COM1 |
| 87 | io 0x60 = 0x3f8 |
| 88 | irq 0x70 = 4 |
| 89 | end |
| 90 | device pnp 2e.3 off end # COM2, IR |
| 91 | device pnp 2e.5 on # Keyboard |
| 92 | io 0x60 = 0x60 |
| 93 | io 0x62 = 0x64 |
| 94 | irq 0x70 = 1 |
| 95 | irq 0x72 = 12 |
| 96 | end |
| 97 | device pnp 2e.6 off end # CIR |
| 98 | device pnp 2e.7 off end # GPIO6-9 |
| 99 | device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA |
| 100 | device pnp 2e.9 off end # GPIO2-5 |
| 101 | device pnp 2e.a on # ACPI |
| 102 | irq 0xe0 = 0x01 |
| 103 | irq 0xe3 = 0x14 |
| 104 | irq 0xe4 = 0x10 # + enable 3VSBSW# |
| 105 | irq 0xe6 = 0x4c |
| 106 | irq 0xe9 = 0x02 |
| 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 |
Kevin Keijzer | 6b7b400 | 2023-03-19 16:01:58 +0100 | [diff] [blame] | 112 | io 0x62 = 0x0000 |
| 113 | irq 0x70 = 0 |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 114 | end |
| 115 | device pnp 2e.d on end # VID |
| 116 | device pnp 2e.e off end # CIR WAKE-UP |
| 117 | device pnp 2e.f on end # GPIO Push-Pull or Open-drain |
| 118 | device pnp 2e.14 on end # SVID |
| 119 | device pnp 2e.16 on end # Deep Sleep |
| 120 | device pnp 2e.17 on end # GPIOA |
Kevin Keijzer | 6b7b400 | 2023-03-19 16:01:58 +0100 | [diff] [blame] | 121 | device pnp 2e.308 on # GPIO base |
| 122 | io 0x60 = 0x0 |
| 123 | end |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 124 | end |
| 125 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 126 | device ref sata1 on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 127 | subsystemid 0x1849 0x1e02 |
| 128 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 129 | device ref smbus on |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 130 | subsystemid 0x1849 0x1e22 |
| 131 | end |
Felix Singer | dc1a6ad | 2024-01-14 00:16:26 +0100 | [diff] [blame] | 132 | device ref sata2 off end |
| 133 | device ref thermal off end |
Fabian Groffen | 9277c5b | 2023-02-18 18:53:44 +0100 | [diff] [blame] | 134 | end |
| 135 | end |
| 136 | end |