blob: 841e6753d12945ecd7b02a5dfe9adf1ca5df43c0 [file] [log] [blame]
Nicolas Reinecke572795b2014-12-29 19:57:29 +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 Reinecke572795b2014-12-29 19:57:29 +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" = "1"
11 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
12 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
13 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
14 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
15 register "gfx.use_spread_spectrum_clock" = "1"
Nicolas Reinecke572795b2014-12-29 19:57:29 +010016 register "gfx.link_frequency_270_mhz" = "1"
Nicolas Reinecke572795b2014-12-29 19:57:29 +010017 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x06100610"
19
20 device cpu_cluster 0 on
21 chip cpu/intel/socket_rPGA988B
22 device lapic 0 on end
23 end
24 chip cpu/intel/model_206ax
25 # Magic APIC ID to locate this chip
26 device lapic 0xACAC off end
27
Nicolas Reinecke572795b2014-12-29 19:57:29 +010028 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
29 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
30 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
31
32 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
33 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
34 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
35 end
36 end
37
Patrick Rudolph266a1f72016-06-09 18:13:34 +020038 register "pci_mmio_size" = "2048"
39
Nicolas Reinecke572795b2014-12-29 19:57:29 +010040 device domain 0 on
41 device pci 00.0 on
42 subsystemid 0x17aa 0x21d2
43 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020044 device pci 01.0 on end # NVIDIA Corporation GF119M [NVS 4200M]
Nicolas Reinecke572795b2014-12-29 19:57:29 +010045 device pci 02.0 on
46 subsystemid 0x17aa 0x21d3
47 end # Integrated Graphics Controller
48
49 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
50 # 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"
Nicolas Reinecke572795b2014-12-29 19:57:29 +010057
58 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 4 (dock)
59 register "sata_port_map" = "0x17"
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 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
68
69 # Enable zero-based linear PCIe root port functions
70 register "pcie_port_coalesce" = "1"
71
72 register "c2_latency" = "101" # c2 not supported
73 register "p_cnt_throttling_supported" = "1"
74
75 device pci 16.0 off end # Management Engine Interface 1
76 device pci 16.1 off end # Management Engine Interface 2
77 device pci 16.2 off end # Management Engine IDE-R
78 device pci 16.3 off end # Management Engine KT
79 device pci 19.0 on
80 subsystemid 0x17aa 0x21ce
81 end # Intel Gigabit Ethernet
82 device pci 1a.0 on
83 subsystemid 0x17aa 0x21d2
84 end # USB Enhanced Host Controller #2
85 device pci 1b.0 on
86 subsystemid 0x17aa 0x21d2
87 end # High Definition Audio Controller
88 device pci 1c.0 off end # PCIe Port #1
89 device pci 1c.1 on
90 subsystemid 0x17aa 0x21d2
91 end # PCIe Port #2 Integrated Wireless LAN
92 device pci 1c.2 off end # PCIe Port #3
93 device pci 1c.3 on
94 subsystemid 0x17aa 0x21d2
95 end # PCIe Port #4 ExpressCard
96 device pci 1c.4 off end # PCIe Port #5
97 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
98 device pci 1c.6 on
99 subsystemid 0x17aa 0x21d2
100 end # PCIe Port #7 NEC Corporation uPD720200A USB 3.0 Host Controller
101 device pci 1c.7 off end # PCIe Port #8
102 device pci 1d.0 on
103 subsystemid 0x17aa 0x21d2
104 end # USB Enhanced Host Controller #1
105 device pci 1e.0 off end # PCI bridge
106 device pci 1f.0 on
107 subsystemid 0x17aa 0x21d2
108 chip ec/lenovo/pmh7
109 device pnp ff.1 on # dummy
110 end
111 register "backlight_enable" = "0x01"
112 register "dock_event_enable" = "0x01"
113 end
114
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +0200115 chip drivers/pc80/tpm
116 device pnp 0c31.0 on end
117 end
118
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100119 chip ec/lenovo/h8
120 device pnp ff.2 on # dummy
121 io 0x60 = 0x62
122 io 0x62 = 0x66
123 io 0x64 = 0x1600
124 io 0x66 = 0x1604
125 end
126
127 register "config0" = "0xa7"
128 register "config1" = "0x01"
129 register "config2" = "0xa0"
130 register "config3" = "0xe2"
131
132 register "has_keyboard_backlight" = "0"
133
134 register "beepmask0" = "0x02"
135 register "beepmask1" = "0x86"
136 register "has_power_management_beeps" = "1"
137 register "event2_enable" = "0xff"
138 register "event3_enable" = "0xff"
139 register "event4_enable" = "0xf0"
140 register "event5_enable" = "0x3c"
141 register "event6_enable" = "0x00"
142 register "event7_enable" = "0xa1"
143 register "event8_enable" = "0x7b"
144 register "event9_enable" = "0xff"
145 register "eventa_enable" = "0x00"
146 register "eventb_enable" = "0x00"
147 register "eventc_enable" = "0xff"
148 register "eventd_enable" = "0xff"
149 register "evente_enable" = "0x0d"
150 end
151 end # LPC Controller
152 device pci 1f.2 on
153 subsystemid 0x17aa 0x21d2
154 end # 6 port SATA AHCI Controller
155 device pci 1f.3 on
156 subsystemid 0x17aa 0x21d2
157 # eeprom, 8 virtual devices, same chip
158 chip drivers/i2c/at24rf08c
159 device i2c 54 on end
160 device i2c 55 on end
161 device i2c 56 on end
162 device i2c 57 on end
163 device i2c 5c on end
164 device i2c 5d on end
165 device i2c 5e on end
166 device i2c 5f on end
167 end
168 end # SMBus Controller
169 device pci 1f.5 off end # SATA Controller 2
170 device pci 1f.6 on
171 subsystemid 0x17aa 0x21d2
172 end # Thermal
173 end
174 end
175end