Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +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" = "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" = "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" = "0" |
| 28 | register "gpu_panel_power_backlight_on_delay" = "0" |
| 29 | register "gpu_panel_power_cycle_delay" = "4" |
| 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 |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +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 | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 43 | end |
| 44 | end |
| 45 | device domain 0x0 on |
| 46 | device pci 00.0 on |
| 47 | subsystemid 0x1849 0x0150 |
| 48 | end |
| 49 | device pci 01.0 on |
| 50 | subsystemid 0x1849 0x0151 |
| 51 | end |
| 52 | device pci 02.0 on |
| 53 | subsystemid 0x1849 0x0152 |
| 54 | end |
| 55 | chip southbridge/intel/bd82x6x |
| 56 | register "c2_latency" = "0x0065" |
| 57 | register "docking_supported" = "0" |
| 58 | register "gen1_dec" = "0x000c0291" |
| 59 | register "gen2_dec" = "0x000c0241" |
| 60 | register "gen3_dec" = "0x000c0251" |
| 61 | register "p_cnt_throttling_supported" = "0" |
| 62 | register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 0, 0 }" |
| 63 | register "pcie_port_coalesce" = "0" |
| 64 | register "sata_interface_speed_support" = "0x3" |
| 65 | register "sata_port_map" = "0x3f" |
| 66 | register "superspeed_capable_ports" = "0x0000000f" |
| 67 | register "xhci_overcurrent_mapping" = "0x00000c03" |
| 68 | register "xhci_switchable_ports" = "0x0000000f" |
| 69 | register "spi_uvscc" = "0x2005" |
| 70 | register "spi_lvscc" = "0x2005" |
| 71 | |
| 72 | device pci 14.0 on # USB 3.0 Controller |
| 73 | subsystemid 0x1849 0x1e31 |
| 74 | end |
| 75 | device pci 16.0 on # Management Engine Interface 1 |
| 76 | subsystemid 0x1849 0x1e3a |
| 77 | end |
| 78 | device pci 16.1 off # Management Engine Interface 2 |
| 79 | end |
| 80 | device pci 16.2 off # Management Engine IDE-R |
| 81 | end |
| 82 | device pci 16.3 on # Management Engine KT |
| 83 | subsystemid 0x1849 0x1e3d |
| 84 | end |
| 85 | device pci 19.0 off # Intel Gigabit Ethernet |
| 86 | end |
| 87 | device pci 1a.0 on # USB2 EHCI #2 |
| 88 | subsystemid 0x1849 0x1e2d |
| 89 | end |
| 90 | device pci 1b.0 on # High Definition Audio Audio controller |
| 91 | subsystemid 0x1849 0x8892 |
| 92 | end |
| 93 | device pci 1c.0 on # PCIe Port #1 |
| 94 | subsystemid 0x1849 0x1e10 |
| 95 | end |
| 96 | device pci 1c.1 off # PCIe Port #2 |
| 97 | end |
| 98 | device pci 1c.2 off # PCIe Port #3 |
| 99 | end |
| 100 | device pci 1c.3 off # PCIe Port #4 |
| 101 | end |
| 102 | device pci 1c.4 on # PCIe Port #5, ASMedia ASM1062 SATA Controller |
| 103 | subsystemid 0x1849 0x1e18 |
| 104 | end |
Iru Cai | 928c6c6 | 2017-06-15 18:18:51 +0800 | [diff] [blame] | 105 | device pci 1c.5 on # PCIe Port #6, Realtek PCIe GbE Controller |
| 106 | subsystemid 0x1849 0x1e1a |
| 107 | end |
| 108 | device pci 1c.6 off # PCIe Port #7 |
| 109 | end |
| 110 | device pci 1c.7 off # PCIe Port #8 |
| 111 | end |
| 112 | device pci 1d.0 on # USB2 EHCI #1 |
| 113 | subsystemid 0x1849 0x1e26 |
| 114 | end |
| 115 | device pci 1e.0 on # PCI bridge |
| 116 | subsystemid 0x1849 0x244e |
| 117 | end |
| 118 | device pci 1f.0 on # LPC bridge |
| 119 | subsystemid 0x1849 0x1e49 |
| 120 | chip superio/nuvoton/nct6776 |
| 121 | device pnp 2e.0 off end # Floppy |
| 122 | device pnp 2e.1 on # Parallel port |
| 123 | # global |
| 124 | irq 0x1c = 0x80 |
| 125 | irq 0x27 = 0xc0 |
| 126 | irq 0x2a = 0x62 |
| 127 | # parallel port |
| 128 | io 0x60 = 0x378 |
| 129 | irq 0x70 = 5 |
| 130 | drq 0x74 = 3 |
| 131 | end |
| 132 | device pnp 2e.2 on # COM1 |
| 133 | io 0x60 = 0x3f8 |
| 134 | irq 0x70 = 4 |
| 135 | end |
| 136 | device pnp 2e.3 off end # COM2, IR |
| 137 | device pnp 2e.5 on # Keyboard |
| 138 | io 0x60 = 0x60 |
| 139 | io 0x62 = 0x64 |
| 140 | irq 0x70 = 1 |
| 141 | irq 0x72 = 12 |
| 142 | end |
| 143 | device pnp 2e.6 off end # CIR |
| 144 | device pnp 2e.7 off end # GPIO6-9 |
| 145 | device pnp 2e.8 off end # WDT1, GPIO0, GPIO1, GPIOA |
| 146 | device pnp 2e.9 off end # GPIO2-5 |
| 147 | device pnp 2e.a on # ACPI |
| 148 | irq 0xe0 = 0x01 |
| 149 | irq 0xe3 = 0x14 |
| 150 | irq 0xe6 = 0x4c |
| 151 | irq 0xe9 = 0x02 |
| 152 | irq 0xf0 = 0x20 |
| 153 | end |
| 154 | device pnp 2e.b off end # HWM, front pannel LED |
| 155 | device pnp 2e.d on end # VID |
| 156 | device pnp 2e.e off end # CIR WAKE-UP |
| 157 | device pnp 2e.f on end # GPIO Push-Pull or Open-drain |
| 158 | device pnp 2e.14 on end # SVID |
| 159 | device pnp 2e.16 on end # Deep Sleep |
| 160 | device pnp 2e.17 on end # GPIOA |
| 161 | end |
| 162 | end |
| 163 | device pci 1f.2 on # SATA Controller 1 |
| 164 | subsystemid 0x1849 0x1e02 |
| 165 | end |
| 166 | device pci 1f.3 on # SMBus |
| 167 | subsystemid 0x1849 0x1e22 |
| 168 | end |
| 169 | device pci 1f.5 off # SATA Controller 2 |
| 170 | end |
| 171 | device pci 1f.6 off # Thermal |
| 172 | end |
| 173 | end |
| 174 | end |
| 175 | end |