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