blob: 12b1e682e6a221b69cffb052043dcd703b61dcd4 [file] [log] [blame]
Masahiro Yamadae604ef92014-08-31 07:11:01 +09001if ARCH_DAVINCI
2
3choice
4 prompt "DaVinci board select"
Joe Hershbergerf0699602015-05-12 14:46:23 -05005 optional
Masahiro Yamadae604ef92014-08-31 07:11:01 +09006
Masahiro Yamadae604ef92014-08-31 07:11:01 +09007config TARGET_IPAM390
8 bool "IPAM390 board"
Adam Fordd1f15a12018-01-11 08:20:27 -06009 select MACH_DAVINCI_DA850_EVM
10 select SOC_DA850
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090011 select SUPPORT_SPL
Masahiro Yamadae604ef92014-08-31 07:11:01 +090012
Masahiro Yamadae604ef92014-08-31 07:11:01 +090013config TARGET_DA850EVM
14 bool "DA850 EVM board"
Adam Fordd1f15a12018-01-11 08:20:27 -060015 select MACH_DAVINCI_DA850_EVM
16 select SOC_DA850
Masahiro Yamada6e0971b2014-10-20 17:45:56 +090017 select SUPPORT_SPL
Masahiro Yamadae604ef92014-08-31 07:11:01 +090018
Masahiro Yamadae604ef92014-08-31 07:11:01 +090019config TARGET_EA20
20 bool "EA20 board"
Michal Simek7e7ba3b2018-07-23 15:55:15 +020021 select BOARD_LATE_INIT
Adam Fordd1f15a12018-01-11 08:20:27 -060022 select MACH_DAVINCI_DA850_EVM
23 select SOC_DA850
Masahiro Yamadae604ef92014-08-31 07:11:01 +090024
Simon Glassa6664e92015-08-30 19:18:59 -060025config TARGET_OMAPL138_LCDK
26 bool "OMAPL138 LCDK"
Tom Rinid97ca592018-01-31 15:34:49 -050027 select SOC_DA8XX
Simon Glassa6664e92015-08-30 19:18:59 -060028 select SUPPORT_SPL
Masahiro Yamadae604ef92014-08-31 07:11:01 +090029
30config TARGET_CALIMAIN
31 bool "Calimain board"
Adam Fordd1f15a12018-01-11 08:20:27 -060032 select SOC_DA850
Masahiro Yamadae604ef92014-08-31 07:11:01 +090033
David Lechnera67f16f2016-02-26 00:46:07 -060034config TARGET_LEGOEV3
35 bool "LEGO MINDSTORMS EV3"
Adam Fordd1f15a12018-01-11 08:20:27 -060036 select MACH_DAVINCI_DA850_EVM
37 select SOC_DA850
David Lechnera67f16f2016-02-26 00:46:07 -060038
Masahiro Yamadae604ef92014-08-31 07:11:01 +090039endchoice
40
Masahiro Yamadae604ef92014-08-31 07:11:01 +090041config SYS_SOC
Masahiro Yamadae604ef92014-08-31 07:11:01 +090042 default "davinci"
43
Adam Fordd1f15a12018-01-11 08:20:27 -060044config DA850_LOWLEVEL
45 bool "Enable Lowlevel DA850 initialization"
46 depends on SOC_DA850
47
Fabien Parentb1bd48b2016-11-29 14:23:36 +010048config SYS_DA850_PLL_INIT
49 bool
50
Fabien Parent06372b62016-11-29 14:23:37 +010051config SYS_DA850_DDR_INIT
52 bool
53
Adam Fordd1f15a12018-01-11 08:20:27 -060054config SOC_DA850
55 bool
56 select SOC_DA8XX
Adam Fordd1f15a12018-01-11 08:20:27 -060057
58config SOC_DA8XX
59 bool
Lokesh Vutlabcb8d282018-03-16 14:22:12 +053060 select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL
Michal Simek7e7ba3b2018-07-23 15:55:15 +020061 select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL
Adam Fordd1f15a12018-01-11 08:20:27 -060062
63config MACH_DAVINCI_DA850_EVM
64 bool
65
Adam Ford71750ee2018-01-23 04:04:28 -060066if SYS_DA850_PLL_INIT
67comment "DA850 PLL Initialization Parameters"
68
69config SYS_DV_CLKMODE
70 int "PLLCTL Clock Mode"
Tom Rinid97ca592018-01-31 15:34:49 -050071 default 0
Adam Ford71750ee2018-01-23 04:04:28 -060072 help
73 Set PLLCTL Clock Mode bit as External Clock or On Chip oscillator
74
75config SYS_DA850_PLL0_POSTDIV
76 int "PLLC0 PLL Post-Divider"
Tom Rinid97ca592018-01-31 15:34:49 -050077 default 1
Adam Ford71750ee2018-01-23 04:04:28 -060078 help
79 Value written to PLLC0 PLL Post-Divider Control Register
80
81config SYS_DA850_PLL0_PLLDIV1
82 hex "PLLC0 Divider 1"
Tom Rinid97ca592018-01-31 15:34:49 -050083 default 0x8000
Adam Ford71750ee2018-01-23 04:04:28 -060084 help
85 Value written to PLLC0 Divider 1 register
86
87config SYS_DA850_PLL0_PLLDIV2
88 hex "PLLC0 Divider 2"
Tom Rinid97ca592018-01-31 15:34:49 -050089 default 0x8001
Adam Ford71750ee2018-01-23 04:04:28 -060090 help
91 Value written to PLLC0 Divider 2 register
92
93config SYS_DA850_PLL0_PLLDIV3
94 hex "PLLC0 Divider 3"
Tom Rinid97ca592018-01-31 15:34:49 -050095 default 0x8002
Adam Ford71750ee2018-01-23 04:04:28 -060096 help
97 Value written to PLLC0 Divider 3 register
98
99config SYS_DA850_PLL0_PLLDIV4
100 hex "PLLC0 Divider 4"
Tom Rinid97ca592018-01-31 15:34:49 -0500101 default 0x8003
Adam Ford71750ee2018-01-23 04:04:28 -0600102 help
103 Value written to PLLC0 Divider 4 register
104
105config SYS_DA850_PLL0_PLLDIV5
106 hex "PLLC0 Divider 5"
Tom Rinid97ca592018-01-31 15:34:49 -0500107 default 0x8002
Adam Ford71750ee2018-01-23 04:04:28 -0600108 help
109 Value written to PLLC0 Divider 5 register
110
111config SYS_DA850_PLL0_PLLDIV6
112 hex "PLLC0 Divider 6"
Tom Rinid97ca592018-01-31 15:34:49 -0500113 default 0x8000
Adam Ford71750ee2018-01-23 04:04:28 -0600114 help
115 Value written to PLLC0 Divider 6 register
116
117config SYS_DA850_PLL0_PLLDIV7
118 hex "PLLC0 Divider 7"
Tom Rinid97ca592018-01-31 15:34:49 -0500119 default 0x8005
Adam Ford71750ee2018-01-23 04:04:28 -0600120 help
121 Value written to PLLC0 Divider 7 register
122
123config SYS_DA850_PLL1_POSTDIV
124 hex "PLLC1 PLL Post-Divider"
Tom Rinid97ca592018-01-31 15:34:49 -0500125 default 1
Adam Ford71750ee2018-01-23 04:04:28 -0600126 help
127 Value written to PLLC1 PLL Post-Divider Control Register
128
129config SYS_DA850_PLL1_PLLDIV1
130 hex "PLLC1 Divider 2"
Tom Rinid97ca592018-01-31 15:34:49 -0500131 default 0x8000
Adam Ford71750ee2018-01-23 04:04:28 -0600132 help
133 Value written to PLLC1 Divider 1 register
134
135config SYS_DA850_PLL1_PLLDIV2
136 hex "PLLC1 Divider 2"
Tom Rinid97ca592018-01-31 15:34:49 -0500137 default 0x8001
Adam Ford71750ee2018-01-23 04:04:28 -0600138 help
139 Value written to PLLC1 Divider 2 register
140
141config SYS_DA850_PLL1_PLLDIV3
142 hex "PLLC1 Divider 3"
Tom Rinid97ca592018-01-31 15:34:49 -0500143 default 0x8002
Adam Ford71750ee2018-01-23 04:04:28 -0600144 help
145 Value written to PLLC1 Divider 3 register
146
147endif
148
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900149source "board/Barix/ipam390/Kconfig"
150source "board/davinci/da8xxevm/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900151source "board/davinci/ea20/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900152source "board/omicron/calimain/Kconfig"
David Lechnera67f16f2016-02-26 00:46:07 -0600153source "board/lego/ev3/Kconfig"
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900154
Philipp Tomsich2d6a0cc2017-08-03 23:23:55 +0200155config SPL_LDSCRIPT
156 default "board/$(BOARDDIR)/u-boot-spl-ipam390.lds" if TARGET_IPAM390
157 default "board/$(BOARDDIR)/u-boot-spl-da850evm.lds"
158
Masahiro Yamadae604ef92014-08-31 07:11:01 +0900159endif