Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 1 | # |
| 2 | # This file is part of the coreboot project. |
| 3 | # |
| 4 | # Copyright (C) 2017 Iru Cai <mytbk920423@gmail.com> |
| 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 }" |
| 19 | register "gfx.link_frequency_270_mhz" = "1" |
| 20 | register "gfx.ndid" = "3" |
| 21 | register "gfx.use_spread_spectrum_clock" = "1" |
| 22 | register "gpu_cpu_backlight" = "0x00000129" |
| 23 | register "gpu_dp_b_hotplug" = "4" |
| 24 | register "gpu_dp_c_hotplug" = "4" |
| 25 | register "gpu_dp_d_hotplug" = "4" |
| 26 | register "gpu_panel_port_select" = "0" |
| 27 | register "gpu_panel_power_backlight_off_delay" = "2000" |
| 28 | register "gpu_panel_power_backlight_on_delay" = "2000" |
| 29 | register "gpu_panel_power_cycle_delay" = "5" |
| 30 | register "gpu_panel_power_down_delay" = "230" |
| 31 | register "gpu_panel_power_up_delay" = "300" |
| 32 | register "gpu_pch_backlight" = "0x02880288" |
| 33 | device cpu_cluster 0x0 on |
| 34 | chip cpu/intel/socket_rPGA989 |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame^] | 35 | device lapic 0x0 on end |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 36 | end |
| 37 | chip cpu/intel/model_206ax |
| 38 | register "c1_acpower" = "1" |
| 39 | register "c1_battery" = "1" |
| 40 | register "c2_acpower" = "3" |
| 41 | register "c2_battery" = "3" |
| 42 | register "c3_acpower" = "5" |
| 43 | register "c3_battery" = "5" |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame^] | 44 | device lapic 0xacac off end |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 45 | end |
| 46 | end |
| 47 | device domain 0x0 on |
| 48 | device pci 00.0 on # Host bridge Host bridge |
| 49 | subsystemid 0x103c 0x162a |
| 50 | end |
| 51 | device pci 01.0 off # PCIe Bridge for discrete graphics |
| 52 | end |
| 53 | device pci 02.0 on # Internal graphics VGA controller |
| 54 | subsystemid 0x103c 0x162a |
| 55 | end |
| 56 | |
| 57 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 58 | register "c2_latency" = "0x0065" |
| 59 | register "docking_supported" = "0" |
| 60 | register "gen1_dec" = "0x007c0201" |
| 61 | register "gen2_dec" = "0x000c0101" |
| 62 | register "gen3_dec" = "0x00fcfe01" |
| 63 | register "gen4_dec" = "0x007c0281" |
| 64 | register "gpi6_routing" = "2" |
| 65 | register "p_cnt_throttling_supported" = "1" |
Iru Cai | e9edd27 | 2017-09-01 10:17:27 +0800 | [diff] [blame] | 66 | register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }" |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 67 | register "pcie_port_coalesce" = "1" |
| 68 | register "sata_interface_speed_support" = "0x3" |
| 69 | register "sata_port_map" = "0x21" |
| 70 | |
| 71 | register "spi_uvscc" = "0x2005" |
| 72 | register "spi_lvscc" = "0" |
| 73 | |
| 74 | device pci 16.0 on # Management Engine Interface 1 |
| 75 | subsystemid 0x103c 0x162a |
| 76 | end |
| 77 | device pci 16.1 off # Management Engine Interface 2 |
| 78 | end |
| 79 | device pci 16.2 off # Management Engine IDE-R |
| 80 | end |
| 81 | device pci 16.3 off # Management Engine KT |
| 82 | end |
| 83 | device pci 19.0 on # Intel Gigabit Ethernet |
| 84 | subsystemid 0x103c 0x162a |
| 85 | end |
| 86 | device pci 1a.0 on # USB2 EHCI #2 |
| 87 | subsystemid 0x103c 0x162a |
| 88 | end |
| 89 | device pci 1b.0 on # High Definition Audio Audio controller |
| 90 | subsystemid 0x103c 0x162a |
| 91 | end |
| 92 | device pci 1c.0 on # PCIe Port #1 |
| 93 | subsystemid 0x103c 0x162a |
| 94 | end |
Iru Cai | e9edd27 | 2017-09-01 10:17:27 +0800 | [diff] [blame] | 95 | device pci 1c.1 on # PCIe Port #2, ExpressCard |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 96 | subsystemid 0x103c 0x162a |
| 97 | end |
Iru Cai | e9edd27 | 2017-09-01 10:17:27 +0800 | [diff] [blame] | 98 | device pci 1c.2 on # PCIe Port #3, SD/MMC |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 99 | subsystemid 0x103c 0x162a |
| 100 | end |
| 101 | device pci 1c.3 on # WLAN |
| 102 | end |
| 103 | device pci 1c.4 off # PCIe Port #5 |
| 104 | end |
| 105 | device pci 1c.5 off # PCIe Port #6 |
| 106 | end |
Iru Cai | d2517af | 2018-01-22 14:43:50 +0800 | [diff] [blame] | 107 | device pci 1c.6 on # PCIe Port #7, WWAN |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 108 | end |
| 109 | device pci 1c.7 off # PCIe Port #8 |
| 110 | end |
| 111 | device pci 1d.0 on # USB2 EHCI #1 |
| 112 | subsystemid 0x103c 0x162a |
| 113 | end |
| 114 | device pci 1e.0 off # PCI bridge |
| 115 | end |
| 116 | device pci 1f.0 on # LPC bridge PCI-LPC bridge |
| 117 | subsystemid 0x103c 0x162a |
| 118 | chip ec/hp/kbc1126 |
| 119 | register "ec_data_port" = "0x60" |
| 120 | register "ec_cmd_port" = "0x64" |
| 121 | register "ec_ctrl_reg" = "0xca" |
| 122 | register "ec_fan_ctrl_value" = "0x4d" |
| 123 | device pnp ff.1 off end |
| 124 | end # kbc1126 |
| 125 | end |
| 126 | device pci 1f.2 on # SATA Controller 1 |
| 127 | subsystemid 0x103c 0x162a |
| 128 | end |
| 129 | device pci 1f.3 off # SMBus |
| 130 | end |
| 131 | device pci 1f.5 off # SATA Controller 2 |
| 132 | end |
| 133 | device pci 1f.6 off # Thermal |
| 134 | end |
| 135 | end |
| 136 | end |
| 137 | end |