summaryrefslogtreecommitdiff
path: root/src/mainboard/ti/beaglebone/Kconfig
blob: df7ebeb5b34b0871cfb467c8b6e5a074d4af9046 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
##
## This file is part of the coreboot project.
##
## Copyright 2013 Google Inc.
##
## 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.
##
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##

if BOARD_TI_BEAGLEBONE

config BOARD_SPECIFIC_OPTIONS # dummy
	def_bool y
	select ARCH_ARMV7
	select CPU_TI_AM335X
	select BOARD_ROMSIZE_KB_4096

config MAINBOARD_DIR
	string
	default ti/beaglebone

config MAINBOARD_PART_NUMBER
	string
	default "Beaglebone"

config MAX_CPUS
	int
	default 1

config MAINBOARD_VENDOR
	string
	default "TI"

config BOOTBLOCK_MAINBOARD_INIT
	string
	default "mainboard/ti/beaglebone/bootblock.c"

config DRAM_SIZE_MB
	int
	default 256

config NR_DRAM_BANKS
	int
	default 1

config BOOTBLOCK_ROM_OFFSET
	hex
	default 0x0

config CBFS_HEADER_ROM_OFFSET
	hex
	default 0x10

choice CONSOLE_SERIAL_UART_CHOICES
	prompt "Serial Console UART"
	default CONSOLE_SERIAL_UART0
	depends on CONSOLE_SERIAL_UART

config CONSOLE_SERIAL_UART0
	bool "UART0"
	help
	  Serial console on UART0

config CONSOLE_SERIAL_UART1
	bool "UART1"
	help
	  Serial console on UART1

config CONSOLE_SERIAL_UART2
	bool "UART2"
	help
	  Serial console on UART2

config CONSOLE_SERIAL_UART3
	bool "UART3"
	help
	  Serial console on UART3

config CONSOLE_SERIAL_UART4
	bool "UART4"
	help
	  Serial console on UART4

config CONSOLE_SERIAL_UART5
	bool "UART5"
	help
	  Serial console on UART5

endchoice

config CONSOLE_SERIAL_UART_ADDRESS
	hex
	depends on CONSOLE_SERIAL_UART
	default 0x44e09000 if CONSOLE_SERIAL_UART0
	default 0x48022000 if CONSOLE_SERIAL_UART1
	default 0x48024000 if CONSOLE_SERIAL_UART2
	default 0x481a6000 if CONSOLE_SERIAL_UART3
	default 0x481a8000 if CONSOLE_SERIAL_UART4
	default 0x481aa000 if CONSOLE_SERIAL_UART5
	help
	  Map the UART names to the respective MMIO address.

#################################################################
#   stuff from smdk5250.h                                       #
#   FIXME: can we move some of these to exynos5250's Kconfig?   #
#################################################################
config SYS_I2C_SPEED
	int
	default 100000

config I2C_MULTI_BUS
	bool
	default y

#FIXME: get proper voltages

config VDD_ARM_MV
	int
	default 1300	#1.3V

config VDD_INT_UV
	int
	default 1012500	# 1.0125v

config VDD_MIF_MV
	int
	default 1000	# 1.0v

config VDD_G3D_MV
	int
	default 1200	# 1.2v

config VDD_LDO2_MV
	int
	default 1500	# 1.5v

config VDD_LDO3_MV
	int
	default 1800	# 1.8v

config VDD_LDO5_MV
	int
	default 1800	# 1.8v

config VDD_LDO10_MV
	int
	default 1800	# 1.8v

endif # BOARD_TI_BEAGLEBONE