xref: /openbmc/u-boot/arch/arm/mach-mvebu/Kconfig (revision 103e83a1)
1if ARCH_MVEBU
2
3config ARMADA_32BIT
4	bool
5	select CPU_V7
6	select SUPPORT_SPL
7	select SPL_DM
8	select SPL_DM_SEQ_ALIAS
9	select SPL_OF_CONTROL
10	select SPL_SIMPLE_BUS
11
12config ARMADA_64BIT
13	bool
14	select ARM64
15
16# ARMv7 SoCs...
17config ARMADA_375
18	bool
19	select ARMADA_32BIT
20
21config ARMADA_38X
22	bool
23	select ARMADA_32BIT
24
25config ARMADA_XP
26	bool
27	select ARMADA_32BIT
28
29# ARMv8 SoCs...
30config ARMADA_3700
31	bool
32	select ARM64
33
34# Armada 7K and 8K are very similar - use only one Kconfig symbol for both
35config ARMADA_8K
36	bool
37	select ARM64
38
39# Armada PLL frequency (used for NAND clock generation)
40config SYS_MVEBU_PLL_CLOCK
41	int
42	default "2000000000" if ARMADA_XP || ARMADA_3700 || ARMADA_8K
43	default "1000000000" if ARMADA_38X || ARMADA_375
44
45# Armada XP/38x SoC types...
46config MV78230
47	bool
48	select ARMADA_XP
49
50config MV78260
51	bool
52	select ARMADA_XP
53
54config MV78460
55	bool
56	select ARMADA_XP
57
58config 88F6820
59	bool
60	select ARMADA_38X
61
62choice
63	prompt "Armada XP/375/38x/3700/7K/8K board select"
64	optional
65
66config TARGET_CLEARFOG
67	bool "Support ClearFog"
68	select 88F6820
69
70config TARGET_MVEBU_DB_88F3720
71	bool "Support DB-88F3720 Armada 3720"
72	select ARMADA_3700
73
74config TARGET_DB_88F6720
75	bool "Support DB-88F6720 Armada 375"
76	select ARMADA_375
77
78config TARGET_DB_88F6820_GP
79	bool "Support DB-88F6820-GP"
80	select 88F6820
81
82config TARGET_DB_88F6820_AMC
83	bool "Support DB-88F6820-AMC"
84	select 88F6820
85
86config TARGET_MVEBU_ARMADA_8K
87	bool "Support Armada 7k/8k platforms"
88	select ARMADA_8K
89
90config TARGET_DB_MV784MP_GP
91	bool "Support db-mv784mp-gp"
92	select MV78460
93
94config TARGET_DS414
95	bool "Support Synology DS414"
96	select MV78230
97
98config TARGET_MAXBCM
99	bool "Support maxbcm"
100	select MV78460
101
102config TARGET_THEADORABLE
103	bool "Support theadorable Armada XP"
104	select MV78260
105
106endchoice
107
108config SYS_BOARD
109	default "clearfog" if TARGET_CLEARFOG
110	default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
111	default "db-88f6720" if TARGET_DB_88F6720
112	default "db-88f6820-gp" if TARGET_DB_88F6820_GP
113	default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
114	default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
115	default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
116	default "ds414" if TARGET_DS414
117	default "maxbcm" if TARGET_MAXBCM
118	default "theadorable" if TARGET_THEADORABLE
119
120config SYS_CONFIG_NAME
121	default "clearfog" if TARGET_CLEARFOG
122	default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
123	default "db-88f6720" if TARGET_DB_88F6720
124	default "db-88f6820-gp" if TARGET_DB_88F6820_GP
125	default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
126	default "mvebu_armada-8k" if TARGET_MVEBU_ARMADA_8K
127	default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
128	default "ds414" if TARGET_DS414
129	default "maxbcm" if TARGET_MAXBCM
130	default "theadorable" if TARGET_THEADORABLE
131
132config SYS_VENDOR
133	default "Marvell" if TARGET_DB_MV784MP_GP
134	default "Marvell" if TARGET_MVEBU_DB_88F3720
135	default "Marvell" if TARGET_DB_88F6720
136	default "Marvell" if TARGET_DB_88F6820_GP
137	default "Marvell" if TARGET_DB_88F6820_AMC
138	default "Marvell" if TARGET_MVEBU_ARMADA_8K
139	default "solidrun" if TARGET_CLEARFOG
140	default "Synology" if TARGET_DS414
141
142config SYS_SOC
143	default "mvebu"
144
145endif
146