1menu "QCA/Atheros 7xxx/9xxx platforms"
2	depends on ARCH_ATH79
3
4config SYS_SOC
5	default "ath79"
6
7config SOC_AR933X
8	bool
9	select MIPS_TUNE_24KC
10	select ROM_EXCEPTION_VECTORS
11	select SUPPORTS_BIG_ENDIAN
12	select SUPPORTS_CPU_MIPS32_R1
13	select SUPPORTS_CPU_MIPS32_R2
14	help
15	  This supports QCA/Atheros ar933x family SOCs.
16
17config SOC_AR934X
18	bool
19	select MIPS_TUNE_74KC
20	select SUPPORTS_BIG_ENDIAN
21	select SUPPORTS_CPU_MIPS32_R1
22	select SUPPORTS_CPU_MIPS32_R2
23	select USB_EHCI_IS_TDI if USB_EHCI_HCD
24	help
25	  This supports QCA/Atheros ar934x family SOCs.
26
27config SOC_QCA953X
28	bool
29	select MIPS_TUNE_24KC
30	select ROM_EXCEPTION_VECTORS
31	select SUPPORTS_BIG_ENDIAN
32	select SUPPORTS_CPU_MIPS32_R1
33	select SUPPORTS_CPU_MIPS32_R2
34	help
35	  This supports QCA/Atheros qca953x family SOCs.
36
37config SOC_QCA956X
38	bool
39	select MIPS_TUNE_74KC
40	select SUPPORTS_BIG_ENDIAN
41	select SUPPORTS_CPU_MIPS32_R1
42	select SUPPORTS_CPU_MIPS32_R2
43	help
44	  This supports QCA/Atheros qca956x family SOCs.
45
46choice
47	prompt "Board select"
48
49config TARGET_AP121
50	bool "AP121 Reference Board"
51	select SOC_AR933X
52
53config TARGET_AP143
54	bool "AP143 Reference Board"
55	select SOC_QCA953X
56
57config TARGET_AP152
58	bool "AP152 Reference Board"
59	select SOC_QCA956X
60
61config BOARD_TPLINK_WDR4300
62	bool "TP-Link WDR4300 Board"
63	select SOC_AR934X
64
65endchoice
66
67source "board/qca/ap121/Kconfig"
68source "board/qca/ap143/Kconfig"
69source "board/qca/ap152/Kconfig"
70source "board/tplink/wdr4300/Kconfig"
71
72endmenu
73