Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 1 | ## |
| 2 | ## This file is part of the coreboot project. |
| 3 | ## |
| 4 | ## Copyright (C) 2007-2009 coresystems GmbH |
| 5 | ## Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> |
| 6 | ## |
| 7 | ## This program is free software; you can redistribute it and/or |
| 8 | ## modify it under the terms of the GNU General Public License as |
| 9 | ## published by the Free Software Foundation; version 2 of |
| 10 | ## the License. |
| 11 | ## |
| 12 | ## This program is distributed in the hope that it will be useful, |
| 13 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | ## GNU General Public License for more details. |
| 16 | ## |
| 17 | ## You should have received a copy of the GNU General Public License |
| 18 | ## along with this program; if not, write to the Free Software |
Patrick Georgi | b890a12 | 2015-03-26 15:17:45 +0100 | [diff] [blame] | 19 | ## Foundation, Inc. |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 20 | ## |
| 21 | |
| 22 | chip northbridge/intel/nehalem |
| 23 | |
| 24 | |
| 25 | # Enable DisplayPort Hotplug with 6ms pulse |
| 26 | register "gpu_dp_d_hotplug" = "0x06" |
| 27 | |
| 28 | # Enable Panel as LVDS and configure power delays |
| 29 | register "gpu_panel_port_select" = "0" # LVDS |
| 30 | register "gpu_panel_power_cycle_delay" = "3" |
| 31 | register "gpu_panel_power_up_delay" = "250" |
| 32 | register "gpu_panel_power_down_delay" = "250" |
| 33 | register "gpu_panel_power_backlight_on_delay" = "2500" |
| 34 | register "gpu_panel_power_backlight_off_delay" = "2500" |
| 35 | register "gpu_cpu_backlight" = "0x58d" |
| 36 | register "gpu_pch_backlight" = "0x061a061a" |
Vladimir Serbinenko | a71bdc3 | 2014-08-30 00:35:39 +0200 | [diff] [blame] | 37 | register "gfx.use_spread_spectrum_clock" = "1" |
| 38 | register "gfx.lvds_dual_channel" = "0" |
| 39 | register "gfx.link_frequency_270_mhz" = "1" |
| 40 | register "gfx.lvds_num_lanes" = "4" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 41 | |
| 42 | chip ec/lenovo/pmh7 |
| 43 | device pnp ff.1 on # dummy |
| 44 | end |
| 45 | register "backlight_enable" = "0x01" |
| 46 | register "dock_event_enable" = "0x01" |
| 47 | end |
| 48 | |
| 49 | chip ec/lenovo/h8 |
| 50 | device pnp ff.2 on # dummy |
| 51 | io 0x60 = 0x62 |
| 52 | io 0x62 = 0x66 |
| 53 | io 0x64 = 0x1600 |
| 54 | io 0x66 = 0x1604 |
| 55 | end |
| 56 | |
| 57 | register "config0" = "0xa6" |
| 58 | register "config1" = "0x05" |
| 59 | register "config2" = "0xa0" |
| 60 | register "config3" = "0x01" |
| 61 | |
| 62 | register "beepmask0" = "0xfe" |
| 63 | register "beepmask1" = "0x96" |
Vladimir Serbinenko | 9a3b9c4 | 2014-01-11 20:56:47 +0100 | [diff] [blame] | 64 | register "has_power_management_beeps" = "1" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 65 | |
| 66 | register "event2_enable" = "0xff" |
| 67 | register "event3_enable" = "0xff" |
| 68 | register "event4_enable" = "0xf4" |
| 69 | register "event5_enable" = "0x3c" |
| 70 | register "event6_enable" = "0x80" |
| 71 | register "event7_enable" = "0x01" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 72 | register "event8_enable" = "0x01" |
| 73 | register "event9_enable" = "0xff" |
| 74 | register "eventa_enable" = "0xff" |
| 75 | register "eventb_enable" = "0xff" |
| 76 | register "eventc_enable" = "0xff" |
| 77 | register "eventd_enable" = "0xff" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 78 | end |
| 79 | |
| 80 | device cpu_cluster 0 on |
Vladimir Serbinenko | 6c3413a | 2014-02-16 18:03:45 +0100 | [diff] [blame] | 81 | chip cpu/intel/model_2065x |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 82 | device lapic 0 on end |
| 83 | end |
| 84 | end |
| 85 | |
| 86 | device domain 0 on |
| 87 | device pci 00.0 on # Host bridge |
| 88 | subsystemid 0x17aa 0x2193 |
| 89 | end |
| 90 | device pci 02.0 on # VGA controller |
| 91 | subsystemid 0x17aa 0x215a |
| 92 | end |
| 93 | chip southbridge/intel/ibexpeak |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 94 | # GPI routing |
| 95 | # 0 No effect (default) |
| 96 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 97 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 98 | register "gpi1_routing" = "2" |
| 99 | register "gpi13_routing" = "2" |
| 100 | |
Alexander Couzens | 23d1232 | 2015-02-28 20:07:10 +0100 | [diff] [blame] | 101 | register "sata_port_map" = "0x03" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 102 | |
| 103 | register "gpe0_en" = "0x20022046" |
| 104 | register "alt_gp_smi_en" = "0x0000" |
Vladimir Serbinenko | cc16ffc | 2014-01-11 05:48:17 +0100 | [diff] [blame] | 105 | register "gen1_dec" = "0x7c1601" |
| 106 | register "gen2_dec" = "0x0c15e1" |
| 107 | register "gen3_dec" = "0x1c1681" |
| 108 | register "gen4_dec" = "0x040069" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 109 | |
Vladimir Serbinenko | 67bfbfd | 2014-10-25 15:49:23 +0200 | [diff] [blame] | 110 | register "p_cnt_throttling_supported" = "1" |
| 111 | register "c2_latency" = "1" |
| 112 | register "docking_supported" = "1" |
| 113 | |
Vladimir Serbinenko | 36fa5b8 | 2014-10-28 23:43:20 +0100 | [diff] [blame] | 114 | register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }" |
| 115 | |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 116 | device pci 16.2 on # IDE/SATA |
| 117 | subsystemid 0x17aa 0x2161 |
| 118 | end |
| 119 | |
| 120 | device pci 19.0 on # Ethernet |
| 121 | subsystemid 0x17aa 0x2153 |
| 122 | end |
| 123 | |
| 124 | device pci 1a.0 on # USB2 EHCI |
| 125 | subsystemid 0x17aa 0x2163 |
| 126 | end |
| 127 | |
| 128 | device pci 1b.0 on # Audio Controller |
| 129 | subsystemid 0x17aa 0x215e |
| 130 | end |
Vladimir Serbinenko | 4c8b1ee | 2014-01-10 19:30:54 +0100 | [diff] [blame] | 131 | |
| 132 | device pci 1c.0 on end # PCIe Port #1 |
Vladimir Serbinenko | 7111835 | 2014-08-03 14:55:14 +0200 | [diff] [blame] | 133 | device pci 1c.1 on end # PCIe Port #2 (wwan) |
Vladimir Serbinenko | 4c8b1ee | 2014-01-10 19:30:54 +0100 | [diff] [blame] | 134 | device pci 1c.3 on end # PCIe Port #4 (Expresscard) |
Vladimir Serbinenko | 7111835 | 2014-08-03 14:55:14 +0200 | [diff] [blame] | 135 | device pci 1c.4 on end # PCIe Port #5 (wlan) |
Vladimir Serbinenko | 4c8b1ee | 2014-01-10 19:30:54 +0100 | [diff] [blame] | 136 | |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 137 | device pci 1d.0 on # USB2 EHCI |
| 138 | subsystemid 0x17aa 0x2163 |
| 139 | end |
| 140 | device pci 1f.0 on # PCI-LPC bridge |
| 141 | subsystemid 0x17aa 0x2166 |
Vladimir Serbinenko | f2b3cd6 | 2014-02-15 17:00:46 +0100 | [diff] [blame] | 142 | chip superio/nsc/pc87382 |
| 143 | device pnp 164e.3 on # Digitizer |
| 144 | io 0x60 = 0x200 |
| 145 | irq 0x29 = 0xb0 |
| 146 | irq 0x70 = 0x5 |
| 147 | irq 0xf0 = 0x82 |
| 148 | end |
| 149 | # IR, not connected |
| 150 | device pnp 164e.2 off end |
| 151 | # GPIO, not connected |
| 152 | device pnp 164e.7 off end |
| 153 | # DLPC, not connected |
| 154 | device pnp 164e.19 off end |
| 155 | end |
Vladimir Serbinenko | a93c014 | 2015-05-21 09:28:14 +0200 | [diff] [blame^] | 156 | chip drivers/pc80/tpm |
| 157 | device pnp 0c31.0 on end |
| 158 | end |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 159 | end |
| 160 | device pci 1f.2 on # IDE/SATA |
| 161 | subsystemid 0x17aa 0x2168 |
| 162 | end |
| 163 | device pci 1f.3 on # SMBUS |
| 164 | subsystemid 0x17aa 0x2167 |
Vladimir Serbinenko | 62adc4c | 2014-01-23 09:06:08 +0100 | [diff] [blame] | 165 | # eeprom, 8 virtual devices, same chip |
| 166 | chip drivers/i2c/at24rf08c |
| 167 | device i2c 54 on end |
| 168 | device i2c 55 on end |
| 169 | device i2c 56 on end |
| 170 | device i2c 57 on end |
| 171 | device i2c 5c on end |
| 172 | device i2c 5d on end |
| 173 | device i2c 5e on end |
| 174 | device i2c 5f on end |
| 175 | end |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 176 | end |
| 177 | end |
| 178 | end |
| 179 | end |