Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 1 | if ARCH_DAVINCI |
2 | |||||
3 | choice | ||||
4 | prompt "DaVinci board select" | ||||
Joe Hershberger | f069960 | 2015-05-12 14:46:23 -0500 | [diff] [blame] | 5 | optional |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 6 | |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 7 | config TARGET_DA850EVM |
8 | bool "DA850 EVM board" | ||||
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 9 | select MACH_DAVINCI_DA850_EVM |
10 | select SOC_DA850 | ||||
Masahiro Yamada | 6e0971b | 2014-10-20 17:45:56 +0900 | [diff] [blame] | 11 | select SUPPORT_SPL |
Adam Ford | 389ee8d | 2024-05-01 04:57:50 -0500 | [diff] [blame] | 12 | imply OF_UPSTREAM |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 13 | |
Simon Glass | a6664e9 | 2015-08-30 19:18:59 -0600 | [diff] [blame] | 14 | config TARGET_OMAPL138_LCDK |
15 | bool "OMAPL138 LCDK" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 16 | select SOC_DA8XX |
Simon Glass | a6664e9 | 2015-08-30 19:18:59 -0600 | [diff] [blame] | 17 | select SUPPORT_SPL |
Bartosz Golaszewski | f1412ef | 2019-11-14 16:10:30 +0100 | [diff] [blame] | 18 | select SPL_BOARD_INIT |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 19 | |
David Lechner | a67f16f | 2016-02-26 00:46:07 -0600 | [diff] [blame] | 20 | config TARGET_LEGOEV3 |
21 | bool "LEGO MINDSTORMS EV3" | ||||
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 22 | select MACH_DAVINCI_DA850_EVM |
23 | select SOC_DA850 | ||||
David Lechner | a67f16f | 2016-02-26 00:46:07 -0600 | [diff] [blame] | 24 | |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 25 | endchoice |
26 | |||||
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 27 | config SYS_SOC |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 28 | default "davinci" |
29 | |||||
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 30 | config DA850_LOWLEVEL |
31 | bool "Enable Lowlevel DA850 initialization" | ||||
32 | depends on SOC_DA850 | ||||
33 | |||||
Fabien Parent | b1bd48b | 2016-11-29 14:23:36 +0100 | [diff] [blame] | 34 | config SYS_DA850_PLL_INIT |
35 | bool | ||||
36 | |||||
Fabien Parent | 06372b6 | 2016-11-29 14:23:37 +0100 | [diff] [blame] | 37 | config SYS_DA850_DDR_INIT |
38 | bool | ||||
39 | |||||
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 40 | config SOC_DA850 |
41 | bool | ||||
42 | select SOC_DA8XX | ||||
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 43 | |
44 | config SOC_DA8XX | ||||
45 | bool | ||||
Lokesh Vutla | bcb8d28 | 2018-03-16 14:22:12 +0530 | [diff] [blame] | 46 | select SYS_DA850_DDR_INIT if SUPPORT_SPL || DA850_LOWLEVEL |
Michal Simek | 7e7ba3b | 2018-07-23 15:55:15 +0200 | [diff] [blame] | 47 | select SYS_DA850_PLL_INIT if SUPPORT_SPL || DA850_LOWLEVEL |
Adam Ford | d1f15a1 | 2018-01-11 08:20:27 -0600 | [diff] [blame] | 48 | |
49 | config MACH_DAVINCI_DA850_EVM | ||||
50 | bool | ||||
51 | |||||
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 52 | if SYS_DA850_PLL_INIT |
53 | comment "DA850 PLL Initialization Parameters" | ||||
54 | |||||
55 | config SYS_DV_CLKMODE | ||||
56 | int "PLLCTL Clock Mode" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 57 | default 0 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 58 | help |
59 | Set PLLCTL Clock Mode bit as External Clock or On Chip oscillator | ||||
60 | |||||
61 | config SYS_DA850_PLL0_POSTDIV | ||||
62 | int "PLLC0 PLL Post-Divider" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 63 | default 1 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 64 | help |
65 | Value written to PLLC0 PLL Post-Divider Control Register | ||||
66 | |||||
67 | config SYS_DA850_PLL0_PLLDIV1 | ||||
68 | hex "PLLC0 Divider 1" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 69 | default 0x8000 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 70 | help |
71 | Value written to PLLC0 Divider 1 register | ||||
72 | |||||
73 | config SYS_DA850_PLL0_PLLDIV2 | ||||
74 | hex "PLLC0 Divider 2" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 75 | default 0x8001 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 76 | help |
77 | Value written to PLLC0 Divider 2 register | ||||
78 | |||||
79 | config SYS_DA850_PLL0_PLLDIV3 | ||||
80 | hex "PLLC0 Divider 3" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 81 | default 0x8002 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 82 | help |
83 | Value written to PLLC0 Divider 3 register | ||||
84 | |||||
85 | config SYS_DA850_PLL0_PLLDIV4 | ||||
86 | hex "PLLC0 Divider 4" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 87 | default 0x8003 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 88 | help |
89 | Value written to PLLC0 Divider 4 register | ||||
90 | |||||
91 | config SYS_DA850_PLL0_PLLDIV5 | ||||
92 | hex "PLLC0 Divider 5" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 93 | default 0x8002 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 94 | help |
95 | Value written to PLLC0 Divider 5 register | ||||
96 | |||||
97 | config SYS_DA850_PLL0_PLLDIV6 | ||||
98 | hex "PLLC0 Divider 6" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 99 | default 0x8000 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 100 | help |
101 | Value written to PLLC0 Divider 6 register | ||||
102 | |||||
103 | config SYS_DA850_PLL0_PLLDIV7 | ||||
104 | hex "PLLC0 Divider 7" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 105 | default 0x8005 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 106 | help |
107 | Value written to PLLC0 Divider 7 register | ||||
108 | |||||
109 | config SYS_DA850_PLL1_POSTDIV | ||||
110 | hex "PLLC1 PLL Post-Divider" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 111 | default 1 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 112 | help |
113 | Value written to PLLC1 PLL Post-Divider Control Register | ||||
114 | |||||
115 | config SYS_DA850_PLL1_PLLDIV1 | ||||
116 | hex "PLLC1 Divider 2" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 117 | default 0x8000 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 118 | help |
119 | Value written to PLLC1 Divider 1 register | ||||
120 | |||||
121 | config SYS_DA850_PLL1_PLLDIV2 | ||||
122 | hex "PLLC1 Divider 2" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 123 | default 0x8001 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 124 | help |
125 | Value written to PLLC1 Divider 2 register | ||||
126 | |||||
127 | config SYS_DA850_PLL1_PLLDIV3 | ||||
128 | hex "PLLC1 Divider 3" | ||||
Tom Rini | d97ca59 | 2018-01-31 15:34:49 -0500 | [diff] [blame] | 129 | default 0x8002 |
Adam Ford | 71750ee | 2018-01-23 04:04:28 -0600 | [diff] [blame] | 130 | help |
131 | Value written to PLLC1 Divider 3 register | ||||
132 | |||||
133 | endif | ||||
134 | |||||
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 135 | source "board/davinci/da8xxevm/Kconfig" |
David Lechner | a67f16f | 2016-02-26 00:46:07 -0600 | [diff] [blame] | 136 | source "board/lego/ev3/Kconfig" |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 137 | |
Masahiro Yamada | e604ef9 | 2014-08-31 07:11:01 +0900 | [diff] [blame] | 138 | endif |