blob: 811c0d31832c278b3dc5f31e7a37424def613709 [file] [log] [blame]
Dennis Wassenbergbd105162015-09-10 12:20:58 +02001##
2## This file is part of the coreboot project.
3##
Dennis Wassenbergbd105162015-09-10 12:20:58 +02004##
Patrick Georgic49d7a32020-05-08 22:50:46 +02005## SPDX-License-Identifier: GPL-2.0-only
Dennis Wassenbergbd105162015-09-10 12:20:58 +02006
7chip northbridge/intel/sandybridge
8 # IGD Displays
9 register "gfx.ndid" = "4"
10 register "gfx.did" = "{ 0x80000400, 0x80000300, 0x80000301, 0x80000100, }"
11
12 # Enable Panel as eDP and configure power delays
13 register "gpu_panel_port_select" = "1" # eDP_A
14 register "gpu_panel_power_cycle_delay" = "6" # 500ms
15 register "gpu_panel_power_up_delay" = "2000" # 200ms
16 register "gpu_panel_power_down_delay" = "500" # 50ms
17 register "gpu_panel_power_backlight_on_delay" = "1" # 100us as recommended by PRM
18 register "gpu_panel_power_backlight_off_delay" = "2000" # 200ms
19
20 # Set backlight PWM values for eDP
21 register "gpu_cpu_backlight" = "0x00000ac8"
22 register "gpu_pch_backlight" = "0x13120000"
23
24 device cpu_cluster 0 on
Dennis Wassenbergbd105162015-09-10 12:20:58 +020025 chip cpu/intel/model_206ax
26 # Magic APIC ID to locate this chip
Arthur Heymans7e6946a2019-01-21 17:55:02 +010027 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010028 device lapic 0xacac off end
Dennis Wassenbergbd105162015-09-10 12:20:58 +020029
30 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
31 register "c2_acpower" = "4" # ACPI(C2) = MWAIT(C6)
32 register "c3_acpower" = "0"
33
34 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
35 register "c2_battery" = "4" # ACPI(C2) = MWAIT(C6)
36 register "c3_battery" = "0"
37 end
38 end
39
40 device domain 0 on
41 device pci 00.0 on end # host bridge
42 device pci 02.0 on end # vga controller
43
44 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
45 # LPC i/o generic decodes
46 register "gen1_dec" = "0x003c0a01" # ITE environment controller
47 register "gen2_dec" = "0x000403e9" # additional com port
48 register "gen3_dec" = "0x000402e9" # additional com port
49
50 # Enable both SATA ports 0, 1
51 register "sata_port_map" = "0x03"
52 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
53 register "sata_interface_speed_support" = "0x3"
54
55 # Route GPI7 (EC SCI) as SCI
56 register "gpi7_routing" = "2"
57
58 # Enable GPE17 (GPI7) and TCO SCI
59 register "gpe0_en" = "0x00800040"
60
61 # Disable root port coalescing
62 register "pcie_port_coalesce" = "0"
63 register "pcie_hotplug_map" = "{ 0, 0, 0, 0, 0, 0, 1, 1 }"
64
Dennis Wassenbergbd105162015-09-10 12:20:58 +020065
66 register "xhci_overcurrent_mapping" = "0x00000c03"
67 register "xhci_switchable_ports" = "0x0f"
68 register "superspeed_capable_ports" = "0x0f"
69
70 register "spi_uvscc" = "0x2005"
71 register "spi_lvscc" = "0x2005"
72
73 device pci 14.0 on end # USB 3.0 Controller
74 device pci 16.0 on end # Management Engine Interface 1
75 device pci 16.1 off end # Management Engine Interface 2
76 device pci 16.2 off end # Management Engine IDE-R
77 device pci 16.3 off end # Management Engine KT
78 device pci 19.0 on end # Intel Gigabit Ethernet
79 device pci 1a.0 on end # USB2 EHCI #2
80 device pci 1b.0 on # High Definition Audio
81 subsystemid 0x1a86 0x4352
82 end
83
84 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
85 device pci 1c.0 on end # PCIe Port #1
86 device pci 1c.1 on end # PCIe Port #2
87 device pci 1c.2 on end # PCIe Port #3
88 device pci 1c.3 on end # PCIe Port #4
89 device pci 1c.4 on end # PCIe Port #5
90 device pci 1c.5 on end # PCIe Port #6
91 device pci 1c.6 on end # PCIe Port #7
92 device pci 1c.7 on end # PCIe Port #8
93
94 device pci 1d.0 on end # USB2 EHCI #1
95 device pci 1e.0 off end # PCI bridge
96 device pci 1f.0 on # LPC bridge
97 chip ec/roda/it8518
98 register "cpuhot_limit" = "100"
99 # 60h/64h KBC
100 device pnp ff.0 on # dummy address
101 end
102 end
103 chip superio/ite/it8783ef
Vagiz Trakhanov17c57712017-09-28 14:21:54 +0000104 register "TMPIN1.mode" = "THERMAL_RESISTOR"
105 register "TMPIN2.mode" = "THERMAL_RESISTOR"
Elyes HAOUASb0f19882018-06-09 11:59:00 +0200106 register "ec.vin_mask" = "VIN_ALL"
Dennis Wassenbergbd105162015-09-10 12:20:58 +0200107 register "FAN1.mode" = "FAN_SMART_AUTOMATIC"
108 register "FAN1.smart.tmpin" = " 1"
109 register "FAN1.smart.tmp_off" = "60"
110 register "FAN1.smart.tmp_start" = "64"
111 register "FAN1.smart.tmp_delta" = " 2"
112 register "FAN1.smart.pwm_start" = "30"
113 register "FAN1.smart.slope" = "64"
114 register "FAN2.mode" = "FAN_SMART_AUTOMATIC"
115 register "FAN2.smart.tmpin" = " 1"
116 register "FAN2.smart.tmp_off" = "60"
117 register "FAN2.smart.tmp_start" = "64"
118 register "FAN2.smart.tmp_delta" = " 2"
119 register "FAN2.smart.pwm_start" = "30"
120 register "FAN2.smart.slope" = "64"
121 register "FAN3.mode" = "FAN_MODE_OFF"
122 device pnp 2e.0 off end # Floppy
123 device pnp 2e.1 on # COM 1
124 io 0x60 = 0x3f8
125 irq 0x70 = 4
126 end
127 device pnp 2e.2 on # COM 2
128 io 0x60 = 0x2f8
129 irq 0x70 = 3
130 end
131 device pnp 2e.3 on # Printer Port
132 io 0x60 = 0x378
133 io 0x62 = 0x000
134 irq 0x70 = 7
135 drq 0x74 = 4
136 irq 0xf0 = 0x00
137 end
138 device pnp 2e.4 on # Environment Controller
139 io 0x60 = 0xa30
140 io 0x62 = 0xa20
141 irq 0x70 = 0
142 irq 0xf0 = 0x80
143 end
144 device pnp 2e.5 off end # Keyboard
145 device pnp 2e.6 off end # Mouse
146 device pnp 2e.7 off end # GPIO
147 device pnp 2e.8 on # COM 3
148 io 0x60 = 0x3e8
149 irq 0x70 = 4
150 end
151 device pnp 2e.9 on # COM 4
152 io 0x60 = 0x2e8
153 irq 0x70 = 3
154 end
155 device pnp 2e.a off end # COM 5
156 device pnp 2e.b off end # COM 6
157 device pnp 2e.c off end # CIR
158 end
159 end # LPC bridge
160 device pci 1f.2 on end # SATA Controller 1
161 device pci 1f.3 on end # SMBus
162 device pci 1f.5 off end # SATA Controller 2
163 device pci 1f.6 off end # Thermal
164 end
165 end
166end