Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2017 Nicola Corna <nicola@corna.info> |
| 5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify |
| 7 | # it under the terms of the GNU General Public License as published by |
| 8 | # the Free Software Foundation; either version 2 of the License, or |
| 9 | # (at your option) any later version. |
| 10 | # |
| 11 | # This program is distributed in the hope that it will be useful, |
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | # GNU General Public License for more details. |
| 15 | # |
| 16 | |
| 17 | chip northbridge/intel/sandybridge |
| 18 | register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }" |
| 19 | register "gfx.link_frequency_270_mhz" = "0" |
| 20 | register "gfx.ndid" = "3" |
| 21 | register "gfx.use_spread_spectrum_clock" = "0" |
| 22 | register "gpu_cpu_backlight" = "0x00000000" |
| 23 | register "gpu_dp_b_hotplug" = "0" |
| 24 | register "gpu_dp_c_hotplug" = "0" |
| 25 | register "gpu_dp_d_hotplug" = "0" |
| 26 | register "gpu_panel_port_select" = "0" |
| 27 | register "gpu_panel_power_backlight_off_delay" = "0" |
| 28 | register "gpu_panel_power_backlight_on_delay" = "0" |
| 29 | register "gpu_panel_power_cycle_delay" = "0" |
| 30 | register "gpu_panel_power_down_delay" = "0" |
| 31 | register "gpu_panel_power_up_delay" = "0" |
| 32 | register "gpu_pch_backlight" = "0x00000000" |
| 33 | device cpu_cluster 0x0 on |
| 34 | chip cpu/intel/socket_LGA1155 |
| 35 | device lapic 0x0 on |
| 36 | end |
| 37 | end |
| 38 | chip cpu/intel/model_206ax |
| 39 | register "c1_acpower" = "1" |
| 40 | register "c1_battery" = "1" |
| 41 | register "c2_acpower" = "3" |
| 42 | register "c2_battery" = "3" |
| 43 | register "c3_acpower" = "5" |
| 44 | register "c3_battery" = "5" |
| 45 | device lapic 0xacac off |
| 46 | end |
| 47 | end |
| 48 | end |
| 49 | device domain 0x0 on |
| 50 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 51 | register "c2_latency" = "0x0065" |
| 52 | register "docking_supported" = "0" |
| 53 | register "gen1_dec" = "0x000c0291" |
| 54 | register "gen2_dec" = "0x000c0a01" |
| 55 | register "gen3_dec" = "0x00000000" |
| 56 | register "gen4_dec" = "0x00000000" |
| 57 | register "p_cnt_throttling_supported" = "0" |
| 58 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
| 59 | register "pcie_port_coalesce" = "1" |
| 60 | register "sata_interface_speed_support" = "0x3" |
| 61 | register "sata_port_map" = "0x33" |
Nicola Corna | e134db2 | 2018-04-02 10:27:06 +0200 | [diff] [blame^] | 62 | register "spi.opprefixes" = "{ 0x50, 0x06 }" |
| 63 | register "spi.ops" = "{ { 0, 1, 0x01 }, { 1, 1, 0x02 }, { 1, 0, 0x03 }, { 0, 0, 0x05 }, { 1, 1, 0x20 }, { 0, 0, 0x9f }, { 0, 1, 0xad }, { 0, 1, 0x04 } }" |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 64 | device pci 16.0 on # Management Engine Interface 1 |
| 65 | subsystemid 0x174b 0x1007 |
| 66 | end |
| 67 | device pci 16.1 off # Management Engine Interface 2 |
| 68 | end |
| 69 | device pci 16.2 off # Management Engine IDE-R |
| 70 | end |
| 71 | device pci 16.3 off # Management Engine KT |
| 72 | end |
| 73 | device pci 19.0 off # Intel Gigabit Ethernet |
| 74 | end |
| 75 | device pci 1a.0 on # USB2 EHCI #2 |
| 76 | subsystemid 0x174b 0x1007 |
| 77 | end |
| 78 | device pci 1b.0 on # High Definition Audio Audio controller |
| 79 | subsystemid 0x8086 0x1c20 |
| 80 | end |
| 81 | device pci 1c.0 on # PCIe Port #1 |
| 82 | subsystemid 0x174b 0x1007 |
| 83 | end |
| 84 | device pci 1c.1 off # PCIe Port #2 |
| 85 | end |
| 86 | device pci 1c.2 off # PCIe Port #3 |
| 87 | end |
| 88 | device pci 1c.3 off # PCIe Port #4 |
| 89 | end |
| 90 | device pci 1c.4 on # PCIe Port #5 |
| 91 | subsystemid 0x174b 0x1007 |
| 92 | end |
| 93 | device pci 1c.5 on # PCIe Port #6 |
| 94 | subsystemid 0x174b 0x1007 |
| 95 | end |
| 96 | device pci 1c.6 off # PCIe Port #7 |
| 97 | end |
| 98 | device pci 1c.7 off # PCIe Port #8 |
| 99 | end |
| 100 | device pci 1d.0 on # USB2 EHCI #1 |
| 101 | subsystemid 0x174b 0x1007 |
| 102 | end |
| 103 | device pci 1e.0 off # PCI bridge |
| 104 | end |
| 105 | device pci 1f.0 on # LPC bridge PCI-LPC bridge |
| 106 | subsystemid 0x174b 0x1007 |
| 107 | chip superio/fintek/f71808a |
| 108 | register "multi_function_register_0" = "0x00" |
| 109 | register "multi_function_register_1" = "0xc4" |
| 110 | register "multi_function_register_2" = "0x21" |
| 111 | register "multi_function_register_3" = "0x2f" |
| 112 | register "multi_function_register_4" = "0x5c" |
| 113 | register "hwm_peci_tsi_ctrl" = "0x02" # PECI enabled, 1.23 V |
| 114 | register "hwm_tcc_temp" = "0x66" # TCC temperature = 102 °C |
| 115 | register "hwm_fan1_seg1_speed" = "0xff" # Fan 1 segment 1 = 100% |
| 116 | register "hwm_fan1_seg2_speed" = "0xdb" # Fan 1 segment 2 = 86% |
| 117 | register "hwm_fan1_seg3_speed" = "0xbc" # Fan 1 segment 3 = 74% |
| 118 | register "hwm_fan1_seg4_speed" = "0x9e" # Fan 1 segment 4 = 62% |
| 119 | register "hwm_fan1_seg5_speed" = "0x7f" # Fan 1 segment 5 = 50% |
| 120 | register "hwm_fan1_temp_src" = "0x18" # Fan 1 source = PECI |
| 121 | register "hwm_fan2_seg1_speed" = "0xff" # Fan 2 segment 1 = 100% |
| 122 | register "hwm_fan2_seg2_speed" = "0xdb" # Fan 2 segment 2 = 86% |
| 123 | register "hwm_fan2_seg3_speed" = "0xbc" # Fan 2 segment 3 = 74% |
| 124 | register "hwm_fan2_seg4_speed" = "0x9e" # Fan 2 segment 4 = 62% |
| 125 | register "hwm_fan2_seg5_speed" = "0x7f" # Fan 2 segment 5 = 50% |
| 126 | register "hwm_fan2_temp_src" = "0x1e" # Fan 2 source = temperature 2 |
| 127 | device pnp 4e.1 off end # Serial Port 1 |
| 128 | device pnp 4e.4 on # Hardware monitor |
| 129 | io 0x60 = 0x295 |
| 130 | irq 0x70 = 0 |
| 131 | end |
| 132 | device pnp 4e.5 off end # Keyboard |
| 133 | device pnp 4e.6 on # GPIO |
| 134 | irq 0xc5 = 0x1f |
| 135 | end |
| 136 | device pnp 4e.7 on # WDT |
| 137 | io 0x60 = 0xa00 |
| 138 | end |
| 139 | device pnp 4e.8 off end # CIR |
Nicola Corna | 5ad9396 | 2017-04-02 09:57:48 +0200 | [diff] [blame] | 140 | device pnp 4e.a on # PME, ACPI, EUP |
| 141 | irq 0xe0 = 0x90 |
Nicola Corna | 1bea5b7 | 2017-03-03 18:04:48 +0100 | [diff] [blame] | 142 | irq 0xf8 = 0x00 |
| 143 | irq 0xf9 = 0x09 |
| 144 | irq 0xfa = 0x00 |
| 145 | end |
| 146 | end |
| 147 | end |
| 148 | device pci 1f.2 on # SATA Controller 1 |
| 149 | subsystemid 0x174b 0x1007 |
| 150 | end |
| 151 | device pci 1f.3 on # SMBus |
| 152 | subsystemid 0x174b 0x1007 |
| 153 | end |
| 154 | device pci 1f.5 off # SATA Controller 2 |
| 155 | end |
| 156 | device pci 1f.6 off # Thermal |
| 157 | end |
| 158 | end |
| 159 | device pci 00.0 on # Host bridge Host bridge |
| 160 | subsystemid 0x174b 0x1007 |
| 161 | end |
| 162 | device pci 01.0 on # PCIe Bridge for discrete graphics |
| 163 | subsystemid 0x174b 0x1007 |
| 164 | end |
| 165 | device pci 02.0 on # Internal graphics VGA controller |
| 166 | subsystemid 0x8086 0x2010 |
| 167 | end |
| 168 | end |
| 169 | end |