blob: bc86f591df83a342f85440d59709cdfa1be8fc37 [file] [log] [blame]
Wills Wang833a1a82016-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 Wang2a551c52016-03-16 16:59:53 +08007config SOC_AR933X
8 bool
Michal Simek7e7ba3b2018-07-23 15:55:15 +02009 select MIPS_TUNE_24KC
10 select ROM_EXCEPTION_VECTORS
Wills Wang2a551c52016-03-16 16:59:53 +080011 select SUPPORTS_BIG_ENDIAN
12 select SUPPORTS_CPU_MIPS32_R1
13 select SUPPORTS_CPU_MIPS32_R2
Wills Wang2a551c52016-03-16 16:59:53 +080014 help
15 This supports QCA/Atheros ar933x family SOCs.
16
Marek Vasut6a713ea2016-05-06 20:10:40 +020017config SOC_AR934X
18 bool
Michal Simek7e7ba3b2018-07-23 15:55:15 +020019 select MIPS_TUNE_74KC
Marek Vasut6a713ea2016-05-06 20:10:40 +020020 select SUPPORTS_BIG_ENDIAN
21 select SUPPORTS_CPU_MIPS32_R1
22 select SUPPORTS_CPU_MIPS32_R2
Marek Vasut6a713ea2016-05-06 20:10:40 +020023 help
24 This supports QCA/Atheros ar934x family SOCs.
25
Wills Wang6b83b442016-03-16 16:59:54 +080026config SOC_QCA953X
27 bool
Michal Simek7e7ba3b2018-07-23 15:55:15 +020028 select MIPS_TUNE_24KC
29 select ROM_EXCEPTION_VECTORS
Wills Wang6b83b442016-03-16 16:59:54 +080030 select SUPPORTS_BIG_ENDIAN
31 select SUPPORTS_CPU_MIPS32_R1
32 select SUPPORTS_CPU_MIPS32_R2
Wills Wang6b83b442016-03-16 16:59:54 +080033 help
34 This supports QCA/Atheros qca953x family SOCs.
35
Wills Wang8d8d2ed2016-03-16 16:59:59 +080036choice
37 prompt "Board select"
38
39config TARGET_AP121
40 bool "AP121 Reference Board"
41 select SOC_AR933X
42
Wills Wang80c87982016-03-16 17:00:00 +080043config TARGET_AP143
44 bool "AP143 Reference Board"
45 select SOC_QCA953X
46
Marek Vasutaee83122016-05-06 20:10:41 +020047config BOARD_TPLINK_WDR4300
48 bool "TP-Link WDR4300 Board"
49 select SOC_AR934X
50
Wills Wang8d8d2ed2016-03-16 16:59:59 +080051endchoice
52
53source "board/qca/ap121/Kconfig"
Wills Wang80c87982016-03-16 17:00:00 +080054source "board/qca/ap143/Kconfig"
Marek Vasutaee83122016-05-06 20:10:41 +020055source "board/tplink/wdr4300/Kconfig"
Wills Wang8d8d2ed2016-03-16 16:59:59 +080056
Wills Wang833a1a82016-03-16 16:59:52 +080057endmenu