blob: d1a9bfb3c34b8b39705c1267b32b111ab30d29ab [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
Patrick Rudolphc670a412017-04-28 17:28:32 +020075 register "spi_uvscc" = "0x2005"
76 register "spi_lvscc" = "0x2005"
77
Nicolas Reinecke572795b2014-12-29 19:57:29 +010078 device pci 16.0 off end # Management Engine Interface 1
79 device pci 16.1 off end # Management Engine Interface 2
80 device pci 16.2 off end # Management Engine IDE-R
81 device pci 16.3 off end # Management Engine KT
82 device pci 19.0 on
83 subsystemid 0x17aa 0x21ce
84 end # Intel Gigabit Ethernet
85 device pci 1a.0 on
86 subsystemid 0x17aa 0x21d2
87 end # USB Enhanced Host Controller #2
88 device pci 1b.0 on
89 subsystemid 0x17aa 0x21d2
90 end # High Definition Audio Controller
91 device pci 1c.0 off end # PCIe Port #1
92 device pci 1c.1 on
93 subsystemid 0x17aa 0x21d2
94 end # PCIe Port #2 Integrated Wireless LAN
95 device pci 1c.2 off end # PCIe Port #3
96 device pci 1c.3 on
97 subsystemid 0x17aa 0x21d2
98 end # PCIe Port #4 ExpressCard
99 device pci 1c.4 off end # PCIe Port #5
100 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
101 device pci 1c.6 on
102 subsystemid 0x17aa 0x21d2
103 end # PCIe Port #7 NEC Corporation uPD720200A USB 3.0 Host Controller
104 device pci 1c.7 off end # PCIe Port #8
105 device pci 1d.0 on
106 subsystemid 0x17aa 0x21d2
107 end # USB Enhanced Host Controller #1
108 device pci 1e.0 off end # PCI bridge
109 device pci 1f.0 on
110 subsystemid 0x17aa 0x21d2
111 chip ec/lenovo/pmh7
112 device pnp ff.1 on # dummy
113 end
114 register "backlight_enable" = "0x01"
115 register "dock_event_enable" = "0x01"
116 end
117
Philipp Deppenwiese3d02b9c2015-06-03 23:09:36 +0200118 chip drivers/pc80/tpm
119 device pnp 0c31.0 on end
120 end
121
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100122 chip ec/lenovo/h8
123 device pnp ff.2 on # dummy
124 io 0x60 = 0x62
125 io 0x62 = 0x66
126 io 0x64 = 0x1600
127 io 0x66 = 0x1604
128 end
129
130 register "config0" = "0xa7"
131 register "config1" = "0x01"
132 register "config2" = "0xa0"
133 register "config3" = "0xe2"
134
135 register "has_keyboard_backlight" = "0"
136
137 register "beepmask0" = "0x02"
138 register "beepmask1" = "0x86"
139 register "has_power_management_beeps" = "1"
140 register "event2_enable" = "0xff"
141 register "event3_enable" = "0xff"
142 register "event4_enable" = "0xf0"
143 register "event5_enable" = "0x3c"
144 register "event6_enable" = "0x00"
145 register "event7_enable" = "0xa1"
146 register "event8_enable" = "0x7b"
147 register "event9_enable" = "0xff"
148 register "eventa_enable" = "0x00"
149 register "eventb_enable" = "0x00"
150 register "eventc_enable" = "0xff"
151 register "eventd_enable" = "0xff"
152 register "evente_enable" = "0x0d"
153 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200154 chip drivers/lenovo/hybrid_graphics
155 device pnp ff.f on end # dummy
156
157 register "detect_gpio" = "21"
158
159 register "has_panel_hybrid_gpio" = "1"
160 register "panel_hybrid_gpio" = "52"
161 register "panel_integrated_lvl" = "1"
162
163 register "has_backlight_gpio" = "0"
164 register "has_dgpu_power_gpio" = "0"
165
166 register "has_thinker1" = "1"
167 end
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100168 end # LPC Controller
169 device pci 1f.2 on
170 subsystemid 0x17aa 0x21d2
171 end # 6 port SATA AHCI Controller
172 device pci 1f.3 on
173 subsystemid 0x17aa 0x21d2
174 # eeprom, 8 virtual devices, same chip
175 chip drivers/i2c/at24rf08c
176 device i2c 54 on end
177 device i2c 55 on end
178 device i2c 56 on end
179 device i2c 57 on end
180 device i2c 5c on end
181 device i2c 5d on end
182 device i2c 5e on end
183 device i2c 5f on end
184 end
185 end # SMBus Controller
186 device pci 1f.5 off end # SATA Controller 2
187 device pci 1f.6 on
188 subsystemid 0x17aa 0x21d2
189 end # Thermal
190 end
191 end
192end