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 | |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 39 | device cpu_cluster 0 on |
Vladimir Serbinenko | 6c3413a | 2014-02-16 18:03:45 +0100 | [diff] [blame] | 40 | chip cpu/intel/model_2065x |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 41 | device lapic 0 on end |
| 42 | end |
| 43 | end |
| 44 | |
Patrick Rudolph | 266a1f7 | 2016-06-09 18:13:34 +0200 | [diff] [blame] | 45 | register "pci_mmio_size" = "1024" |
| 46 | |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 47 | device domain 0 on |
| 48 | device pci 00.0 on # Host bridge |
| 49 | subsystemid 0x17aa 0x2193 |
| 50 | end |
Arthur Heymans | 28bca05 | 2019-10-01 21:20:33 +0200 | [diff] [blame] | 51 | device pci 01.0 off end # PEG |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 52 | device pci 02.0 on # VGA controller |
| 53 | subsystemid 0x17aa 0x215a |
| 54 | end |
| 55 | chip southbridge/intel/ibexpeak |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 56 | # GPI routing |
| 57 | # 0 No effect (default) |
| 58 | # 1 SMI# (if corresponding ALT_GPI_SMI_EN bit is also set) |
| 59 | # 2 SCI (if corresponding GPIO_EN bit is also set) |
| 60 | register "gpi1_routing" = "2" |
| 61 | register "gpi13_routing" = "2" |
| 62 | |
Alexander Couzens | 23d1232 | 2015-02-28 20:07:10 +0100 | [diff] [blame] | 63 | register "sata_port_map" = "0x03" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 64 | |
| 65 | register "gpe0_en" = "0x20022046" |
| 66 | register "alt_gp_smi_en" = "0x0000" |
Vladimir Serbinenko | cc16ffc | 2014-01-11 05:48:17 +0100 | [diff] [blame] | 67 | register "gen1_dec" = "0x7c1601" |
| 68 | register "gen2_dec" = "0x0c15e1" |
| 69 | register "gen3_dec" = "0x1c1681" |
| 70 | register "gen4_dec" = "0x040069" |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 71 | |
Vladimir Serbinenko | 67bfbfd | 2014-10-25 15:49:23 +0200 | [diff] [blame] | 72 | register "c2_latency" = "1" |
| 73 | register "docking_supported" = "1" |
| 74 | |
Vladimir Serbinenko | 36fa5b8 | 2014-10-28 23:43:20 +0100 | [diff] [blame] | 75 | register "pcie_hotplug_map" = "{ 0, 0, 0, 1, 0, 0, 0, 0 }" |
| 76 | |
Arthur Heymans | d0310fa | 2019-10-02 00:21:01 +0200 | [diff] [blame^] | 77 | device pci 16.0 on end # Management Engine Interface 1 |
| 78 | device pci 16.1 off end # Management Engine Interface 2 |
| 79 | device pci 16.2 off end # Management Engine IDE-R, only management boot |
| 80 | device pci 16.3 off end # Management Engine KT |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 81 | |
| 82 | device pci 19.0 on # Ethernet |
| 83 | subsystemid 0x17aa 0x2153 |
| 84 | end |
| 85 | |
| 86 | device pci 1a.0 on # USB2 EHCI |
| 87 | subsystemid 0x17aa 0x2163 |
| 88 | end |
| 89 | |
| 90 | device pci 1b.0 on # Audio Controller |
| 91 | subsystemid 0x17aa 0x215e |
| 92 | end |
Vladimir Serbinenko | 4c8b1ee | 2014-01-10 19:30:54 +0100 | [diff] [blame] | 93 | |
| 94 | device pci 1c.0 on end # PCIe Port #1 |
Vladimir Serbinenko | 7111835 | 2014-08-03 14:55:14 +0200 | [diff] [blame] | 95 | device pci 1c.1 on end # PCIe Port #2 (wwan) |
Arthur Heymans | d0310fa | 2019-10-02 00:21:01 +0200 | [diff] [blame^] | 96 | device pci 1c.2 off end |
Patrick Rudolph | 0521632 | 2019-04-12 16:14:27 +0200 | [diff] [blame] | 97 | device pci 1c.3 on |
| 98 | smbios_slot_desc "7" "3" "ExpressCard Slot" "8" |
| 99 | end # PCIe Port #4 (Expresscard) |
Vladimir Serbinenko | 7111835 | 2014-08-03 14:55:14 +0200 | [diff] [blame] | 100 | device pci 1c.4 on end # PCIe Port #5 (wlan) |
Arthur Heymans | d0310fa | 2019-10-02 00:21:01 +0200 | [diff] [blame^] | 101 | device pci 1c.5 off end |
| 102 | device pci 1c.6 off end |
| 103 | device pci 1c.7 off end |
Vladimir Serbinenko | 4c8b1ee | 2014-01-10 19:30:54 +0100 | [diff] [blame] | 104 | |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 105 | device pci 1d.0 on # USB2 EHCI |
| 106 | subsystemid 0x17aa 0x2163 |
| 107 | end |
Arthur Heymans | d0310fa | 2019-10-02 00:21:01 +0200 | [diff] [blame^] | 108 | device pci 1e.0 on end # PCI 2 PCI bridge |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 109 | device pci 1f.0 on # PCI-LPC bridge |
| 110 | subsystemid 0x17aa 0x2166 |
Vladimir Serbinenko | f2b3cd6 | 2014-02-15 17:00:46 +0100 | [diff] [blame] | 111 | chip superio/nsc/pc87382 |
| 112 | device pnp 164e.3 on # Digitizer |
| 113 | io 0x60 = 0x200 |
| 114 | irq 0x29 = 0xb0 |
| 115 | irq 0x70 = 0x5 |
| 116 | irq 0xf0 = 0x82 |
| 117 | end |
| 118 | # IR, not connected |
| 119 | device pnp 164e.2 off end |
| 120 | # GPIO, not connected |
| 121 | device pnp 164e.7 off end |
| 122 | # DLPC, not connected |
| 123 | device pnp 164e.19 off end |
| 124 | end |
Vladimir Serbinenko | a93c014 | 2015-05-21 09:28:14 +0200 | [diff] [blame] | 125 | chip drivers/pc80/tpm |
| 126 | device pnp 0c31.0 on end |
| 127 | end |
Patrick Rudolph | cff16b6 | 2018-07-14 16:46:29 +0200 | [diff] [blame] | 128 | |
| 129 | chip ec/lenovo/pmh7 |
| 130 | device pnp ff.1 on # dummy |
| 131 | end |
| 132 | register "backlight_enable" = "0x01" |
| 133 | register "dock_event_enable" = "0x01" |
| 134 | end |
| 135 | |
| 136 | chip ec/lenovo/h8 |
| 137 | device pnp ff.2 on # dummy |
| 138 | io 0x60 = 0x62 |
| 139 | io 0x62 = 0x66 |
| 140 | io 0x64 = 0x1600 |
| 141 | io 0x66 = 0x1604 |
| 142 | end |
| 143 | |
| 144 | register "config0" = "0xa6" |
| 145 | register "config1" = "0x05" |
| 146 | register "config2" = "0xa0" |
| 147 | register "config3" = "0x01" |
| 148 | |
| 149 | register "beepmask0" = "0xfe" |
| 150 | register "beepmask1" = "0x96" |
| 151 | register "has_power_management_beeps" = "1" |
| 152 | |
| 153 | register "event2_enable" = "0xff" |
| 154 | register "event3_enable" = "0xff" |
| 155 | register "event4_enable" = "0xf4" |
| 156 | register "event5_enable" = "0x3c" |
| 157 | register "event6_enable" = "0x80" |
| 158 | register "event7_enable" = "0x01" |
| 159 | register "event8_enable" = "0x01" |
| 160 | register "event9_enable" = "0xff" |
| 161 | register "eventa_enable" = "0xff" |
| 162 | register "eventb_enable" = "0xff" |
| 163 | register "eventc_enable" = "0xff" |
| 164 | register "eventd_enable" = "0xff" |
| 165 | |
| 166 | register "has_bdc_detection" = "1" |
| 167 | register "bdc_gpio_num" = "48" |
| 168 | register "bdc_gpio_lvl" = "0" |
| 169 | end |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 170 | end |
| 171 | device pci 1f.2 on # IDE/SATA |
| 172 | subsystemid 0x17aa 0x2168 |
| 173 | end |
| 174 | device pci 1f.3 on # SMBUS |
| 175 | subsystemid 0x17aa 0x2167 |
Elyes HAOUAS | b0f1988 | 2018-06-09 11:59:00 +0200 | [diff] [blame] | 176 | # eeprom, 8 virtual devices, same chip |
Vladimir Serbinenko | 62adc4c | 2014-01-23 09:06:08 +0100 | [diff] [blame] | 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 |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 187 | end |
Arthur Heymans | d0310fa | 2019-10-02 00:21:01 +0200 | [diff] [blame^] | 188 | device pci 1f.4 off end |
| 189 | device pci 1f.5 off end |
| 190 | device pci 1f.6 on end |
Vladimir Serbinenko | 9bf05de | 2013-11-14 19:11:19 +0100 | [diff] [blame] | 191 | end |
| 192 | end |
| 193 | end |