Elyes HAOUAS | 674ad92 | 2020-05-09 13:21:47 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-or-later |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 2 | |
| 3 | chip northbridge/intel/sandybridge |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 4 | register "gfx.use_spread_spectrum_clock" = "0" |
| 5 | register "gpu_cpu_backlight" = "0x00000000" |
| 6 | register "gpu_dp_b_hotplug" = "4" |
| 7 | register "gpu_dp_c_hotplug" = "4" |
| 8 | register "gpu_dp_d_hotplug" = "4" |
Angel Pons | dc0c081 | 2020-09-02 19:17:30 +0200 | [diff] [blame] | 9 | register "gpu_panel_port_select" = "PANEL_PORT_LVDS" |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 10 | register "gpu_panel_power_backlight_off_delay" = "0" |
| 11 | register "gpu_panel_power_backlight_on_delay" = "0" |
| 12 | register "gpu_panel_power_cycle_delay" = "4" |
| 13 | register "gpu_panel_power_down_delay" = "0" |
| 14 | register "gpu_panel_power_up_delay" = "0" |
| 15 | register "gpu_pch_backlight" = "0x00000000" |
Keith Hui | 45e4ab4 | 2023-07-22 12:49:05 -0400 | [diff] [blame] | 16 | register "spd_addresses" = "{0x50, 0x51, 0x52, 0x53}" |
Arthur Heymans | 691d58f | 2021-08-11 13:42:40 +0200 | [diff] [blame] | 17 | |
Angel Pons | bceea67 | 2021-05-17 10:58:36 +0200 | [diff] [blame] | 18 | device domain 0 on |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 19 | device ref host_bridge on |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 20 | subsystemid 0x1849 0x0150 |
| 21 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 22 | device ref peg10 on |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 23 | subsystemid 0x1849 0x0151 |
| 24 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 25 | device ref igd on |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 26 | subsystemid 0x1849 0x0152 |
| 27 | end |
| 28 | chip southbridge/intel/bd82x6x |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 29 | register "docking_supported" = "0" |
| 30 | register "gen1_dec" = "0x000c0291" |
| 31 | register "gen2_dec" = "0x000c0241" |
| 32 | register "gen3_dec" = "0x000c0251" |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 33 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
Angel Pons | af4bd56 | 2021-12-28 13:05:56 +0100 | [diff] [blame] | 34 | register "pcie_port_coalesce" = "false" |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 35 | register "sata_interface_speed_support" = "0x3" |
| 36 | register "sata_port_map" = "0x3f" |
| 37 | register "superspeed_capable_ports" = "0x0000000f" |
| 38 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 39 | register "xhci_switchable_ports" = "0x0000000f" |
| 40 | register "spi_uvscc" = "0x2005" |
| 41 | register "spi_lvscc" = "0x2005" |
Keith Hui | c36b5ea1 | 2024-02-05 16:11:26 -0500 | [diff] [blame^] | 42 | register "usb_port_config" = "{ |
| 43 | { 1, 0, 0 }, |
| 44 | { 1, 0, 0 }, |
| 45 | { 1, 1, 1 }, |
| 46 | { 1, 1, 1 }, |
| 47 | { 1, 1, 2 }, |
| 48 | { 1, 1, 2 }, |
| 49 | { 1, 0, 3 }, |
| 50 | { 1, 0, 3 }, |
| 51 | { 1, 0, 4 }, |
| 52 | { 1, 0, 4 }, |
| 53 | { 1, 0, 6 }, |
| 54 | { 1, 1, 5 }, |
| 55 | { 1, 1, 5 }, |
| 56 | { 1, 0, 6 } |
| 57 | }" |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 58 | |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 59 | device ref xhci on # USB 3.0 Controller |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 60 | subsystemid 0x1849 0x1e31 |
| 61 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 62 | device ref mei1 on # Management Engine Interface 1 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 63 | subsystemid 0x1849 0x1e3a |
| 64 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 65 | device ref mei2 off # Management Engine Interface 2 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 66 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 67 | device ref me_ide_r off # Management Engine IDE-R |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 68 | end |
Fabian Groffen | 13dcdff | 2023-03-20 17:57:15 +0100 | [diff] [blame] | 69 | device ref me_kt off end # Management Engine KT |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 70 | device ref gbe off # Intel Gigabit Ethernet |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 71 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 72 | device ref ehci2 on # USB2 EHCI #2 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 73 | subsystemid 0x1849 0x1e2d |
| 74 | end |
Alexander Goncharov | 893c3ae8 | 2023-02-04 15:20:37 +0400 | [diff] [blame] | 75 | device ref hda on # High Definition Audio controller |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 76 | subsystemid 0x1849 0x8892 |
| 77 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 78 | device ref pcie_rp1 on # PCIe Port #1 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 79 | subsystemid 0x1849 0x1e10 |
| 80 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 81 | device ref pcie_rp2 off # PCIe Port #2 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 82 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 83 | device ref pcie_rp3 off # PCIe Port #3 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 84 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 85 | device ref pcie_rp4 off # PCIe Port #4 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 86 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 87 | device ref pcie_rp5 on # PCIe Port #5, ASMedia ASM1062 SATA Controller |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 88 | subsystemid 0x1849 0x1e18 |
| 89 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 90 | device ref pcie_rp6 on # PCIe Port #6, Realtek PCIe GbE Controller |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 91 | subsystemid 0x1849 0x1e1a |
Fabian Groffen | 623cbe5 | 2023-03-07 09:03:48 +0100 | [diff] [blame] | 92 | device pci 00.0 on end |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 93 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 94 | device ref pcie_rp7 off # PCIe Port #7 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 95 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 96 | device ref pcie_rp8 off # PCIe Port #8 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 97 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 98 | device ref ehci1 on # USB2 EHCI #1 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 99 | subsystemid 0x1849 0x1e26 |
| 100 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 101 | device ref pci_bridge on # PCI bridge |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 102 | subsystemid 0x1849 0x244e |
| 103 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 104 | device ref lpc on # LPC bridge |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 105 | subsystemid 0x1849 0x1e49 |
| 106 | chip superio/nuvoton/nct6776 |
| 107 | device pnp 2e.0 off end # Floppy |
| 108 | device pnp 2e.1 on # Parallel port |
| 109 | # global |
| 110 | irq 0x1c = 0x80 |
| 111 | irq 0x27 = 0xc0 |
| 112 | irq 0x2a = 0x62 |
| 113 | # parallel port |
| 114 | io 0x60 = 0x378 |
| 115 | irq 0x70 = 5 |
| 116 | drq 0x74 = 3 |
| 117 | end |
| 118 | device pnp 2e.2 on # COM1 |
| 119 | io 0x60 = 0x3f8 |
| 120 | irq 0x70 = 4 |
| 121 | end |
| 122 | device pnp 2e.3 off end # COM2, IR |
| 123 | device pnp 2e.5 on # Keyboard |
| 124 | io 0x60 = 0x60 |
| 125 | io 0x62 = 0x64 |
| 126 | irq 0x70 = 1 |
| 127 | irq 0x72 = 12 |
| 128 | end |
| 129 | device pnp 2e.6 off end # CIR |
Fabian Groffen | 2b824fd | 2023-03-20 08:32:17 +0100 | [diff] [blame] | 130 | device pnp 2e.7 off end # GPIO8 |
Fabian Groffen | 2b824fd | 2023-03-20 08:32:17 +0100 | [diff] [blame] | 131 | device pnp 2e.8 off end # WDT1 |
Fabian Groffen | 2b824fd | 2023-03-20 08:32:17 +0100 | [diff] [blame] | 132 | device pnp 2e.308 on # GPIO base |
| 133 | io 0x60 = 0x0 |
| 134 | irq 0xf0 = 0x3e # + GPIO1 direction |
| 135 | irq 0xf1 = 0xde # + GPIO1 value |
| 136 | end |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 137 | device pnp 2e.a on # ACPI |
| 138 | irq 0xe0 = 0x01 |
| 139 | irq 0xe3 = 0x14 |
Kevin Keijzer | d875daa | 2023-03-04 10:14:05 +0100 | [diff] [blame] | 140 | irq 0xe4 = 0x10 # + enable 3VSBSW# |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 141 | irq 0xe6 = 0x4c |
| 142 | irq 0xe9 = 0x02 |
Kevin Keijzer | d875daa | 2023-03-04 10:14:05 +0100 | [diff] [blame] | 143 | irq 0xf0 = 0x20 # + pin 70 = 3VSBSW |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 144 | end |
Kevin Keijzer | d875daa | 2023-03-04 10:14:05 +0100 | [diff] [blame] | 145 | device pnp 2e.b on # HWM, front panel LED |
| 146 | irq 0x30 = 0xe1 # + Fan RPM sense pins |
| 147 | io 0x60 = 0x0290 # + HWM base address |
Fabian Groffen | 4cf786d | 2023-03-19 12:42:56 +0100 | [diff] [blame] | 148 | io 0x62 = 0x0000 |
| 149 | irq 0x70 = 0 |
Kevin Keijzer | d875daa | 2023-03-04 10:14:05 +0100 | [diff] [blame] | 150 | end |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 151 | device pnp 2e.d on end # VID |
| 152 | device pnp 2e.e off end # CIR WAKE-UP |
| 153 | device pnp 2e.f on end # GPIO Push-Pull or Open-drain |
| 154 | device pnp 2e.14 on end # SVID |
| 155 | device pnp 2e.16 on end # Deep Sleep |
| 156 | device pnp 2e.17 on end # GPIOA |
| 157 | end |
| 158 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 159 | device ref sata1 on # SATA Controller 1 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 160 | subsystemid 0x1849 0x1e02 |
| 161 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 162 | device ref smbus on # SMBus |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 163 | subsystemid 0x1849 0x1e22 |
| 164 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 165 | device ref sata2 off # SATA Controller 2 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 166 | end |
Arthur Heymans | b5df65a | 2022-11-12 14:51:49 +0100 | [diff] [blame] | 167 | device ref thermal off # Thermal |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 168 | end |
| 169 | end |
| 170 | end |
| 171 | end |