Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 1 | chip northbridge/intel/sandybridge |
Vladimir Serbinenko | dd2bc3f | 2014-10-31 09:16:31 +0100 | [diff] [blame] | 2 | # IGD Displays |
Nico Huber | b0b25c8 | 2020-03-21 20:35:12 +0100 | [diff] [blame] | 3 | register "gfx" = "GMA_STATIC_DISPLAYS(0)" |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 4 | |
| 5 | # Enable DisplayPort Hotplug with 6ms pulse |
| 6 | register "gpu_dp_d_hotplug" = "0x06" |
| 7 | |
| 8 | |
| 9 | # Enable Panel as LVDS and configure power delays |
Angel Pons | dc0c081 | 2020-09-02 19:17:30 +0200 | [diff] [blame] | 10 | register "gpu_panel_port_select" = "PANEL_PORT_LVDS" |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 11 | register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms |
| 12 | register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms |
| 13 | register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms |
| 14 | register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms |
| 15 | register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms |
| 16 | |
Matt DeVillier | e2c4a35 | 2019-01-10 12:51:56 -0600 | [diff] [blame] | 17 | # Set backlight PWM values |
| 18 | register "gpu_cpu_backlight" = "0x000001e8" |
| 19 | register "gpu_pch_backlight" = "0x03d00000" |
| 20 | |
Alexandru Gagniuc | 83b05eb | 2015-02-15 14:09:21 -0600 | [diff] [blame] | 21 | register "max_mem_clock_mhz" = "666" # DDR3-1333 |
| 22 | |
Stefan Reinauer | 0aa37c4 | 2013-02-12 15:20:54 -0800 | [diff] [blame] | 23 | device cpu_cluster 0 on |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 24 | chip cpu/intel/model_206ax |
| 25 | # Magic APIC ID to locate this chip |
Angel Pons | c56c723 | 2021-05-17 11:03:55 +0200 | [diff] [blame] | 26 | device lapic 0 on end |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame] | 27 | device lapic 0xacac off end |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 28 | |
Angel Pons | 6f56a23 | 2021-01-04 17:02:23 +0100 | [diff] [blame] | 29 | register "acpi_c1" = "1" # ACPI(C1) = MWAIT(C1) |
| 30 | register "acpi_c2" = "3" # ACPI(C2) = MWAIT(C3) |
| 31 | register "acpi_c3" = "5" # ACPI(C3) = MWAIT(C7) |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 32 | end |
| 33 | end |
| 34 | |
Stefan Reinauer | 4aff445 | 2013-02-12 14:17:15 -0800 | [diff] [blame] | 35 | device domain 0 on |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 36 | device pci 00.0 on end # host bridge |
| 37 | device pci 01.0 off end # PCIe Bridge for discrete graphics |
| 38 | device pci 02.0 on end # vga controller |
| 39 | |
| 40 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 41 | # GPI routing |
| 42 | # 0 No effect (default) |
| 43 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 44 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 45 | register "alt_gp_smi_en" = "0x0000" |
| 46 | #register "gpi1_routing" = "1" #SMI from EC |
| 47 | register "gpi13_routing" = "2" #SCI from EC |
| 48 | |
Shawn Nematbakhsh | 7b8952c | 2013-03-14 11:03:59 -0700 | [diff] [blame] | 49 | # Enable SATA ports 0 & 1 |
| 50 | register "sata_port_map" = "0x3" |
| 51 | # Set max SATA speed to 3.0 Gb/s |
| 52 | register "sata_interface_speed_support" = "0x2" |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 53 | |
| 54 | # Enable EC Port 0x68/0x6C |
| 55 | register "gen1_dec" = "0x00040069" |
| 56 | |
| 57 | # EC range is 0x380-0387 |
| 58 | register "gen2_dec" = "0x00040381" |
| 59 | |
| 60 | # Enable zero-based linear PCIe root port functions |
| 61 | register "pcie_port_coalesce" = "1" |
| 62 | |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 63 | device pci 14.0 on end # USB 3.0 Controller |
| 64 | device pci 16.0 on end # Management Engine Interface 1 |
| 65 | device pci 16.1 off end # Management Engine Interface 2 |
| 66 | device pci 16.2 off end # Management Engine IDE-R |
| 67 | device pci 16.3 off end # Management Engine KT |
| 68 | device pci 19.0 off end # Intel Gigabit Ethernet |
| 69 | device pci 1a.0 on end # USB2 EHCI #2 |
| 70 | device pci 1b.0 on end # High Definition Audio |
| 71 | device pci 1c.0 on end # PCIe Port #1 (mini PCIe Slot - WLAN & Serial debug) |
| 72 | device pci 1c.1 on end # PCIe Port #2 (ETH0) |
| 73 | device pci 1c.2 on end # PCIe Port #3 (Card Reader) |
| 74 | #force ASPM for PCIe bridge to Card Reader |
| 75 | register "pcie_aspm_f2" = "0x3" |
| 76 | device pci 1c.3 off end # PCIe Port #4 |
| 77 | device pci 1c.4 off end # PCIe Port #5 |
| 78 | device pci 1c.5 off end # PCIe Port #6 |
| 79 | device pci 1c.6 off end # PCIe Port #7 |
| 80 | device pci 1c.7 off end # PCIe Port #8 |
| 81 | device pci 1d.0 on end # USB2 EHCI #1 |
| 82 | device pci 1e.0 off end # PCI bridge |
| 83 | device pci 1f.0 on #LPC bridge |
Matt DeVillier | 3044af7 | 2018-08-01 13:05:14 -0500 | [diff] [blame] | 84 | chip drivers/pc80/tpm |
| 85 | device pnp 0c31.0 on end |
| 86 | end |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 87 | chip ec/quanta/ene_kb3940q |
| 88 | # 60/64 KBC |
| 89 | device pnp ff.1 on # dummy address |
| 90 | end |
| 91 | end |
| 92 | end # LPC bridge |
| 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 on end # Thermal |
| 97 | end |
| 98 | end |
| 99 | end |