blob: a090308c8cf42a103e6279c8bb93c725a9f6efa9 [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"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200153
154 register "has_bdc_detection" = "1"
155 register "bdc_gpio_num" = "54"
156 register "bdc_gpio_lvl" = "0"
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100157 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200158 chip drivers/lenovo/hybrid_graphics
159 device pnp ff.f on end # dummy
160
161 register "detect_gpio" = "21"
162
163 register "has_panel_hybrid_gpio" = "1"
164 register "panel_hybrid_gpio" = "52"
165 register "panel_integrated_lvl" = "1"
166
167 register "has_backlight_gpio" = "0"
168 register "has_dgpu_power_gpio" = "0"
169
170 register "has_thinker1" = "1"
171 end
Nicolas Reinecke572795b2014-12-29 19:57:29 +0100172 end # LPC Controller
173 device pci 1f.2 on
174 subsystemid 0x17aa 0x21d2
175 end # 6 port SATA AHCI Controller
176 device pci 1f.3 on
177 subsystemid 0x17aa 0x21d2
178 # eeprom, 8 virtual devices, same chip
179 chip drivers/i2c/at24rf08c
180 device i2c 54 on end
181 device i2c 55 on end
182 device i2c 56 on end
183 device i2c 57 on end
184 device i2c 5c on end
185 device i2c 5d on end
186 device i2c 5e on end
187 device i2c 5f on end
188 end
189 end # SMBus Controller
190 device pci 1f.5 off end # SATA Controller 2
191 device pci 1f.6 on
192 subsystemid 0x17aa 0x21d2
193 end # Thermal
194 end
195 end
196end