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 |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 34 | chip cpu/intel/model_206ax |
| 35 | register "c1_acpower" = "1" |
| 36 | register "c1_battery" = "1" |
| 37 | register "c2_acpower" = "3" |
| 38 | register "c2_battery" = "3" |
| 39 | register "c3_acpower" = "5" |
| 40 | register "c3_battery" = "5" |
Arthur Heymans | 7e6946a | 2019-01-21 17:55:02 +0100 | [diff] [blame] | 41 | device lapic 0x0 on end |
Arthur Heymans | b3f2323 | 2019-01-21 17:48:55 +0100 | [diff] [blame] | 42 | device lapic 0xacac off end |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 43 | end |
| 44 | end |
| 45 | device domain 0x0 on |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 46 | subsystemid 0x103c 0x162a inherit |
| 47 | |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 48 | device pci 00.0 on end # Host bridge |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 49 | device pci 01.0 off end # PCIe Bridge for discrete graphics |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 50 | device pci 02.0 on end # Internal graphics |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 51 | |
| 52 | chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH |
| 53 | register "c2_latency" = "0x0065" |
| 54 | register "docking_supported" = "0" |
Arthur Heymans | 6beaef9 | 2019-06-16 23:29:23 +0200 | [diff] [blame] | 55 | # mailbox at 0x200/0x201 and PM1 at 0x220 |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 56 | register "gen1_dec" = "0x007c0201" |
| 57 | register "gen2_dec" = "0x000c0101" |
| 58 | register "gen3_dec" = "0x00fcfe01" |
| 59 | register "gen4_dec" = "0x007c0281" |
| 60 | register "gpi6_routing" = "2" |
Iru Cai | e9edd27 | 2017-09-01 10:17:27 +0800 | [diff] [blame] | 61 | register "pcie_hotplug_map" = "{ 0, 1, 1, 0, 0, 0, 0, 0 }" |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 62 | register "pcie_port_coalesce" = "1" |
| 63 | register "sata_interface_speed_support" = "0x3" |
| 64 | register "sata_port_map" = "0x21" |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 65 | register "spi_uvscc" = "0x2005" |
| 66 | register "spi_lvscc" = "0" |
| 67 | |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 68 | device pci 16.0 on end # Management Engine Interface 1 |
| 69 | device pci 16.1 off end # Management Engine Interface 2 |
| 70 | device pci 16.2 off end # Management Engine IDE-R |
| 71 | device pci 16.3 off end # Management Engine KT |
| 72 | device pci 19.0 on end # Intel Gigabit Ethernet |
| 73 | device pci 1a.0 on end # USB2 EHCI #2 |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 74 | device pci 1b.0 on end # HD Audio controller |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 75 | device pci 1c.0 on end # PCIe Port #1 |
| 76 | device pci 1c.1 on end # PCIe Port #2, ExpressCard |
| 77 | device pci 1c.2 on end # PCIe Port #3, SD/MMC |
| 78 | device pci 1c.3 on end # WLAN |
| 79 | device pci 1c.4 off end # PCIe Port #5 |
| 80 | device pci 1c.5 off end # PCIe Port #6 |
| 81 | device pci 1c.6 on end # PCIe Port #7, WWAN |
| 82 | device pci 1c.7 off end # PCIe Port #8 |
| 83 | device pci 1d.0 on end # USB2 EHCI #1 |
| 84 | device pci 1e.0 off end # PCI bridge |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 85 | device pci 1f.0 on # LPC bridge |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 86 | chip ec/hp/kbc1126 |
| 87 | register "ec_data_port" = "0x60" |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 88 | register "ec_cmd_port" = "0x64" |
| 89 | register "ec_ctrl_reg" = "0xca" |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 90 | register "ec_fan_ctrl_value" = "0x4d" |
| 91 | device pnp ff.1 off end |
Angel Pons | c97802f | 2020-01-01 21:27:43 +0100 | [diff] [blame] | 92 | end |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 93 | end |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 94 | device pci 1f.2 on end # SATA Controller 1 |
Angel Pons | 12197db | 2020-01-01 21:31:21 +0100 | [diff] [blame^] | 95 | device pci 1f.3 on end # SMBus |
Angel Pons | a0a3eab | 2020-01-01 20:52:11 +0100 | [diff] [blame] | 96 | device pci 1f.5 off end # SATA Controller 2 |
| 97 | device pci 1f.6 off end # Thermal |
Iru Cai | 03e96a8 | 2017-01-26 14:51:47 +0800 | [diff] [blame] | 98 | end |
| 99 | end |
| 100 | end |