blob: 0a121b70fe41514819dd74523c96739a36e92622 [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
37 # Override fuse bits that hard-code the value to 666 Mhz
38 register "max_mem_clock_mhz" = "933"
39
40 device domain 0x0 on
41 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
42 register "c2_latency" = "0x0065"
43 register "docking_supported" = "1"
44 register "gen1_dec" = "0x000c15e1"
45 register "gen2_dec" = "0x007c1601"
46 register "gen3_dec" = "0x000c06a1"
47 register "gpi13_routing" = "2"
48 register "gpi1_routing" = "2"
49 register "p_cnt_throttling_supported" = "1"
Patrick Rudolpha7033932017-05-26 15:26:10 +020050 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
Philipp Deppenwiese714baa12017-01-02 17:58:09 +010051 register "pcie_port_coalesce" = "1"
52 register "sata_interface_speed_support" = "0x3"
53 register "sata_port_map" = "0x17"
54 register "superspeed_capable_ports" = "0x0000000f"
55 register "xhci_overcurrent_mapping" = "0x04000201"
56 register "xhci_switchable_ports" = "0x0000000f"
57
58 # device specific SPI configuration
59 register "spi_uvscc" = "0x2005"
60 register "spi_lvscc" = "0x2005"
61
62 device pci 14.0 on # USB 3.0 Controller
63 subsystemid 0x17aa 0x21f3
64 end
65 device pci 16.0 on # Management Engine Interface 1
66 subsystemid 0x17aa 0x21f3
67 end
68 device pci 16.1 off # Management Engine Interface 2
69 end
70 device pci 16.2 off # Management Engine IDE-R
71 end
72 device pci 16.3 off # Management Engine KT
73 end
74 device pci 19.0 on # Intel Gigabit Ethernet
75 subsystemid 0x17aa 0x21f3
76 end
77 device pci 1a.0 on # USB2 EHCI #2
78 subsystemid 0x17aa 0x21f3
79 end
80 device pci 1b.0 on # High Definition Audio Audio controller
81 subsystemid 0x17aa 0x21f3
82 end
83 device pci 1c.0 on # PCIe Port #1
84 subsystemid 0x17aa 0x21f3
85 chip drivers/ricoh/rce822 # Ricoh cardreader
86 register "disable_mask" = "0x87"
87 register "sdwppol" = "1"
88 device pci 00.0 on # Ricoh SD card reader
89 subsystemid 0x17aa 0x21f3
90 end
91 end
92 end
93 device pci 1c.1 on # PCIe Port #2
94 subsystemid 0x17aa 0x21f3
95 end
96 device pci 1c.2 on # PCIe Port #3
97 subsystemid 0x17aa 0x21f3
98 end
99 device pci 1c.3 off # PCIe Port #4
100 end
101 device pci 1c.4 off # PCIe Port #5
102 end
103 device pci 1c.5 off # PCIe Port #6
104 end
105 device pci 1c.6 off # PCIe Port #7
106 end
107 device pci 1c.7 off # PCIe Port #8
108 end
109 device pci 1d.0 on # USB2 EHCI #1
110 subsystemid 0x17aa 0x21f3
111 end
112 device pci 1e.0 off # PCI bridge
113 end
114 device pci 1f.0 on # LPC bridge PCI-LPC bridge
115 subsystemid 0x17aa 0x21f3
116 chip ec/lenovo/pmh7
117 register "backlight_enable" = "0x01"
118 register "dock_event_enable" = "0x01"
119 device pnp ff.1 on # dummy
120 end
121 end
122 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 register "config0" = "0xa7"
130 register "config1" = "0x01"
131 register "config2" = "0xa0"
132 register "config3" = "0xe2"
133
134 register "has_keyboard_backlight" = "0"
135
136 register "beepmask0" = "0x02"
137 register "beepmask1" = "0x86"
138 register "has_power_management_beeps" = "1"
139 register "event2_enable" = "0xff"
140 register "event3_enable" = "0xff"
141 register "event4_enable" = "0xf0"
142 register "event5_enable" = "0x3c"
143 register "event6_enable" = "0x00"
144 register "event7_enable" = "0xa1"
145 register "event8_enable" = "0x7b"
146 register "event9_enable" = "0xff"
147 register "eventa_enable" = "0x00"
148 register "eventb_enable" = "0x00"
149 register "eventc_enable" = "0xff"
150 register "eventd_enable" = "0xff"
151 register "evente_enable" = "0x0d"
152 end
153 end
154 device pci 1f.2 on # SATA Controller 1
155 subsystemid 0x17aa 0x21f3
156 end
157 device pci 1f.3 on # SMBus
158 subsystemid 0x17aa 0x21f3
159 chip drivers/i2c/at24rf08c # eeprom, 8 virtual devices, same chip
160 device i2c 54 on
161 end
162 device i2c 55 on
163 end
164 device i2c 56 on
165 end
166 device i2c 57 on
167 end
168 device i2c 5c on
169 end
170 device i2c 5d on
171 end
172 device i2c 5e on
173 end
174 device i2c 5f on
175 end
176 end
177 end
178 device pci 1f.5 off # SATA Controller 2
179 end
180 device pci 1f.6 off # Thermal
181 end
182 end
183 device pci 00.0 on # Host bridge Host bridge
184 subsystemid 0x17aa 0x21f3
185 end
186 device pci 01.0 on # PCIe Bridge for discrete graphics
187 end
188 device pci 02.0 on # Internal graphics VGA controller
189 subsystemid 0x17aa 0x21f3
190 end
191 device pci 04.0 off # Signal processing controller
192 end
193 end
194end