summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/galileo/devicetree.cb
blob: 12d19a82a66322546fc581a2b808cb9f7eb93da4 (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
##
## This file is part of the coreboot project.
##
##
## SPDX-License-Identifier: GPL-2.0-only

chip soc/intel/quark

	############################################################
	# Set the parameters for MemoryInit
	############################################################

	register "AddrMode" = "0"
	register "ChanMask" = "1"		# Channel 0 enabled
	register "ChanWidth" = "1"		# 16-bit channel
	register "DramDensity" = "1"		# 1 Gib;
	register "DramRonVal" = "0"		# 34 Ohm
	register "DramRttNomVal" = "2"		# 120 Ohm
	register "DramRttWrVal" = "0"		# off
	register "DramSpeed" = "0"		# 800 MHz
	register "DramType" = "0"		# DDR3
	register "DramWidth" = "0"		# 8-bit
	register "EccScrubBlkSize" = "2"	# 64 byte blocks
	register "EccScrubInterval" = "0"	# ECC scrub disabled
	register "Flags" = "MRC_FLAG_SCRAMBLE_EN"
	register "FspReservedMemoryLength" = "0x00100000"	# Size in bytes
	register "RankMask" = "1"		# RANK 0 enabled
	register "SmmTsegSize" = "0"		# SMM Region size in MiB
	register "SocRdOdtVal" = "0"		# off
	register "SocWrRonVal" = "1"		# 32 Ohm
	register "SocWrSlewRate" = "1"		# 4V/nSec
	register "SrInt" = "3"			# 7.8 uSec
	register "SrTemp" = "0"			# normal
	register "tCL" = "6"			# clocks
	register "tFAW" = "40000"		# picoseconds
	register "tRAS" = "37500"		# picoseconds
	register "tRRD" = "10000"		# picoseconds
	register "tWTR" = "10000"		# picoseconds

	############################################################
	# Enable the devices
	############################################################

	device domain 0 on
					# EDS Table 3
		device pci 00.0 on end	# 8086 0958 - Host Bridge
		device pci 14.0 on end	# 8086 08A7 - SD/SDIO/eMMC controller
		device pci 14.1 off end	# 8086 0936 - HSUART 0
		device pci 14.2 on end	# 8086 0939 - USB 2.0 Device port
		device pci 14.3 on end	# 8086 0939 - USB EHCI Host controller
		device pci 14.4 on end	# 8086 093A - USB OHCI Host controller
		device pci 14.5 on end	# 8086 0936 - HSUART 1
		device pci 14.6 off end	# 8086 0937 - 10/100 Ethernet MAC 0
		device pci 14.7 off end	# 8086 0937 - 10/100 Ethernet MAC 1
		device pci 15.0 on end	# 8086 0935 - SPI controller 0
		device pci 15.1 on end	# 8086 0935 - SPI controller 1
		device pci 15.2 on end	# 8086 0934 - I2C/GPIO controller
		device pci 17.0 on end	# 8086 11C3 - PCIe Root Port 0
		device pci 17.1 off end	# 8086 11C4 - PCIe Root Port 1
		device pci 1f.0 on end	# 8086 095E - Legacy Bridge
	end
end