blob: 23bce4e8822b4fc4f130a26714d905ae6bf15947 [file] [log] [blame]
Nicolas Reinecke29d358e2015-01-31 19:20:50 +01001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 register "gfx.ndid" = "3"
3 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Nicolas Reinecke29d358e2015-01-31 19:20:50 +01004
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.lvds_dual_channel" = "1"
17 register "gfx.link_frequency_270_mhz" = "1"
18 register "gfx.lvds_num_lanes" = "1"
19 register "gpu_cpu_backlight" = "0x1155"
20 register "gpu_pch_backlight" = "0x11551155"
21
22 device cpu_cluster 0 on
23 chip cpu/intel/socket_rPGA989
24 device lapic 0 on end
25 end
26 chip cpu/intel/model_206ax
27 # Magic APIC ID to locate this chip
28 device lapic 0xACAC off end
29
30 # Coordinate with HW_ALL
31 register "pstate_coord_type" = "0xfe"
32
33 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
34 register "c2_acpower" = "3" # ACPI(C2) = MWAIT(C3)
35 register "c3_acpower" = "5" # ACPI(C3) = MWAIT(C7)
36
37 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
38 register "c2_battery" = "3" # ACPI(C2) = MWAIT(C3)
39 register "c3_battery" = "5" # ACPI(C3) = MWAIT(C7)
40 end
41 end
42
43 device domain 0 on
44 device pci 00.0 on
45 subsystemid 0x17aa 0x21fb
46 end # host bridge
47 device pci 01.0 off end # PCIe Bridge for discrete graphics
48 device pci 02.0 on
49 subsystemid 0x17aa 0x21fb
50 end # Integrated Graphics Controller
51
52 chip southbridge/intel/bd82x6x # Intel Series 7 Panther Point PCH
53 # GPI routing
54 # 0 No effect (default)
55 # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set)
56 # 2 SCI (if corresponding GPIO_EN bit is also set)
57 register "alt_gp_smi_en" = "0x0000"
58 register "gpi1_routing" = "2"
59 register "gpi13_routing" = "2"
60
61 # Enable SATA ports 0 (HDD bay) & 1 (ODD bay) & 2 (mSATA) & 4 (dock)
62 register "sata_port_map" = "0x17"
63 # Set max SATA speed to 6.0 Gb/s
64 register "sata_interface_speed_support" = "0x3"
65
66 register "gen1_dec" = "0x7c1601"
67 register "gen2_dec" = "0x0c15e1"
68 register "gen4_dec" = "0x0c06a1"
69
70 register "pcie_hotplug_map" = "{ 0, 0, 1, 0, 0, 0, 0, 0 }"
71
Nicolas Reineckebcff3bd2015-03-31 01:40:46 +020072 register "xhci_switchable_ports" = "0xf"
73 register "superspeed_capable_ports" = "0xf"
74 register "xhci_overcurrent_mapping" = "0x4000201"
75
Nicolas Reinecke29d358e2015-01-31 19:20:50 +010076 # Enable zero-based linear PCIe root port functions
77 register "pcie_port_coalesce" = "1"
78 register "c2_latency" = "101" # c2 not supported
79 register "p_cnt_throttling_supported" = "1"
80
81 device pci 14.0 on
82 subsystemid 0x17aa 0x21fb
83 end # USB 3.0 Controller
84 device pci 16.0 off end # Management Engine Interface 1
85 device pci 16.1 off end # Management Engine Interface 2
86 device pci 16.2 off end # Management Engine IDE-R
87 device pci 16.3 off end # Management Engine KT
88 device pci 19.0 on
89 subsystemid 0x17aa 0x21f3
90 end # Intel Gigabit Ethernet
91 device pci 1a.0 on
92 subsystemid 0x17aa 0x21fb
93 end # USB Enhanced Host Controller #2
94 device pci 1b.0 on
95 subsystemid 0x17aa 0x21fb
96 end # High Definition Audio Controller
97 device pci 1c.0 off end # PCIe Port #1
98 device pci 1c.1 on
99 subsystemid 0x17aa 0x21fb
100 end # PCIe Port #2 Integrated Wireless LAN
101 device pci 1c.2 on
102 subsystemid 0x17aa 0x21fb
103 end # PCIe Port #3 ExpressCard
104 device pci 1c.3 off end # PCIe Port #4
105 device pci 1c.4 off end # PCIe Port #5
106 device pci 1c.5 off end # PCIe Port #6 Intel Gigabit Ethernet PHY (not PCIe)
107 device pci 1c.6 off end # PCIe Port #7
108 device pci 1c.7 off end # PCIe Port #8
109 device pci 1d.0 on
110 subsystemid 0x17aa 0x21fb
111 end # USB Enhanced Host Controller #1
112 device pci 1e.0 off end # PCI bridge
113 device pci 1f.0 on
114 subsystemid 0x17aa 0x21fb
115 chip ec/lenovo/pmh7
116 device pnp ff.1 on # dummy
117 end
118 register "backlight_enable" = "0x01"
119 register "dock_event_enable" = "0x01"
120 end
121
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
130 register "config0" = "0xa7"
131 register "config1" = "0x05"
132 register "config2" = "0xa0"
133 register "config3" = "0xe2"
134
135 register "has_keyboard_backlight" = "1"
136
137 register "beepmask0" = "0x00"
138 register "beepmask1" = "0x86"
139 register "has_power_management_beeps" = "0"
140 register "event2_enable" = "0xff"
141 register "event3_enable" = "0xff"
142 register "event4_enable" = "0xd0"
143 register "event5_enable" = "0x3c"
144 register "event6_enable" = "0x00"
145 register "event7_enable" = "0x01"
146 register "event8_enable" = "0x7b"
147 register "event9_enable" = "0xff"
148 register "eventa_enable" = "0x00"
149 register "eventb_enable" = "0x00"
150 register "eventc_enable" = "0xff"
151 register "eventd_enable" = "0xff"
152 register "evente_enable" = "0x0d"
153 end
154 end # LPC Controller
155 device pci 1f.2 on
156 subsystemid 0x17aa 0x21fb
157 end # 6 port SATA AHCI Controller
158 device pci 1f.3 on
159 subsystemid 0x17aa 0x21fb
160 # eeprom, 8 virtual devices, same chip
161 chip drivers/i2c/at24rf08c
162 device i2c 54 on end
163 device i2c 55 on end
164 device i2c 56 on end
165 device i2c 57 on end
166 device i2c 5c on end
167 device i2c 5d on end
168 device i2c 5e on end
169 device i2c 5f on end
170 end
171 end # SMBus Controller
172 device pci 1f.5 off end # SATA Controller 2
173 device pci 1f.6 on
174 subsystemid 0x17aa 0x21fb
175 end # Thermal
176 end
177 end
178end