Kconfig 2.63 KB
Newer Older
1 2
if ATH79

3 4
menu "Atheros AR71XX/AR724X/AR913X machine selection"

5 6 7 8 9 10 11
config ATH79_MACH_AP121
	bool "Atheros AP121 reference board"
	select SOC_AR933X
	select ATH79_DEV_GPIO_BUTTONS
	select ATH79_DEV_LEDS_GPIO
	select ATH79_DEV_SPI
	select ATH79_DEV_USB
12
	select ATH79_DEV_WMAC
13 14 15 16
	help
	  Say 'Y' here if you want your kernel to support the
	  Atheros AP121 reference board.

17 18 19 20 21 22 23 24 25 26 27 28
config ATH79_MACH_AP136
	bool "Atheros AP136 reference board"
	select SOC_QCA955X
	select ATH79_DEV_GPIO_BUTTONS
	select ATH79_DEV_LEDS_GPIO
	select ATH79_DEV_SPI
	select ATH79_DEV_USB
	select ATH79_DEV_WMAC
	help
	  Say 'Y' here if you want your kernel to support the
	  Atheros AP136 reference board.

29 30 31 32 33 34
config ATH79_MACH_AP81
	bool "Atheros AP81 reference board"
	select SOC_AR913X
	select ATH79_DEV_GPIO_BUTTONS
	select ATH79_DEV_LEDS_GPIO
	select ATH79_DEV_SPI
35
	select ATH79_DEV_USB
36
	select ATH79_DEV_WMAC
37 38 39 40
	help
	  Say 'Y' here if you want your kernel to support the
	  Atheros AP81 reference board.

41 42 43 44 45 46 47 48 49 50 51 52
config ATH79_MACH_DB120
	bool "Atheros DB120 reference board"
	select SOC_AR934X
	select ATH79_DEV_GPIO_BUTTONS
	select ATH79_DEV_LEDS_GPIO
	select ATH79_DEV_SPI
	select ATH79_DEV_USB
	select ATH79_DEV_WMAC
	help
	  Say 'Y' here if you want your kernel to support the
	  Atheros DB120 reference board.

53 54 55
config ATH79_MACH_PB44
	bool "Atheros PB44 reference board"
	select SOC_AR71XX
56
	select ATH79_DEV_GPIO_BUTTONS
57
	select ATH79_DEV_LEDS_GPIO
58
	select ATH79_DEV_SPI
59
	select ATH79_DEV_USB
60 61 62 63
	help
	  Say 'Y' here if you want your kernel to support the
	  Atheros PB44 reference board.

64 65 66 67 68 69 70 71 72 73
config ATH79_MACH_UBNT_XM
	bool "Ubiquiti Networks XM (rev 1.0) board"
	select SOC_AR724X
	select ATH79_DEV_GPIO_BUTTONS
	select ATH79_DEV_LEDS_GPIO
	select ATH79_DEV_SPI
	help
	  Say 'Y' here if you want your kernel to support the
	  Ubiquiti Networks XM (rev 1.0) board.

74 75 76 77 78 79 80 81 82 83 84 85
choice
	prompt "Build a DTB in the kernel"
	optional
	help
	  Select a devicetree that should be built into the kernel.

	config DTB_TL_WR1043ND_V1
		bool "TL-WR1043ND Version 1"
		select BUILTIN_DTB
		select SOC_AR913X
endchoice

86 87
endmenu

88
config SOC_AR71XX
89
	select HW_HAS_PCI
90 91 92
	def_bool n

config SOC_AR724X
93
	select HW_HAS_PCI
94
	select PCI_AR724X if PCI
95 96 97 98 99
	def_bool n

config SOC_AR913X
	def_bool n

100 101 102
config SOC_AR933X
	def_bool n

103
config SOC_AR934X
104 105
	select HW_HAS_PCI
	select PCI_AR724X if PCI
106 107
	def_bool n

108
config SOC_QCA955X
109 110
	select HW_HAS_PCI
	select PCI_AR724X if PCI
111 112
	def_bool n

113 114 115
config PCI_AR724X
	def_bool n

116 117 118
config ATH79_DEV_GPIO_BUTTONS
	def_bool n

119 120 121
config ATH79_DEV_LEDS_GPIO
	def_bool n

122 123 124
config ATH79_DEV_SPI
	def_bool n

125 126 127
config ATH79_DEV_USB
	def_bool n

128
config ATH79_DEV_WMAC
129
	depends on (SOC_AR913X || SOC_AR933X || SOC_AR934X || SOC_QCA955X)
130 131
	def_bool n

132
endif