blob: 0065799dd676ef592f8a7873bf78a15b83707209 [file] [log] [blame]
Zaolina823f9b2014-05-06 21:31:45 +02001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Zaolina823f9b2014-05-06 21:31:45 +02005
6 # Enable DisplayPort Hotplug with 6ms pulse
7 register "gpu_dp_d_hotplug" = "0x06"
8
9 # Enable Panel as LVDS and configure power delays
10 register "gpu_panel_port_select" = "0" # LVDS
Nicolas Reineckede72d432014-10-17 13:01:02 +020011 register "gpu_panel_power_cycle_delay" = "5"
12 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
13 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
14 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
15 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
16 register "gfx.use_spread_spectrum_clock" = "1"
Nicolas Reineckede72d432014-10-17 13:01:02 +020017 register "gfx.link_frequency_270_mhz" = "1"
Nicolas Reineckede72d432014-10-17 13:01:02 +020018 register "gpu_cpu_backlight" = "0x1155"
19 register "gpu_pch_backlight" = "0x06100610"
Zaolina823f9b2014-05-06 21:31:45 +020020
Patrick Rudolph7bddd302016-06-11 18:39:35 +020021 # Override fuse bits that hard-code the value to 666 Mhz
22 register "max_mem_clock_mhz" = "933"
23
Zaolina823f9b2014-05-06 21:31:45 +020024 device cpu_cluster 0 on
25 chip cpu/intel/socket_rPGA988B
26 device lapic 0 on end
27 end
28 chip cpu/intel/model_206ax
29 # Magic APIC ID to locate this chip
30 device lapic 0xACAC off end
31
Zaolina823f9b2014-05-06 21:31:45 +020032 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
33 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
34 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
35
36 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
37 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
38 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
39 end
40 end
41
Patrick Rudolph266a1f72016-06-09 18:13:34 +020042 register "pci_mmio_size" = "2048"
43
Zaolina823f9b2014-05-06 21:31:45 +020044 device domain 0 on
45 device pci 00.0 on end # host bridge
Nicolas Reinecke6ccc3462014-08-23 01:06:33 +020046 device pci 01.0 on end # NVIDIA Corporation GF119M [NVS 4200M]
Zaolina823f9b2014-05-06 21:31:45 +020047 device pci 02.0 on end # vga controller
48
49 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Zaolina823f9b2014-05-06 21:31:45 +020050 # GPI routing
51 # 0 No effect (default)
52 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
53 # 2 SCI (if corresponding GPIO_EN bit is also set)
54 register "alt_gp_smi_en" = "0x0000"
55 register "gpi1_routing" = "2"
Nicolas Reineckeb0922f02015-02-01 02:53:35 +010056 register "gpi13_routing" = "2"
Zaolina823f9b2014-05-06 21:31:45 +020057
Nicolas Reinecke6ccc3462014-08-23 01:06:33 +020058 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 3 (eSATA) & 4 (dock)
Zaolina823f9b2014-05-06 21:31:45 +020059 register "sata_port_map" = "0x1f"
60 # Set max SATA speed to 6.0 Gb/s
61 register "sata_interface_speed_support" = "0x3"
62
63 register "gen1_dec" = "0x7c1601"
64 register "gen2_dec" = "0x0c15e1"
65 register "gen4_dec" = "0x0c06a1"
66
67 # Enable zero-based linear PCIe root port functions
68 register "pcie_port_coalesce" = "1"
69
Vladimir Serbinenko5b044ae2014-10-25 15:20:55 +020070 register "c2_latency" = "101" # c2 not supported
71 register "p_cnt_throttling_supported" = "1"
72
Vladimir Serbinenko36fa5b82014-10-28 23:43:20 +010073 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
74
Patrick Rudolphc670a412017-04-28 17:28:32 +020075 register "spi_uvscc" = "0x2005"
76 register "spi_lvscc" = "0x2005"
77
Zaolina823f9b2014-05-06 21:31:45 +020078 device pci 16.0 on end # Management Engine Interface 1
79 device pci 16.1 off end
80 device pci 16.2 off end
81 device pci 16.3 off end
82 device pci 19.0 on end # Intel Gigabit Ethernet
83 device pci 1a.0 on end # USB2 EHCI #2
84 device pci 1b.0 on end # High Definition Audio
Nicolas Reinecke6ccc3462014-08-23 01:06:33 +020085 device pci 1c.0 off end # PCIe Port #1
Zaolina823f9b2014-05-06 21:31:45 +020086 device pci 1c.1 on end # PCIe Port #2 Integrated Wireless LAN
Nicolas Reinecke6ccc3462014-08-23 01:06:33 +020087 device pci 1c.2 off end # PCIe Port #3
88 device pci 1c.3 on end # PCIe Port #4 Express Card
89 device pci 1c.4 on end # PCIe Port #5 MMC/SDXC + IEEE1394
90 device pci 1c.5 off end # PCIe Port #6 Intel Ethernet PHY
91 device pci 1c.6 off end # PCIe Port #7 USB 3.0 only W520
92 device pci 1c.7 off end # PCIe Port #8
Zaolina823f9b2014-05-06 21:31:45 +020093 device pci 1d.0 on end # USB2 EHCI #1
94 device pci 1f.0 on #LPC bridge
95 chip ec/lenovo/pmh7
96 device pnp ff.1 on # dummy
97 end
98 register "backlight_enable" = "0x01"
99 register "dock_event_enable" = "0x01"
100 end
101
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +0200102 chip drivers/pc80/tpm
103 device pnp 0c31.0 on end
104 end
105
Zaolina823f9b2014-05-06 21:31:45 +0200106 chip ec/lenovo/h8
107 device pnp ff.2 on # dummy
108 io 0x60 = 0x62
109 io 0x62 = 0x66
110 io 0x64 = 0x1600
111 io 0x66 = 0x1604
112 end
113
114 register "config0" = "0xa7"
115 register "config1" = "0x09"
116 register "config2" = "0xa0"
117 register "config3" = "0xc2"
118
Zaolina823f9b2014-05-06 21:31:45 +0200119 register "beepmask0" = "0x00"
120 register "beepmask1" = "0x86"
121 register "has_power_management_beeps" = "0"
122 register "event2_enable" = "0xff"
123 register "event3_enable" = "0xff"
124 register "event4_enable" = "0xd0"
125 register "event5_enable" = "0xfc"
126 register "event6_enable" = "0x00"
127 register "event7_enable" = "0x01"
128 register "event8_enable" = "0x7b"
129 register "event9_enable" = "0xff"
130 register "eventa_enable" = "0x01"
131 register "eventb_enable" = "0x00"
132 register "eventc_enable" = "0xff"
133 register "eventd_enable" = "0xff"
134 register "evente_enable" = "0x0d"
135 end
136 end # LPC bridge
137 device pci 1f.2 on end # SATA Controller 1
138 device pci 1f.3 on # SMBUS controller
139 # eeprom, 8 virtual devices, same chip
140 chip drivers/i2c/at24rf08c
141 device i2c 54 on end
142 device i2c 55 on end
143 device i2c 56 on end
144 device i2c 57 on end
145 device i2c 5c on end
146 device i2c 5d on end
147 device i2c 5e on end
148 device i2c 5f on end
149 end
150 end # SMBus
151 end
152 end
153end