blob: ca02455ff279afce721d42621e0c4787912cfcae [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
38 device domain 0 on
39 device pci 00.0 on
40 subsystemid 0x17aa 0x21d2
41 end # host bridge
42 device pci 01.0 off end # NVIDIA Corporation GF119M [NVS 4200M]
43 device pci 02.0 on
44 subsystemid 0x17aa 0x21d3
45 end # Integrated Graphics Controller
46
47 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
48 # GPI routing
49 # 0 No effect (default)
50 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
51 # 2 SCI (if corresponding GPIO_EN bit is also set)
52 register "alt_gp_smi_en" = "0x0000"
53 register "gpi1_routing" = "2"
Nicolas Reineckeb0922f02015-02-01 02:53:35 +010054 register "gpi13_routing" = "2"
Nicolas Reinecke572795b2014-12-29 19:57:29 +010055
56 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 4 (dock)
57 register "sata_port_map" = "0x17"
58 # Set max SATA speed to 6.0 Gb/s
59 register "sata_interface_speed_support" = "0x3"
60
61 register "gen1_dec" = "0x7c1601"
62 register "gen2_dec" = "0x0c15e1"
63 register "gen4_dec" = "0x0c06a1"
64
65 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
66
67 # Enable zero-based linear PCIe root port functions
68 register "pcie_port_coalesce" = "1"
69
70 register "c2_latency" = "101" # c2 not supported
71 register "p_cnt_throttling_supported" = "1"
72
73 device pci 16.0 off end # Management Engine Interface 1
74 device pci 16.1 off end # Management Engine Interface 2
75 device pci 16.2 off end # Management Engine IDE-R
76 device pci 16.3 off end # Management Engine KT
77 device pci 19.0 on
78 subsystemid 0x17aa 0x21ce
79 end # Intel Gigabit Ethernet
80 device pci 1a.0 on
81 subsystemid 0x17aa 0x21d2
82 end # USB Enhanced Host Controller #2
83 device pci 1b.0 on
84 subsystemid 0x17aa 0x21d2
85 end # High Definition Audio Controller
86 device pci 1c.0 off end # PCIe Port #1
87 device pci 1c.1 on
88 subsystemid 0x17aa 0x21d2
89 end # PCIe Port #2 Integrated Wireless LAN
90 device pci 1c.2 off end # PCIe Port #3
91 device pci 1c.3 on
92 subsystemid 0x17aa 0x21d2
93 end # PCIe Port #4 ExpressCard
94 device pci 1c.4 off end # PCIe Port #5
95 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
96 device pci 1c.6 on
97 subsystemid 0x17aa 0x21d2
98 end # PCIe Port #7 NEC Corporation uPD720200A USB 3.0 Host Controller
99 device pci 1c.7 off end # PCIe Port #8
100 device pci 1d.0 on
101 subsystemid 0x17aa 0x21d2
102 end # USB Enhanced Host Controller #1
103 device pci 1e.0 off end # PCI bridge
104 device pci 1f.0 on
105 subsystemid 0x17aa 0x21d2
106 chip ec/lenovo/pmh7
107 device pnp ff.1 on # dummy
108 end
109 register "backlight_enable" = "0x01"
110 register "dock_event_enable" = "0x01"
111 end
112
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +0200113 chip drivers/pc80/tpm
114 device pnp 0c31.0 on end
115 end
116
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100117 chip ec/lenovo/h8
118 device pnp ff.2 on # dummy
119 io 0x60 = 0x62
120 io 0x62 = 0x66
121 io 0x64 = 0x1600
122 io 0x66 = 0x1604
123 end
124
125 register "config0" = "0xa7"
126 register "config1" = "0x01"
127 register "config2" = "0xa0"
128 register "config3" = "0xe2"
129
130 register "has_keyboard_backlight" = "0"
131
132 register "beepmask0" = "0x02"
133 register "beepmask1" = "0x86"
134 register "has_power_management_beeps" = "1"
135 register "event2_enable" = "0xff"
136 register "event3_enable" = "0xff"
137 register "event4_enable" = "0xf0"
138 register "event5_enable" = "0x3c"
139 register "event6_enable" = "0x00"
140 register "event7_enable" = "0xa1"
141 register "event8_enable" = "0x7b"
142 register "event9_enable" = "0xff"
143 register "eventa_enable" = "0x00"
144 register "eventb_enable" = "0x00"
145 register "eventc_enable" = "0xff"
146 register "eventd_enable" = "0xff"
147 register "evente_enable" = "0x0d"
148 end
149 end # LPC Controller
150 device pci 1f.2 on
151 subsystemid 0x17aa 0x21d2
152 end # 6 port SATA AHCI Controller
153 device pci 1f.3 on
154 subsystemid 0x17aa 0x21d2
155 # eeprom, 8 virtual devices, same chip
156 chip drivers/i2c/at24rf08c
157 device i2c 54 on end
158 device i2c 55 on end
159 device i2c 56 on end
160 device i2c 57 on end
161 device i2c 5c on end
162 device i2c 5d on end
163 device i2c 5e on end
164 device i2c 5f on end
165 end
166 end # SMBus Controller
167 device pci 1f.5 off end # SATA Controller 2
168 device pci 1f.6 on
169 subsystemid 0x17aa 0x21d2
170 end # Thermal
171 end
172 end
173end