blob: cd85d1b6c31bc4cdccbac6e6d9623cd66262d06e [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 BehĂșne1489262021-10-09 15:27:35 +020023 select USB_EHCI_IS_TDI if USB_EHCI_HCD
Marek Vasut6a713ea2016-05-06 20:10:40 +020024 help
25 This supports QCA/Atheros ar934x family SOCs.
26
Wills Wang6b83b442016-03-16 16:59:54 +080027config SOC_QCA953X
28 bool
Michal Simek7e7ba3b2018-07-23 15:55:15 +020029 select MIPS_TUNE_24KC
30 select ROM_EXCEPTION_VECTORS
Wills Wang6b83b442016-03-16 16:59:54 +080031 select SUPPORTS_BIG_ENDIAN
32 select SUPPORTS_CPU_MIPS32_R1
33 select SUPPORTS_CPU_MIPS32_R2
Wills Wang6b83b442016-03-16 16:59:54 +080034 help
35 This supports QCA/Atheros qca953x family SOCs.
36
Rosy Songbd905c32019-03-16 09:24:44 +080037config 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
Wills Wang8d8d2ed2016-03-16 16:59:59 +080046choice
47 prompt "Board select"
48
49config TARGET_AP121
50 bool "AP121 Reference Board"
51 select SOC_AR933X
52
Wills Wang80c87982016-03-16 17:00:00 +080053config TARGET_AP143
54 bool "AP143 Reference Board"
55 select SOC_QCA953X
56
Rosy Songbd905c32019-03-16 09:24:44 +080057config TARGET_AP152
58 bool "AP152 Reference Board"
59 select SOC_QCA956X
60
Marek Vasutaee83122016-05-06 20:10:41 +020061config BOARD_TPLINK_WDR4300
62 bool "TP-Link WDR4300 Board"
63 select SOC_AR934X
64
Wills Wang8d8d2ed2016-03-16 16:59:59 +080065endchoice
66
67source "board/qca/ap121/Kconfig"
Wills Wang80c87982016-03-16 17:00:00 +080068source "board/qca/ap143/Kconfig"
Rosy Songbd905c32019-03-16 09:24:44 +080069source "board/qca/ap152/Kconfig"
Marek Vasutaee83122016-05-06 20:10:41 +020070source "board/tplink/wdr4300/Kconfig"
Wills Wang8d8d2ed2016-03-16 16:59:59 +080071
Wills Wang833a1a82016-03-16 16:59:52 +080072endmenu