aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mohonpeak/devicetree.cb
blob: 1df54d395c4f78abdcec1081b05f4b6dc55d890b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# This file is part of the coreboot project.
#
# Copyright (C) 2013 Sage Electronic Engineering, LLC.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
chip northbridge/intel/fsp_rangeley

	device cpu_cluster 0 on
		chip cpu/intel/socket_rPGA989
			device lapic 0 on end
		end
		chip cpu/intel/fsp_model_406dx
			# Magic APIC ID to locate this chip
			device lapic 0xACAC off end

			register "c1_battery" = "3"	# ACPI(C1) = MWAIT(C3)
			register "c2_battery" = "4"	# ACPI(C2) = MWAIT(C6)
			register "c3_battery" = "5"	# ACPI(C3) = MWAIT(C7)

			register "c1_acpower" = "3"	# ACPI(C1) = MWAIT(C3)
			register "c2_acpower" = "4"	# ACPI(C2) = MWAIT(C6)
			register "c3_acpower" = "5"	# ACPI(C3) = MWAIT(C7)
		end
	end

	device domain 0 on
		device pci 00.0 on end # host bridge
		device pci 1.0 on end # PCIe Port #1
		device pci 2.0 on end # PCIe Port #2
		device pci 3.0 on end # PCIe Port #3
		device pci 4.0 on end # PCIe Port #4
		chip southbridge/intel/fsp_rangeley # Rangeley SB

			register "ide_legacy_combined" = "0x0"
			register "sata_ahci" = "0x1"
			register "sata_port_map" = "0x0f"

			register "fadt_pm_profile" = "PM_DESKTOP"
			register "fadt_boot_arch" = "ACPI_FADT_LEGACY_FREE"

			device pci 0b.0 on end # IQIA
			device pci 0e.0 on end # RAS
			device pci 13.0 on end # SMBus 1
			device pci 14.0 on end # GbE 0
			device pci 14.1 on end # GbE 1
			device pci 14.2 on end # GbE 2
			device pci 14.3 on end # GbE 3
			device pci 16.0 on end # USB EHCI
			device pci 17.0 on end # SATA 2.0
			device pci 18.0 on end # SATA 3.0
			device pci 1f.0 on end # LPC bridge
			device pci 1f.3 on end # SMBus 0
		end
	end
end