blob: bdb23b57658fb77bee2681943f9cf4f1785b5a49 [file] [log] [blame]
Wills Wang1d3d0f12016-03-16 16:59:52 +08001menu "QCA/Atheros 7xxx/9xxx platforms"
2 depends on ARCH_ATH79
3
4config SYS_SOC
5 default "ath79"
6
Wills Wangee7bb5b2016-03-16 16:59:53 +08007config SOC_AR933X
8 bool
Michal Simek58008cb2018-07-23 15:55:15 +02009 select MIPS_TUNE_24KC
10 select ROM_EXCEPTION_VECTORS
Wills Wangee7bb5b2016-03-16 16:59:53 +080011 select SUPPORTS_BIG_ENDIAN
12 select SUPPORTS_CPU_MIPS32_R1
13 select SUPPORTS_CPU_MIPS32_R2
Wills Wangee7bb5b2016-03-16 16:59:53 +080014 help
15 This supports QCA/Atheros ar933x family SOCs.
16
Marek Vasute08539b2016-05-06 20:10:40 +020017config SOC_AR934X
18 bool
Michal Simek58008cb2018-07-23 15:55:15 +020019 select MIPS_TUNE_74KC
Marek Vasute08539b2016-05-06 20:10:40 +020020 select SUPPORTS_BIG_ENDIAN
21 select SUPPORTS_CPU_MIPS32_R1
22 select SUPPORTS_CPU_MIPS32_R2
Marek Vasute08539b2016-05-06 20:10:40 +020023 help
24 This supports QCA/Atheros ar934x family SOCs.
25
Wills Wang9b03f802016-03-16 16:59:54 +080026config SOC_QCA953X
27 bool
Michal Simek58008cb2018-07-23 15:55:15 +020028 select MIPS_TUNE_24KC
29 select ROM_EXCEPTION_VECTORS
Wills Wang9b03f802016-03-16 16:59:54 +080030 select SUPPORTS_BIG_ENDIAN
31 select SUPPORTS_CPU_MIPS32_R1
32 select SUPPORTS_CPU_MIPS32_R2
Wills Wang9b03f802016-03-16 16:59:54 +080033 help
34 This supports QCA/Atheros qca953x family SOCs.
35
Rosy Song61290fb2019-03-16 09:24:44 +080036config SOC_QCA956X
37 bool
38 select MIPS_TUNE_74KC
39 select SUPPORTS_BIG_ENDIAN
40 select SUPPORTS_CPU_MIPS32_R1
41 select SUPPORTS_CPU_MIPS32_R2
42 help
43 This supports QCA/Atheros qca956x family SOCs.
44
Wills Wang6a7b52b2016-03-16 16:59:59 +080045choice
46 prompt "Board select"
47
48config TARGET_AP121
49 bool "AP121 Reference Board"
50 select SOC_AR933X
51
Wills Wanga2277cc2016-03-16 17:00:00 +080052config TARGET_AP143
53 bool "AP143 Reference Board"
54 select SOC_QCA953X
55
Rosy Song61290fb2019-03-16 09:24:44 +080056config TARGET_AP152
57 bool "AP152 Reference Board"
58 select SOC_QCA956X
59
Marek Vasut400df302016-05-06 20:10:41 +020060config BOARD_TPLINK_WDR4300
61 bool "TP-Link WDR4300 Board"
62 select SOC_AR934X
63
Wills Wang6a7b52b2016-03-16 16:59:59 +080064endchoice
65
66source "board/qca/ap121/Kconfig"
Wills Wanga2277cc2016-03-16 17:00:00 +080067source "board/qca/ap143/Kconfig"
Rosy Song61290fb2019-03-16 09:24:44 +080068source "board/qca/ap152/Kconfig"
Marek Vasut400df302016-05-06 20:10:41 +020069source "board/tplink/wdr4300/Kconfig"
Wills Wang6a7b52b2016-03-16 16:59:59 +080070
Wills Wang1d3d0f12016-03-16 16:59:52 +080071endmenu