blob: 30752839a3152999e7fbcaa21736010b7353c836 [file] [log] [blame]
Masahiro Yamada3491ba62014-08-31 07:11:01 +09001if ARCH_DAVINCI
2
3choice
4 prompt "DaVinci board select"
Joe Hershbergera26cd042015-05-12 14:46:23 -05005 optional
Masahiro Yamada3491ba62014-08-31 07:11:01 +09006
Masahiro Yamada3491ba62014-08-31 07:11:01 +09007config TARGET_IPAM390
8 bool "IPAM390 board"
Adam Ford6aa4ad82018-01-11 08:20:27 -06009 select MACH_DAVINCI_DA850_EVM
10 select SOC_DA850
Masahiro Yamada02627352014-10-20 17:45:56 +090011 select SUPPORT_SPL
Masahiro Yamada3491ba62014-08-31 07:11:01 +090012
Masahiro Yamada3491ba62014-08-31 07:11:01 +090013config TARGET_DA850EVM
14 bool "DA850 EVM board"
Adam Ford6aa4ad82018-01-11 08:20:27 -060015 select MACH_DAVINCI_DA850_EVM
16 select SOC_DA850
Masahiro Yamada02627352014-10-20 17:45:56 +090017 select SUPPORT_SPL
Masahiro Yamada3491ba62014-08-31 07:11:01 +090018
Masahiro Yamada3491ba62014-08-31 07:11:01 +090019config TARGET_EA20
20 bool "EA20 board"
Adam Ford6aa4ad82018-01-11 08:20:27 -060021 select MACH_DAVINCI_DA850_EVM
22 select SOC_DA850
Tom Rinie5ec4812017-01-22 19:43:11 -050023 select BOARD_LATE_INIT
Masahiro Yamada3491ba62014-08-31 07:11:01 +090024
Simon Glass67619462015-08-30 19:18:59 -060025config TARGET_OMAPL138_LCDK
26 bool "OMAPL138 LCDK"
Tom Rini2e879802018-01-31 15:34:49 -050027 select SOC_DA8XX
Simon Glass67619462015-08-30 19:18:59 -060028 select SUPPORT_SPL
Masahiro Yamada3491ba62014-08-31 07:11:01 +090029
30config TARGET_CALIMAIN
31 bool "Calimain board"
Adam Ford6aa4ad82018-01-11 08:20:27 -060032 select SOC_DA850
Masahiro Yamada3491ba62014-08-31 07:11:01 +090033
David Lechner2ac07f72016-02-26 00:46:07 -060034config TARGET_LEGOEV3
35 bool "LEGO MINDSTORMS EV3"
Adam Ford6aa4ad82018-01-11 08:20:27 -060036 select MACH_DAVINCI_DA850_EVM
37 select SOC_DA850
David Lechner2ac07f72016-02-26 00:46:07 -060038
Masahiro Yamada3491ba62014-08-31 07:11:01 +090039endchoice
40
Masahiro Yamada3491ba62014-08-31 07:11:01 +090041config SYS_SOC
Masahiro Yamada3491ba62014-08-31 07:11:01 +090042 default "davinci"
43
Adam Ford6aa4ad82018-01-11 08:20:27 -060044config DA850_LOWLEVEL
45 bool "Enable Lowlevel DA850 initialization"
46 depends on SOC_DA850
47
Fabien Parentf519b362016-11-29 14:23:36 +010048config SYS_DA850_PLL_INIT
49 bool
50
Fabien Parentb31bf372016-11-29 14:23:37 +010051config SYS_DA850_DDR_INIT
52 bool
53
Adam Ford6aa4ad82018-01-11 08:20:27 -060054config SOC_DA850
55 bool
56 select SOC_DA8XX
Adam Ford6aa4ad82018-01-11 08:20:27 -060057
58config SOC_DA8XX
59 bool
60 select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL
61
62config MACH_DAVINCI_DA850_EVM
63 bool
64
Adam Ford76e22222018-01-23 04:04:28 -060065if SYS_DA850_PLL_INIT
66comment "DA850 PLL Initialization Parameters"
67
68config SYS_DV_CLKMODE
69 int "PLLCTL Clock Mode"
Tom Rini2e879802018-01-31 15:34:49 -050070 default 0
Adam Ford76e22222018-01-23 04:04:28 -060071 help
72 Set PLLCTL Clock Mode bit as External Clock or On Chip oscillator
73
74config SYS_DA850_PLL0_POSTDIV
75 int "PLLC0 PLL Post-Divider"
Tom Rini2e879802018-01-31 15:34:49 -050076 default 1
Adam Ford76e22222018-01-23 04:04:28 -060077 help
78 Value written to PLLC0 PLL Post-Divider Control Register
79
80config SYS_DA850_PLL0_PLLDIV1
81 hex "PLLC0 Divider 1"
Tom Rini2e879802018-01-31 15:34:49 -050082 default 0x8000
Adam Ford76e22222018-01-23 04:04:28 -060083 help
84 Value written to PLLC0 Divider 1 register
85
86config SYS_DA850_PLL0_PLLDIV2
87 hex "PLLC0 Divider 2"
Tom Rini2e879802018-01-31 15:34:49 -050088 default 0x8001
Adam Ford76e22222018-01-23 04:04:28 -060089 help
90 Value written to PLLC0 Divider 2 register
91
92config SYS_DA850_PLL0_PLLDIV3
93 hex "PLLC0 Divider 3"
Tom Rini2e879802018-01-31 15:34:49 -050094 default 0x8002
Adam Ford76e22222018-01-23 04:04:28 -060095 help
96 Value written to PLLC0 Divider 3 register
97
98config SYS_DA850_PLL0_PLLDIV4
99 hex "PLLC0 Divider 4"
Tom Rini2e879802018-01-31 15:34:49 -0500100 default 0x8003
Adam Ford76e22222018-01-23 04:04:28 -0600101 help
102 Value written to PLLC0 Divider 4 register
103
104config SYS_DA850_PLL0_PLLDIV5
105 hex "PLLC0 Divider 5"
Tom Rini2e879802018-01-31 15:34:49 -0500106 default 0x8002
Adam Ford76e22222018-01-23 04:04:28 -0600107 help
108 Value written to PLLC0 Divider 5 register
109
110config SYS_DA850_PLL0_PLLDIV6
111 hex "PLLC0 Divider 6"
Tom Rini2e879802018-01-31 15:34:49 -0500112 default 0x8000
Adam Ford76e22222018-01-23 04:04:28 -0600113 help
114 Value written to PLLC0 Divider 6 register
115
116config SYS_DA850_PLL0_PLLDIV7
117 hex "PLLC0 Divider 7"
Tom Rini2e879802018-01-31 15:34:49 -0500118 default 0x8005
Adam Ford76e22222018-01-23 04:04:28 -0600119 help
120 Value written to PLLC0 Divider 7 register
121
122config SYS_DA850_PLL1_POSTDIV
123 hex "PLLC1 PLL Post-Divider"
Tom Rini2e879802018-01-31 15:34:49 -0500124 default 1
Adam Ford76e22222018-01-23 04:04:28 -0600125 help
126 Value written to PLLC1 PLL Post-Divider Control Register
127
128config SYS_DA850_PLL1_PLLDIV1
129 hex "PLLC1 Divider 2"
Tom Rini2e879802018-01-31 15:34:49 -0500130 default 0x8000
Adam Ford76e22222018-01-23 04:04:28 -0600131 help
132 Value written to PLLC1 Divider 1 register
133
134config SYS_DA850_PLL1_PLLDIV2
135 hex "PLLC1 Divider 2"
Tom Rini2e879802018-01-31 15:34:49 -0500136 default 0x8001
Adam Ford76e22222018-01-23 04:04:28 -0600137 help
138 Value written to PLLC1 Divider 2 register
139
140config SYS_DA850_PLL1_PLLDIV3
141 hex "PLLC1 Divider 3"
Tom Rini2e879802018-01-31 15:34:49 -0500142 default 0x8002
Adam Ford76e22222018-01-23 04:04:28 -0600143 help
144 Value written to PLLC1 Divider 3 register
145
146endif
147
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900148source "board/Barix/ipam390/Kconfig"
149source "board/davinci/da8xxevm/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900150source "board/davinci/ea20/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900151source "board/omicron/calimain/Kconfig"
David Lechner2ac07f72016-02-26 00:46:07 -0600152source "board/lego/ev3/Kconfig"
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900153
Philipp Tomsichb5299932017-08-03 23:23:55 +0200154config SPL_LDSCRIPT
155 default "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390
156 default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
157
Masahiro Yamada3491ba62014-08-31 07:11:01 +0900158endif