blob: 54846bef0a5c6dfc15bf4cb07a0ebb1ed55631da [file] [log] [blame]
Nicolas Reinecke29d358e2015-01-31 19:20:50 +01001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 register "gfx.ndid" = "3"
3 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Nicolas Reinecke29d358e2015-01-31 19:20:50 +01004
5 # Enable DisplayPort Hotplug with 6ms pulse
6 register "gpu_dp_d_hotplug" = "0x06"
7
8 # Enable Panel as LVDS and configure power delays
9 register "gpu_panel_port_select" = "0" # LVDS
10 register "gpu_panel_power_cycle_delay" = "6" # T7: 500ms
11 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
12 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
13 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
14 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
15 register "gfx.use_spread_spectrum_clock" = "1"
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010016 register "gfx.link_frequency_270_mhz" = "1"
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010017 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x11551155"
19
Patrick Rudolph7bddd302016-06-11 18:39:35 +020020 # Override fuse bits that hard-code the value to 666 Mhz
21 register "max_mem_clock_mhz" = "933"
22
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010023 device cpu_cluster 0 on
24 chip cpu/intel/socket_rPGA989
25 device lapic 0 on end
26 end
27 chip cpu/intel/model_206ax
28 # Magic APIC ID to locate this chip
29 device lapic 0xACAC off end
30
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010031 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
32 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
33 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
34
35 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
36 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
37 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
38 end
39 end
40
Patrick Rudolph266a1f72016-06-09 18:13:34 +020041 register "pci_mmio_size" = "2048"
42
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010043 device domain 0 on
44 device pci 00.0 on
45 subsystemid 0x17aa 0x21fb
46 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020047 device pci 01.0 on end # PCIe Bridge for discrete graphics
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010048 device pci 02.0 on
49 subsystemid 0x17aa 0x21fb
50 end # Integrated Graphics Controller
51
52 chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
53 # GPI routing
54 # 0 No effect (default)
55 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
56 # 2 SCI (if corresponding GPIO_EN bit is also set)
57 register "alt_gp_smi_en" = "0x0000"
58 register "gpi1_routing" = "2"
59 register "gpi13_routing" = "2"
60
61 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 4 (dock)
62 register "sata_port_map" = "0x17"
63 # Set max SATA speed to 6.0 Gb/s
64 register "sata_interface_speed_support" = "0x3"
65
66 register "gen1_dec" = "0x7c1601"
67 register "gen2_dec" = "0x0c15e1"
68 register "gen4_dec" = "0x0c06a1"
69
70 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
71
Nicolas Reineckebcff3bd2015-03-31 01:40:46 +020072 register "xhci_switchable_ports" = "0xf"
73 register "superspeed_capable_ports" = "0xf"
74 register "xhci_overcurrent_mapping" = "0x4000201"
75
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010076 # Enable zero-based linear PCIe root port functions
77 register "pcie_port_coalesce" = "1"
78 register "c2_latency" = "101" # c2 not supported
79 register "p_cnt_throttling_supported" = "1"
80
81 device pci 14.0 on
82 subsystemid 0x17aa 0x21fb
83 end # USB 3.0 Controller
84 device pci 16.0 off end # Management Engine Interface 1
85 device pci 16.1 off end # Management Engine Interface 2
86 device pci 16.2 off end # Management Engine IDE-R
87 device pci 16.3 off end # Management Engine KT
88 device pci 19.0 on
89 subsystemid 0x17aa 0x21f3
90 end # Intel Gigabit Ethernet
91 device pci 1a.0 on
92 subsystemid 0x17aa 0x21fb
93 end # USB Enhanced Host Controller #2
94 device pci 1b.0 on
95 subsystemid 0x17aa 0x21fb
96 end # High Definition Audio Controller
97 device pci 1c.0 off end # PCIe Port #1
98 device pci 1c.1 on
99 subsystemid 0x17aa 0x21fb
100 end # PCIe Port #2 Integrated Wireless LAN
101 device pci 1c.2 on
102 subsystemid 0x17aa 0x21fb
103 end # PCIe Port #3 ExpressCard
104 device pci 1c.3 off end # PCIe Port #4
105 device pci 1c.4 off end # PCIe Port #5
106 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
107 device pci 1c.6 off end # PCIe Port #7
108 device pci 1c.7 off end # PCIe Port #8
109 device pci 1d.0 on
110 subsystemid 0x17aa 0x21fb
111 end # USB Enhanced Host Controller #1
112 device pci 1e.0 off end # PCI bridge
113 device pci 1f.0 on
114 subsystemid 0x17aa 0x21fb
115 chip ec/lenovo/pmh7
116 device pnp ff.1 on # dummy
117 end
118 register "backlight_enable" = "0x01"
119 register "dock_event_enable" = "0x01"
120 end
121
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +0200122 chip drivers/pc80/tpm
123 device pnp 0c31.0 on end
124 end
125
Nicolas Reinecke29d358e2015-01-31 19:20:50 +0100126 chip ec/lenovo/h8
127 device pnp ff.2 on # dummy
128 io 0x60 = 0x62
129 io 0x62 = 0x66
130 io 0x64 = 0x1600
131 io 0x66 = 0x1604
132 end
133
134 register "config0" = "0xa7"
135 register "config1" = "0x05"
136 register "config2" = "0xa0"
137 register "config3" = "0xe2"
138
139 register "has_keyboard_backlight" = "1"
140
141 register "beepmask0" = "0x00"
142 register "beepmask1" = "0x86"
143 register "has_power_management_beeps" = "0"
144 register "event2_enable" = "0xff"
145 register "event3_enable" = "0xff"
146 register "event4_enable" = "0xd0"
147 register "event5_enable" = "0x3c"
148 register "event6_enable" = "0x00"
149 register "event7_enable" = "0x01"
150 register "event8_enable" = "0x7b"
151 register "event9_enable" = "0xff"
152 register "eventa_enable" = "0x00"
153 register "eventb_enable" = "0x00"
154 register "eventc_enable" = "0xff"
155 register "eventd_enable" = "0xff"
156 register "evente_enable" = "0x0d"
157 end
158 end # LPC Controller
159 device pci 1f.2 on
160 subsystemid 0x17aa 0x21fb
161 end # 6 port SATA AHCI Controller
162 device pci 1f.3 on
163 subsystemid 0x17aa 0x21fb
164 # eeprom, 8 virtual devices, same chip
165 chip drivers/i2c/at24rf08c
166 device i2c 54 on end
167 device i2c 55 on end
168 device i2c 56 on end
169 device i2c 57 on end
170 device i2c 5c on end
171 device i2c 5d on end
172 device i2c 5e on end
173 device i2c 5f on end
174 end
175 end # SMBus Controller
176 device pci 1f.5 off end # SATA Controller 2
177 device pci 1f.6 on
178 subsystemid 0x17aa 0x21fb
179 end # Thermal
180 end
181 end
182end