Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 1 | chip northbridge/intel/haswell |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame] | 2 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 3 | register "gpu_ddi_e_connected" = "1" |
| 4 | register "gpu_dp_b_hotplug" = "4" |
| 5 | register "gpu_dp_c_hotplug" = "4" |
| 6 | register "gpu_dp_d_hotplug" = "4" |
Michael Niewöhner | 97e21d3 | 2020-12-28 00:49:33 +0100 | [diff] [blame] | 7 | register "panel_cfg" = "{ |
| 8 | .up_delay_ms = 200, |
| 9 | .down_delay_ms = 50, |
| 10 | .cycle_delay_ms = 500, |
| 11 | .backlight_on_delay_ms = 1, |
| 12 | .backlight_off_delay_ms = 1, |
| 13 | .backlight_pwm_hz = 220, |
| 14 | }" |
Angel Pons | 8aab787 | 2020-07-04 01:24:59 +0200 | [diff] [blame] | 15 | register "ec_present" = "true" |
Angel Pons | d2489ee | 2021-05-17 11:05:29 +0200 | [diff] [blame] | 16 | device cpu_cluster 0 on |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 17 | chip cpu/intel/haswell |
Angel Pons | c56c723 | 2021-05-17 11:03:55 +0200 | [diff] [blame] | 18 | device lapic 0 on end |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 19 | device lapic 0xacac off end |
| 20 | end |
| 21 | end |
Angel Pons | bceea67 | 2021-05-17 10:58:36 +0200 | [diff] [blame] | 22 | device domain 0 on |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 23 | subsystemid 0x17aa 0x220e inherit |
| 24 | |
Angel Pons | 8ea7b31 | 2021-06-20 13:44:03 +0200 | [diff] [blame] | 25 | device pci 00.0 on end # Host bridge |
Nico Huber | e8930e5 | 2022-10-04 12:42:36 +0200 | [diff] [blame] | 26 | device pci 01.0 on end # PCIe Bridge for discrete graphics (optional) |
| 27 | device pci 01.1 on end # PCIe Bridge for discrete graphics (optional) |
Angel Pons | 8ea7b31 | 2021-06-20 13:44:03 +0200 | [diff] [blame] | 28 | device pci 02.0 on end # Internal graphics VGA controller |
| 29 | device pci 03.0 on end # Mini-HD audio |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 30 | |
| 31 | chip southbridge/intel/lynxpoint # Intel Series 8 Lynx Point PCH |
| 32 | register "gen1_dec" = "0x007c1601" |
| 33 | register "gen2_dec" = "0x000c15e1" |
| 34 | register "gen4_dec" = "0x000c06a1" |
| 35 | register "gpi13_routing" = "2" |
| 36 | register "gpi1_routing" = "2" |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 37 | # 0(HDD), 1(M.2), 5(ODD) |
| 38 | register "sata_port_map" = "0x23" |
Angel Pons | 8ea7b31 | 2021-06-20 13:44:03 +0200 | [diff] [blame] | 39 | device pci 14.0 on end # xHCI Controller |
| 40 | device pci 16.0 on end # Management Engine Interface 1 |
| 41 | device pci 16.1 off end # Management Engine Interface 2 |
| 42 | device pci 16.2 off end # Management Engine IDE-R |
| 43 | device pci 16.3 off end # Management Engine KT |
| 44 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 45 | device pci 1a.0 on end # USB2 EHCI #2 |
| 46 | device pci 1b.0 on end # High Definition Audio Audio controller |
| 47 | device pci 1c.0 on end # PCIe Port #1, Realtek Card Reader |
| 48 | device pci 1c.1 on # PCIe Port #2, WLAN |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 49 | smbios_slot_desc "0x14" "1" "M.2 2230" "8" |
| 50 | end |
Angel Pons | 8ea7b31 | 2021-06-20 13:44:03 +0200 | [diff] [blame] | 51 | device pci 1c.2 off end # PCIe Port #3 |
| 52 | device pci 1c.3 off end # PCIe Port #4 |
| 53 | device pci 1c.4 off end # PCIe Port #5 |
| 54 | device pci 1c.5 off end # PCIe Port #6 |
| 55 | device pci 1c.6 off end # PCIe Port #7 |
| 56 | device pci 1c.7 off end # PCIe Port #8 |
| 57 | device pci 1d.0 on end # USB2 EHCI #1 |
| 58 | device pci 1f.0 on # LPC bridge |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 59 | chip ec/lenovo/pmh7 |
| 60 | register "backlight_enable" = "0x01" |
| 61 | register "dock_event_enable" = "0x01" |
Peter Lemenkov | 4ed2598 | 2020-02-06 14:51:27 +0100 | [diff] [blame] | 62 | device pnp ff.1 on end # dummy |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 63 | end |
| 64 | chip ec/lenovo/h8 |
| 65 | register "beepmask0" = "0x00" |
| 66 | register "beepmask1" = "0x86" |
| 67 | register "config0" = "0xa6" |
| 68 | register "config1" = "0x0d" |
| 69 | register "config2" = "0xa8" |
| 70 | register "config3" = "0xc4" |
Iru Cai | e127a87 | 2020-01-30 19:19:37 +0800 | [diff] [blame] | 71 | register "has_keyboard_backlight" = "1" |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 72 | register "event2_enable" = "0xff" |
| 73 | register "event3_enable" = "0xff" |
| 74 | register "event4_enable" = "0xd0" |
| 75 | register "event5_enable" = "0x3c" |
| 76 | register "event7_enable" = "0x01" |
| 77 | register "event8_enable" = "0x7b" |
| 78 | register "event9_enable" = "0xff" |
| 79 | register "eventc_enable" = "0xff" |
| 80 | register "eventd_enable" = "0xff" |
| 81 | register "evente_enable" = "0x9d" |
| 82 | device pnp ff.2 on # dummy |
| 83 | io 0x60 = 0x62 |
| 84 | io 0x62 = 0x66 |
| 85 | io 0x64 = 0x1600 |
| 86 | io 0x66 = 0x1604 |
| 87 | end |
| 88 | end |
| 89 | chip drivers/pc80/tpm |
| 90 | device pnp 0c31.0 on end |
| 91 | end |
| 92 | end |
Angel Pons | 8ea7b31 | 2021-06-20 13:44:03 +0200 | [diff] [blame] | 93 | device pci 1f.2 on end # SATA Controller 1 |
| 94 | device pci 1f.3 on end # SMBus |
| 95 | device pci 1f.5 off end # SATA Controller 2 |
| 96 | device pci 1f.6 off end # Thermal |
Iru Cai | b559432 | 2019-06-30 21:16:50 +0800 | [diff] [blame] | 97 | end |
| 98 | end |
| 99 | end |