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