blob: 3b4e6ab9b5be186ce5f427b1f609a3e4f209a82b [file] [log] [blame]
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +02001chip northbridge/intel/sandybridge
2 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
5
6 # Enable DisplayPort Hotplug with 6ms pulse
7 register "gpu_dp_d_hotplug" = "0x06"
8
9 # Enable Panel as LVDS and configure power delays
10 register "gpu_panel_port_select" = "0" # LVDS
11 register "gpu_panel_power_cycle_delay" = "1"
12 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
13 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
14 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
15 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
16 register "gfx.use_spread_spectrum_clock" = "1"
17 register "gfx.link_frequency_270_mhz" = "1"
18 register "gpu_cpu_backlight" = "0x1155"
19 register "gpu_pch_backlight" = "0x06100610"
20
Patrick Rudolph7bddd302016-06-11 18:39:35 +020021 # Override fuse bits that hard-code the value to 666 Mhz
22 register "max_mem_clock_mhz" = "933"
23
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020024 device cpu_cluster 0 on
25 chip cpu/intel/socket_rPGA988B
26 device lapic 0 on end
27 end
28 chip cpu/intel/model_206ax
29 # Magic APIC ID to locate this chip
30 device lapic 0xACAC off end
31
32 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
33 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
34 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
35
36 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
37 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
38 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
39 end
40 end
41
Patrick Rudolph266a1f72016-06-09 18:13:34 +020042 register "pci_mmio_size" = "2048"
43
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020044 device domain 0 on
45 device pci 00.0 on
46 subsystemid 0x17aa 0x21ce
47 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020048 device pci 01.0 on end # PCIe Bridge for discrete graphics
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020049 device pci 02.0 on
50 subsystemid 0x17aa 0x21ce
51 end # Integrated Graphics Controller
52
53 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
54 # GPI routing
55 # 0 No effect (default)
56 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
57 # 2 SCI (if corresponding GPIO_EN bit is also set)
58 register "alt_gp_smi_en" = "0x0000"
59 register "gpi1_routing" = "2"
60 register "gpi13_routing" = "2"
61
Iru Cai0bca3c92016-05-06 23:05:28 +080062 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 3 (eSATA) & 4 (dock)
63 register "sata_port_map" = "0x1f"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020064 # Set max SATA speed to 6.0 Gb/s
65 register "sata_interface_speed_support" = "0x3"
66
67 register "gen1_dec" = "0x7c1601"
68 register "gen2_dec" = "0x0c15e1"
69 register "gen4_dec" = "0x0c06a1"
70
71 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
72
73 # Enable zero-based linear PCIe root port functions
74 register "pcie_port_coalesce" = "1"
75 register "c2_latency" = "101" # c2 not supported
76 register "p_cnt_throttling_supported" = "1"
77
Patrick Rudolphc670a412017-04-28 17:28:32 +020078 # device specific SPI configuration
79 register "spi_uvscc" = "0x2005"
80 register "spi_lvscc" = "0x2005"
81
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020082 device pci 16.0 off end # Management Engine Interface 1
83 device pci 16.1 off end # Management Engine Interface 2
84 device pci 16.2 off end # Management Engine IDE-R
85 device pci 16.3 off end # Management Engine KT
86 device pci 19.0 on
87 subsystemid 0x17aa 0x21ce
88 end # Intel Gigabit Ethernet
89 device pci 1a.0 on
90 subsystemid 0x17aa 0x21ce
91 end # USB Enhanced Host Controller #2
92 device pci 1b.0 on
93 subsystemid 0x17aa 0x21ce
94 end # High Definition Audio Controller
95 device pci 1c.0 off end # PCIe Port #1
96 device pci 1c.1 on
97 subsystemid 0x17aa 0x21ce
98 end # PCIe Port #2 Integrated Wireless LAN
99 device pci 1c.2 off end # PCIe Port #3
100 device pci 1c.3 on
101 subsystemid 0x17aa 0x21ce
102 end # PCIe Port #4 ExpressCard
103 device pci 1c.4 on
104 subsystemid 0x17aa 0x21ce
105 chip drivers/ricoh/rce822
106 register "sdwppol" = "1"
107 register "disable_mask" = "0x87"
108 device pci 00.0 on
109 subsystemid 0x17aa 0x21ce
110 end
111 end
112 end # PCIe Port #5 (Ricoh SD & FW)
113 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
114 device pci 1c.6 off end # PCIe Port #7
115 device pci 1c.7 off end # PCIe Port #8
116 device pci 1d.0 on
117 subsystemid 0x17aa 0x21ce
118 end # USB Enhanced Host Controller #1
119 device pci 1e.0 off end # PCI bridge
120 device pci 1f.0 on
121 subsystemid 0x17aa 0x21ce
122 chip ec/lenovo/pmh7
123 device pnp ff.1 on # dummy
124 end
125 register "backlight_enable" = "0x01"
126 register "dock_event_enable" = "0x01"
127 end
128
129 chip drivers/pc80/tpm
130 device pnp 0c31.0 on end
131 end
132
133 chip ec/lenovo/h8
134 device pnp ff.2 on # dummy
135 io 0x60 = 0x62
136 io 0x62 = 0x66
137 io 0x64 = 0x1600
138 io 0x66 = 0x1604
139 end
140
141 register "config0" = "0xa7"
142 register "config1" = "0x01"
143 register "config2" = "0xa0"
144 register "config3" = "0xe2"
145
146 register "has_keyboard_backlight" = "0"
147
148 register "beepmask0" = "0x02"
149 register "beepmask1" = "0x86"
150 register "has_power_management_beeps" = "1"
151 register "event2_enable" = "0xff"
152 register "event3_enable" = "0xff"
153 register "event4_enable" = "0xf0"
154 register "event5_enable" = "0x3c"
155 register "event6_enable" = "0x00"
156 register "event7_enable" = "0xa1"
157 register "event8_enable" = "0x7b"
158 register "event9_enable" = "0xff"
159 register "eventa_enable" = "0x00"
160 register "eventb_enable" = "0x00"
161 register "eventc_enable" = "0xff"
162 register "eventd_enable" = "0xff"
163 register "evente_enable" = "0x0d"
164 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200165 chip drivers/lenovo/hybrid_graphics
166 device pnp ff.f on end # dummy
167
168 register "detect_gpio" = "21"
169
170 register "has_panel_hybrid_gpio" = "1"
171 register "panel_hybrid_gpio" = "52"
172 register "panel_integrated_lvl" = "1"
173
174 register "has_backlight_gpio" = "0"
175 register "has_dgpu_power_gpio" = "0"
176
177 register "has_thinker1" = "1"
178 end
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +0200179 end # LPC Controller
180 device pci 1f.2 on
181 subsystemid 0x17aa 0x21ce
182 end # 6 port SATA AHCI Controller
183 device pci 1f.3 on
184 subsystemid 0x17aa 0x21ce
185 # eeprom, 8 virtual devices, same chip
186 chip drivers/i2c/at24rf08c
187 device i2c 54 on end
188 device i2c 55 on end
189 device i2c 56 on end
190 device i2c 57 on end
191 device i2c 5c on end
192 device i2c 5d on end
193 device i2c 5e on end
194 device i2c 5f on end
195 end
196 end # SMBus Controller
197 device pci 1f.5 off end # SATA Controller 2
198 device pci 1f.6 on
199 subsystemid 0x17aa 0x21ce
200 end # Thermal
201 end
202 end
203end