blob: c1bea43e99736fccff0a134b7603f158a2257e4a [file] [log] [blame]
Vladimir Serbinenko94930e22014-08-24 22:40:33 +02001chip northbridge/intel/sandybridge
2
3 # Enable DisplayPort Hotplug with 6ms pulse
4 register "gpu_dp_d_hotplug" = "0x06"
5
6 # Enable Panel as LVDS and configure power delays
7 register "gpu_panel_port_select" = "0" # LVDS
8 register "gpu_panel_power_cycle_delay" = "5"
9 register "gpu_panel_power_up_delay" = "300" # T1+T2: 30ms
10 register "gpu_panel_power_down_delay" = "300" # T5+T6: 30ms
11 register "gpu_panel_power_backlight_on_delay" = "2000" # T3: 200ms
12 register "gpu_panel_power_backlight_off_delay" = "2000" # T4: 200ms
Vladimir Serbinenkoa71bdc32014-08-30 00:35:39 +020013 register "gfx.use_spread_spectrum_clock" = "1"
14 register "gfx.lvds_dual_channel" = "0"
15 register "gfx.link_frequency_270_mhz" = "1"
16 register "gfx.lvds_num_lanes" = "4"
Vladimir Serbinenko94930e22014-08-24 22:40:33 +020017 register "gpu_cpu_backlight" = "0x1155"
18 register "gpu_pch_backlight" = "0x06100610"
19
20 device cpu_cluster 0 on
21 chip cpu/intel/socket_rPGA989
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
28 # Coordinate with HW_ALL
29 register "pstate_coord_type" = "0xfe"
30
31 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
32 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
33 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
34
35 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
36 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
37 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
38 end
39 end
40
41 device domain 0 on
42 device pci 00.0 on
43 subsystemid 0x17aa 0x21db
44 end # host bridge
45 device pci 01.0 off end # PCIe Bridge for discrete graphics
46 device pci 02.0 on
47 subsystemid 0x17aa 0x21db
48 end # vga controller
49
50 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
51 register "pirqa_routing" = "0x8b"
52 register "pirqb_routing" = "0x8a"
53 register "pirqc_routing" = "0x8b"
54 register "pirqd_routing" = "0x8b"
55 register "pirqe_routing" = "0x80"
56 register "pirqf_routing" = "0x80"
57 register "pirqg_routing" = "0x80"
58 register "pirqh_routing" = "0x80"
59
60 # GPI routing
61 # 0 No effect (default)
62 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
63 # 2 SCI (if corresponding GPIO_EN bit is also set)
64 register "alt_gp_smi_en" = "0x0000"
65 register "gpi1_routing" = "2"
66 register "gpi8_routing" = "2"
67
68 # Enable SATA ports 0 (HDD bay) & 1 (dock) & 2 (msata)
69 register "sata_port_map" = "0x7"
70 # Set max SATA speed to 6.0 Gb/s
71 register "sata_interface_speed_support" = "0x3"
72
73 register "gen1_dec" = "0x7c1601"
74 register "gen2_dec" = "0x0c15e1"
75 register "gen4_dec" = "0x0c06a1"
76
Vladimir Serbinenko36fa5b82014-10-28 23:43:20 +010077 register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }"
78
Vladimir Serbinenko94930e22014-08-24 22:40:33 +020079 # Enable zero-based linear PCIe root port functions
80 register "pcie_port_coalesce" = "1"
81
Vladimir Serbinenko5b044ae2014-10-25 15:20:55 +020082 register "c2_latency" = "101" # c2 not supported
83 register "p_cnt_throttling_supported" = "1"
84
Vladimir Serbinenko94930e22014-08-24 22:40:33 +020085 device pci 16.0 on
86 subsystemid 0x17aa 0x21db
87 end # Management Engine Interface 1
88 device pci 16.1 off end # Management Engine Interface 2
89 device pci 16.2 off end # Management Engine IDE-R
90 device pci 16.3 off end # Management Engine KT
91 device pci 19.0 on
92 subsystemid 0x17aa 0x21ce
93 end # Intel Gigabit Ethernet
94 device pci 1a.0 on
95 subsystemid 0x17aa 0x21db
96 end # USB2 EHCI #2
97 device pci 1b.0 on
98 subsystemid 0x17aa 0x21db
99 end # High Definition Audio
100 device pci 1c.0 on
101 subsystemid 0x17aa 0x21db
102 end # PCIe Port #1
103 device pci 1c.1 on
104 subsystemid 0x17aa 0x21db
105 end # PCIe Port #2 (wlan)
106 device pci 1c.2 on
107 subsystemid 0x17aa 0x21db
108 end # PCIe Port #3
109 device pci 1c.3 on
110 subsystemid 0x17aa 0x21db
111 end # PCIe Port #4
112 device pci 1c.4 on
113 subsystemid 0x17aa 0x21db
Vladimir Serbinenko795f96e2014-10-27 02:45:22 +0100114 chip drivers/ricoh/rce822
115 register "sdwppol" = "1"
116 register "disable_mask" = "0x87"
117 device pci 00.0 on
118 subsystemid 0x17aa 0x21fa
119 end
Vladimir Serbinenko94930e22014-08-24 22:40:33 +0200120 end
121 end # PCIe Port #5 (SD)
122 device pci 1c.5 off end # PCIe Port #6
123 device pci 1c.6 off end # PCIe Port #7
124 device pci 1c.7 off end # PCIe Port #8
125 device pci 1d.0 on
126 subsystemid 0x17aa 0x21db
127 end # USB2 EHCI #1
128 device pci 1e.0 off end # PCI bridge
129 device pci 1f.0 on #LPC bridge
130 subsystemid 0x17aa 0x21db
131 chip ec/lenovo/pmh7
132 device pnp ff.1 on # dummy
133 end
134 register "backlight_enable" = "0x01"
135 register "dock_event_enable" = "0x01"
136 end
137
138 chip ec/lenovo/h8
139 device pnp ff.2 on # dummy
140 io 0x60 = 0x62
141 io 0x62 = 0x66
142 io 0x64 = 0x1600
143 io 0x66 = 0x1604
144 end
145
146 register "config0" = "0xa6"
147 register "config1" = "0x01"
148 register "config2" = "0xa0"
149 register "config3" = "0x60"
150
151 register "has_keyboard_backlight" = "0"
152
153 register "beepmask0" = "0x00"
154 register "beepmask1" = "0x86"
155 register "has_power_management_beeps" = "1"
156 register "event2_enable" = "0xff"
157 register "event3_enable" = "0xff"
158 register "event4_enable" = "0xd0"
159 register "event5_enable" = "0xfc"
160 register "event6_enable" = "0x00"
161 register "event7_enable" = "0x81"
162 register "event8_enable" = "0x7b"
163 register "event9_enable" = "0xff"
164 register "eventa_enable" = "0x01"
165 register "eventb_enable" = "0xf0"
166 register "eventc_enable" = "0xff"
167 register "eventd_enable" = "0xff"
168 register "evente_enable" = "0x0d"
169 end
170 end # LPC bridge
171 device pci 1f.2 on
172 subsystemid 0x17aa 0x21db
173 end # SATA Controller 1
174 device pci 1f.3 on
175 subsystemid 0x17aa 0x21db
176 # eeprom, 8 virtual devices, same chip
177 chip drivers/i2c/at24rf08c
178 device i2c 54 on end
179 device i2c 55 on end
180 device i2c 56 on end
181 device i2c 57 on end
182 device i2c 5c on end
183 device i2c 5d on end
184 device i2c 5e on end
185 device i2c 5f on end
186 end
187 end # SMBus
188 device pci 1f.5 off end # SATA Controller 2
189 device pci 1f.6 on
190 subsystemid 0x17aa 0x21db
191 end # Thermal
192 end
193 end
194end