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