blob: 8928b8798818f28ba059280e542b99a1d7dc8123 [file] [log] [blame]
Nico Huberefe1fed2013-04-29 18:00:57 +02001chip northbridge/intel/sandybridge
Vladimir Serbinenkodd2bc3f2014-10-31 09:16:31 +01002 # IGD Displays
3 register "gfx.ndid" = "3"
4 register "gfx.did" = "{ 0x80000100, 0x80000240, 0x80000410, 0x80000410, 0x00000005 }"
Nico Huberefe1fed2013-04-29 18:00:57 +02005
6 device cpu_cluster 0 on
Nico Huberefe1fed2013-04-29 18:00:57 +02007 chip cpu/intel/model_206ax
8 # Magic APIC ID to locate this chip
Arthur Heymans7e6946a2019-01-21 17:55:02 +01009 device lapic 0x0 on end
Arthur Heymansb3f23232019-01-21 17:48:55 +010010 device lapic 0xacac off end
Nico Huberefe1fed2013-04-29 18:00:57 +020011
Nico Huberefe1fed2013-04-29 18:00:57 +020012 register "c1_acpower" = "1" # ACPI(C1) = MWAIT(C1)
13 register "c2_acpower" = "4" # ACPI(C2) = MWAIT(C3)
14 register "c3_acpower" = "0" # ACPI(C3) = MWAIT(C7)
15
16 register "c1_battery" = "1" # ACPI(C1) = MWAIT(C1)
17 register "c2_battery" = "4" # ACPI(C2) = MWAIT(C3)
18 register "c3_battery" = "0" # ACPI(C3) = MWAIT(C7)
19 end
20 end
21
22 device domain 0 on
23 device pci 00.0 on end # host bridge
24 device pci 01.0 on end # PCIe Bridge x16
25 device pci 02.0 on end # vga controller
26
27 chip southbridge/intel/bd82x6x # Intel Series 6 Cougar Point PCH
Nico Huberefe1fed2013-04-29 18:00:57 +020028 # Enable all SATA ports 0-5
29 register "sata_port_map" = "0x3f"
30 # Set max SATA speed to 6.0 Gb/s (should be the default, anyway)
31 register "sata_interface_speed_support" = "0x3"
32
33 # TODO: Enable generic LPC decodes...
34 register "gen1_dec" = "0x001c02e1"
35 #register "gen2_dec" = "0x00000000"
36 #register "gen3_dec" = "0x00000000"
37 #register "gen4_dec" = "0x00000000"
38
39 # Disable root port coalescing
40 register "pcie_port_coalesce" = "0"
41
Vladimir Serbinenko5b044ae2014-10-25 15:20:55 +020042 register "c2_latency" = "101" # c2 not supported
Vladimir Serbinenko5b044ae2014-10-25 15:20:55 +020043
Nico Huberee09d9c2015-08-19 15:46:13 +020044 register "xhci_switchable_ports" = "0x0f"
45 register "superspeed_capable_ports" = "0x0f"
46
Nico Huberefe1fed2013-04-29 18:00:57 +020047 device pci 14.0 on end # USB 3.0 Controller
48 device pci 16.0 on end # Management Engine Interface 1
49 device pci 16.1 off end # Management Engine Interface 2
50 device pci 16.2 off end # Management Engine IDE-R
51 device pci 16.3 off end # Management Engine KT
52 device pci 19.0 on end # Intel Gigabit Ethernet
53 device pci 1a.0 on end # USB2 EHCI #2
54 device pci 1b.0 on end # High Definition Audio
55
56 # Disabling 1c.0 might break IRQ settings as it enables port coalescing
57 # There are two mini PCIe x1 sockets, so one PCIe port is unrouted
58 device pci 1c.0 on end # PCIe Port #1 mini PCIe x1?
59 device pci 1c.1 on end # PCIe Port #2 mini PCIe x1?
60 device pci 1c.2 on end # PCIe Port #3 second Ethernet NIC
61 device pci 1c.3 on end # PCIe Port #4 third Ethernet NIC
62 device pci 1c.4 on end # PCIe Port #5 first Ethernet PHY
63 device pci 1c.5 on end # PCIe Port #6 FireWire
64 device pci 1c.6 on end # PCIe Port #7 PCIe x1
65 device pci 1c.7 on end # PCIe Port #8 mini PCIe x1?
66
67 device pci 1d.0 on end # USB2 EHCI #1
68 device pci 1e.0 off end # PCI bridge
69 device pci 1f.0 on #LPC bridge
70 chip superio/winbond/w83627dhg
71 device pnp 2e.0 off # Floppy
72 end
73 device pnp 2e.1 off # Parallel Port
74 end
75 device pnp 2e.2 on # Com1
76 io 0x60 = 0x3f8
77 irq 0x70 = 4
78 end
79 device pnp 2e.3 on # Com2
80 io 0x60 = 0x2f8
81 irq 0x70 = 3
82 end
83 device pnp 2e.5 off # Keyboard
84 end
85 device pnp 2e.6 off # SPI
86 end
87 device pnp 2e.307 off # GPIO 1
88 end
89 device pnp 2e.8 off # WDTO#, PLED
90 end
91 device pnp 2e.009 on # GPIO2 -- original firmware sets this on
92 end
93 device pnp 2e.109 on # GPIO3 -- original firmware sets this on
94 end
95 device pnp 2e.209 off # GPIO4
96 end
97 device pnp 2e.309 off # GPIO5
98 end
99 device pnp 2e.a off # ACPI
100 end
101 device pnp 2e.b off # HWM
102 end
103 device pnp 2e.c off # PECI, SST
104 end
105 end #superio/winbond/w83627dhg
106 chip ec/kontron/it8516e
107 # Set CPU Fan to 50°C, System Fan to 75%
108 register "default_fan_mode" = "{ IT8516E_MODE_THERMAL, IT8516E_MODE_PWM }"
109 register "default_fan_target" = "{ 50, 75 }"
110
111 # TODO: Check status when Linux runs
112 device pnp 20e.1 on # Com3
113 io 0x60 = 0x03e8
114 irq 0x70 = 4
115 end
116 device pnp 20e.2 on # Com4
117 io 0x60 = 0x02e8
118 irq 0x70 = 3
119 end
120 device pnp 20e.4 off # System Wakeup
121 end
122 device pnp 20e.5 on # Mouse
123 irq 0x70 = 12
124 end
125 device pnp 20e.6 on # Keyboard
126 io 0x60 = 0x0060
127 io 0x62 = 0x0064
128 irq 0x70 = 1
129 end
130 device pnp 20e.f off # Shared Memory
131 end
132 device pnp 20e.10 off # BRAM / RTC
133 end
134 device pnp 20e.11 on # PM channel 1
135 io 0x60 = 0x0062
136 io 0x62 = 0x0066
137 irq 0x70 = 0
138 end
139 device pnp 20e.12 on # PM channel 2
140 io 0x60 = 0x020c
141 io 0x62 = 0x020d
142 irq 0x70 = 0
143 end
144 device pnp 20e.17 off # PM channel 3
145 end
146 end #ec/kontron/it8516e
147 # TODO: TPM on 4e
148 end # LPC bridge
149 device pci 1f.2 on end # SATA Controller 1
150 device pci 1f.3 on end # SMBus
151 device pci 1f.5 off end # SATA Controller 2
152 device pci 1f.6 off end # Thermal
153 end
154 end
155end