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