blob: aa2f4fea584c4be3cb5f026bb692d2364aae4e23 [file] [log] [blame]
Philipp Deppenwiese714baa12017-01-02 17:58:09 +01001chip northbridge/intel/sandybridge
2 register "gfx.ndid" = "3"
3 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410 }"
4
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" = "6" # T7: 500ms
11 register "gpu_panel_power_up_delay" = "100" # T1+T2: 10ms
12 register "gpu_panel_power_down_delay" = "100" # T5+T6: 10ms
13 register "gpu_panel_power_backlight_on_delay" = "2100" # T3: 210ms
14 register "gpu_panel_power_backlight_off_delay" = "2100" # T4: 210ms
15 register "gfx.use_spread_spectrum_clock" = "1"
16 register "gfx.link_frequency_270_mhz" = "1"
17 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x11551155"
19
20 device cpu_cluster 0x0 on
21 chip cpu/intel/socket_rPGA989
22 device lapic 0x0 on
23 end
24 end
25 chip cpu/intel/model_206ax # FIXME: check all registers
26 register "c1_acpower" = "1"
27 register "c1_battery" = "1"
28 register "c2_acpower" = "3"
29 register "c2_battery" = "3"
30 register "c3_acpower" = "5"
31 register "c3_battery" = "5"
32 device lapic 0xacac off
33 end
34 end
35 end
36
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010037 device domain 0x0 on
38 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
39 register "c2_latency" = "0x0065"
40 register "docking_supported" = "1"
41 register "gen1_dec" = "0x000c15e1"
42 register "gen2_dec" = "0x007c1601"
43 register "gen3_dec" = "0x000c06a1"
44 register "gpi13_routing" = "2"
45 register "gpi1_routing" = "2"
46 register "p_cnt_throttling_supported" = "1"
Patrick Rudolpha7033932017-05-26 15:26:10 +020047 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010048 register "pcie_port_coalesce" = "1"
49 register "sata_interface_speed_support" = "0x3"
50 register "sata_port_map" = "0x17"
51 register "superspeed_capable_ports" = "0x0000000f"
52 register "xhci_overcurrent_mapping" = "0x04000201"
53 register "xhci_switchable_ports" = "0x0000000f"
54
55 # device specific SPI configuration
56 register "spi_uvscc" = "0x2005"
57 register "spi_lvscc" = "0x2005"
58
59 device pci 14.0 on # USB 3.0 Controller
60 subsystemid 0x17aa 0x21f3
61 end
62 device pci 16.0 on # Management Engine Interface 1
63 subsystemid 0x17aa 0x21f3
64 end
65 device pci 16.1 off # Management Engine Interface 2
66 end
67 device pci 16.2 off # Management Engine IDE-R
68 end
69 device pci 16.3 off # Management Engine KT
70 end
71 device pci 19.0 on # Intel Gigabit Ethernet
72 subsystemid 0x17aa 0x21f3
73 end
74 device pci 1a.0 on # USB2 EHCI #2
75 subsystemid 0x17aa 0x21f3
76 end
77 device pci 1b.0 on # High Definition Audio Audio controller
78 subsystemid 0x17aa 0x21f3
79 end
80 device pci 1c.0 on # PCIe Port #1
81 subsystemid 0x17aa 0x21f3
82 chip drivers/ricoh/rce822 # Ricoh cardreader
83 register "disable_mask" = "0x87"
84 register "sdwppol" = "1"
85 device pci 00.0 on # Ricoh SD card reader
86 subsystemid 0x17aa 0x21f3
87 end
88 end
89 end
90 device pci 1c.1 on # PCIe Port #2
91 subsystemid 0x17aa 0x21f3
92 end
93 device pci 1c.2 on # PCIe Port #3
94 subsystemid 0x17aa 0x21f3
95 end
96 device pci 1c.3 off # PCIe Port #4
97 end
98 device pci 1c.4 off # PCIe Port #5
99 end
100 device pci 1c.5 off # PCIe Port #6
101 end
102 device pci 1c.6 off # PCIe Port #7
103 end
104 device pci 1c.7 off # PCIe Port #8
105 end
106 device pci 1d.0 on # USB2 EHCI #1
107 subsystemid 0x17aa 0x21f3
108 end
109 device pci 1e.0 off # PCI bridge
110 end
111 device pci 1f.0 on # LPC bridge PCI-LPC bridge
112 subsystemid 0x17aa 0x21f3
113 chip ec/lenovo/pmh7
114 register "backlight_enable" = "0x01"
115 register "dock_event_enable" = "0x01"
116 device pnp ff.1 on # dummy
117 end
118 end
119 chip ec/lenovo/h8
120 device pnp ff.2 on # dummy
121 io 0x60 = 0x62
122 io 0x62 = 0x66
123 io 0x64 = 0x1600
124 io 0x66 = 0x1604
125 end
126 register "config0" = "0xa7"
127 register "config1" = "0x01"
128 register "config2" = "0xa0"
129 register "config3" = "0xe2"
130
131 register "has_keyboard_backlight" = "0"
132
133 register "beepmask0" = "0x02"
134 register "beepmask1" = "0x86"
135 register "has_power_management_beeps" = "1"
136 register "event2_enable" = "0xff"
137 register "event3_enable" = "0xff"
138 register "event4_enable" = "0xf0"
139 register "event5_enable" = "0x3c"
140 register "event6_enable" = "0x00"
141 register "event7_enable" = "0xa1"
142 register "event8_enable" = "0x7b"
143 register "event9_enable" = "0xff"
144 register "eventa_enable" = "0x00"
145 register "eventb_enable" = "0x00"
146 register "eventc_enable" = "0xff"
147 register "eventd_enable" = "0xff"
148 register "evente_enable" = "0x0d"
Patrick Rudolphb77eec82017-05-21 09:20:39 +0200149
150 register "has_bdc_detection" = "1"
151 register "bdc_gpio_num" = "54"
152 register "bdc_gpio_lvl" = "0"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100153 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" = "0"
167 end
Philipp Deppenwiese714baa12017-01-02 17:58:09 +0100168 end
169 device pci 1f.2 on # SATA Controller 1
170 subsystemid 0x17aa 0x21f3
171 end
172 device pci 1f.3 on # SMBus
173 subsystemid 0x17aa 0x21f3
174 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
175 device i2c 54 on
176 end
177 device i2c 55 on
178 end
179 device i2c 56 on
180 end
181 device i2c 57 on
182 end
183 device i2c 5c on
184 end
185 device i2c 5d on
186 end
187 device i2c 5e on
188 end
189 device i2c 5f on
190 end
191 end
192 end
193 device pci 1f.5 off # SATA Controller 2
194 end
195 device pci 1f.6 off # Thermal
196 end
197 end
198 device pci 00.0 on # Host bridge Host bridge
199 subsystemid 0x17aa 0x21f3
200 end
201 device pci 01.0 on # PCIe Bridge for discrete graphics
202 end
203 device pci 02.0 on # Internal graphics VGA controller
204 subsystemid 0x17aa 0x21f3
205 end
206 device pci 04.0 off # Signal processing controller
207 end
208 end
209end