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