blob: bed406a3dbb6c3bee553a5973d957eeaa7c42549 [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
21 device cpu_cluster 0 on
22 chip cpu/intel/socket_rPGA988B
23 device lapic 0 on end
24 end
25 chip cpu/intel/model_206ax
26 # Magic APIC ID to locate this chip
27 device lapic 0xACAC off end
28
29 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
30 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
31 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
32
33 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
34 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
35 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
36 end
37 end
38
Patrick Rudolph266a1f72016-06-09 18:13:34 +020039 register "pci_mmio_size" = "2048"
40
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020041 device domain 0 on
42 device pci 00.0 on
43 subsystemid 0x17aa 0x21ce
44 end # host bridge
Patrick Rudolph830fdc72016-04-21 07:15:14 +020045 device pci 01.0 on end # PCIe Bridge for discrete graphics
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020046 device pci 02.0 on
47 subsystemid 0x17aa 0x21ce
48 end # Integrated Graphics Controller
49
50 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
51 # GPI routing
52 # 0 No effect (default)
53 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
54 # 2 SCI (if corresponding GPIO_EN bit is also set)
55 register "alt_gp_smi_en" = "0x0000"
56 register "gpi1_routing" = "2"
57 register "gpi13_routing" = "2"
58
Iru Cai0bca3c92016-05-06 23:05:28 +080059 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 3 (eSATA) & 4 (dock)
60 register "sata_port_map" = "0x1f"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020061 # Set max SATA speed to 6.0 Gb/s
62 register "sata_interface_speed_support" = "0x3"
63
64 register "gen1_dec" = "0x7c1601"
65 register "gen2_dec" = "0x0c15e1"
66 register "gen4_dec" = "0x0c06a1"
67
68 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
69
70 # Enable zero-based linear PCIe root port functions
71 register "pcie_port_coalesce" = "1"
72 register "c2_latency" = "101" # c2 not supported
73 register "p_cnt_throttling_supported" = "1"
74
Patrick Rudolphc670a412017-04-28 17:28:32 +020075 # device specific SPI configuration
76 register "spi_uvscc" = "0x2005"
77 register "spi_lvscc" = "0x2005"
78
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +020079 device pci 16.0 off end # Management Engine Interface 1
80 device pci 16.1 off end # Management Engine Interface 2
81 device pci 16.2 off end # Management Engine IDE-R
82 device pci 16.3 off end # Management Engine KT
83 device pci 19.0 on
84 subsystemid 0x17aa 0x21ce
85 end # Intel Gigabit Ethernet
86 device pci 1a.0 on
87 subsystemid 0x17aa 0x21ce
88 end # USB Enhanced Host Controller #2
89 device pci 1b.0 on
90 subsystemid 0x17aa 0x21ce
91 end # High Definition Audio Controller
92 device pci 1c.0 off end # PCIe Port #1
93 device pci 1c.1 on
94 subsystemid 0x17aa 0x21ce
95 end # PCIe Port #2 Integrated Wireless LAN
96 device pci 1c.2 off end # PCIe Port #3
97 device pci 1c.3 on
98 subsystemid 0x17aa 0x21ce
99 end # PCIe Port #4 ExpressCard
100 device pci 1c.4 on
101 subsystemid 0x17aa 0x21ce
102 chip drivers/ricoh/rce822
103 register "sdwppol" = "1"
104 register "disable_mask" = "0x87"
105 device pci 00.0 on
106 subsystemid 0x17aa 0x21ce
107 end
108 end
109 end # PCIe Port #5 (Ricoh SD & FW)
110 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
111 device pci 1c.6 off end # PCIe Port #7
112 device pci 1c.7 off end # PCIe Port #8
113 device pci 1d.0 on
114 subsystemid 0x17aa 0x21ce
115 end # USB Enhanced Host Controller #1
116 device pci 1e.0 off end # PCI bridge
117 device pci 1f.0 on
118 subsystemid 0x17aa 0x21ce
119 chip ec/lenovo/pmh7
120 device pnp ff.1 on # dummy
121 end
122 register "backlight_enable" = "0x01"
123 register "dock_event_enable" = "0x01"
124 end
125
126 chip drivers/pc80/tpm
127 device pnp 0c31.0 on end
128 end
129
130 chip ec/lenovo/h8
131 device pnp ff.2 on # dummy
132 io 0x60 = 0x62
133 io 0x62 = 0x66
134 io 0x64 = 0x1600
135 io 0x66 = 0x1604
136 end
137
138 register "config0" = "0xa7"
139 register "config1" = "0x01"
140 register "config2" = "0xa0"
141 register "config3" = "0xe2"
142
143 register "has_keyboard_backlight" = "0"
144
145 register "beepmask0" = "0x02"
146 register "beepmask1" = "0x86"
147 register "has_power_management_beeps" = "1"
148 register "event2_enable" = "0xff"
149 register "event3_enable" = "0xff"
150 register "event4_enable" = "0xf0"
151 register "event5_enable" = "0x3c"
152 register "event6_enable" = "0x00"
153 register "event7_enable" = "0xa1"
154 register "event8_enable" = "0x7b"
155 register "event9_enable" = "0xff"
156 register "eventa_enable" = "0x00"
157 register "eventb_enable" = "0x00"
158 register "eventc_enable" = "0xff"
159 register "eventd_enable" = "0xff"
160 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200161
162 register "has_bdc_detection" = "1"
163 register "bdc_gpio_num" = "54"
164 register "bdc_gpio_lvl" = "0"
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +0200165 end
Patrick Rudolphdb27e3382017-07-27 18:00:59 +0200166 chip drivers/lenovo/hybrid_graphics
167 device pnp ff.f on end # dummy
168
169 register "detect_gpio" = "21"
170
171 register "has_panel_hybrid_gpio" = "1"
172 register "panel_hybrid_gpio" = "52"
173 register "panel_integrated_lvl" = "1"
174
175 register "has_backlight_gpio" = "0"
176 register "has_dgpu_power_gpio" = "0"
177
178 register "has_thinker1" = "1"
179 end
Nicolas Reinecke2bffa8a2015-10-01 15:34:37 +0200180 end # LPC Controller
181 device pci 1f.2 on
182 subsystemid 0x17aa 0x21ce
183 end # 6 port SATA AHCI Controller
184 device pci 1f.3 on
185 subsystemid 0x17aa 0x21ce
186 # eeprom, 8 virtual devices, same chip
187 chip drivers/i2c/at24rf08c
188 device i2c 54 on end
189 device i2c 55 on end
190 device i2c 56 on end
191 device i2c 57 on end
192 device i2c 5c on end
193 device i2c 5d on end
194 device i2c 5e on end
195 device i2c 5f on end
196 end
197 end # SMBus Controller
198 device pci 1f.5 off end # SATA Controller 2
199 device pci 1f.6 on
200 subsystemid 0x17aa 0x21ce
201 end # Thermal
202 end
203 end
204end