Kconfig 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. if ETRAX_ARCH_V32
  2. source arch/cris/arch-v32/mach-fs/Kconfig
  3. source arch/cris/arch-v32/mach-a3/Kconfig
  4. source drivers/cpufreq/Kconfig
  5. config ETRAX_DRAM_VIRTUAL_BASE
  6. hex
  7. depends on ETRAX_ARCH_V32
  8. default "c0000000"
  9. choice
  10. prompt "Nbr of Ethernet LED groups"
  11. depends on ETRAX_ARCH_V32
  12. default ETRAX_NBR_LED_GRP_ONE
  13. help
  14. Select how many Ethernet LED groups that can be used. Usually one per Ethernet
  15. interface is a good choice.
  16. config ETRAX_NBR_LED_GRP_ZERO
  17. bool "Use zero LED groups"
  18. help
  19. Select this if you do not want any Ethernet LEDs.
  20. config ETRAX_NBR_LED_GRP_ONE
  21. bool "Use one LED group"
  22. help
  23. Select this if you want one Ethernet LED group. This LED group
  24. can be used for one or more Ethernet interfaces. However, it is
  25. recommended that each Ethernet interface use a dedicated LED group.
  26. config ETRAX_NBR_LED_GRP_TWO
  27. bool "Use two LED groups"
  28. help
  29. Select this if you want two Ethernet LED groups. This is the
  30. best choice if you have more than one Ethernet interface and
  31. would like to have separate LEDs for the interfaces.
  32. endchoice
  33. config ETRAX_LED_G_NET0
  34. string "Ethernet LED group 0 green LED bit"
  35. depends on ETRAX_ARCH_V32 && (ETRAX_NBR_LED_GRP_ONE || ETRAX_NBR_LED_GRP_TWO)
  36. default "PA3"
  37. help
  38. Bit to use for the green LED in Ethernet LED group 0.
  39. config ETRAX_LED_R_NET0
  40. string "Ethernet LED group 0 red LED bit"
  41. depends on ETRAX_ARCH_V32 && (ETRAX_NBR_LED_GRP_ONE || ETRAX_NBR_LED_GRP_TWO)
  42. default "PA4"
  43. help
  44. Bit to use for the red LED in Ethernet LED group 0.
  45. config ETRAX_LED_G_NET1
  46. string "Ethernet group 1 green LED bit"
  47. depends on ETRAX_ARCH_V32 && ETRAX_NBR_LED_GRP_TWO
  48. default ""
  49. help
  50. Bit to use for the green LED in Ethernet LED group 1.
  51. config ETRAX_LED_R_NET1
  52. string "Ethernet group 1 red LED bit"
  53. depends on ETRAX_ARCH_V32 && ETRAX_NBR_LED_GRP_TWO
  54. default ""
  55. help
  56. Bit to use for the red LED in Ethernet LED group 1.
  57. config ETRAX_V32_LED2G
  58. string "Second green LED bit"
  59. depends on ETRAX_ARCH_V32
  60. default "PA5"
  61. help
  62. Bit to use for the first green LED (status LED).
  63. Most Axis products use bit A5 here.
  64. config ETRAX_V32_LED2R
  65. string "Second red LED bit"
  66. depends on ETRAX_ARCH_V32
  67. default "PA6"
  68. help
  69. Bit to use for the first red LED (network LED).
  70. Most Axis products use bit A6 here.
  71. config ETRAX_V32_LED3G
  72. string "Third green LED bit"
  73. depends on ETRAX_ARCH_V32
  74. default "PA7"
  75. help
  76. Bit to use for the first green LED (drive/power LED).
  77. Most Axis products use bit A7 here.
  78. config ETRAX_V32_LED3R
  79. string "Third red LED bit"
  80. depends on ETRAX_ARCH_V32
  81. default "PA7"
  82. help
  83. Bit to use for the first red LED (drive/power LED).
  84. Most Axis products use bit A7 here.
  85. choice
  86. prompt "Kernel GDB port"
  87. depends on ETRAX_KGDB
  88. default ETRAX_KGDB_PORT0
  89. help
  90. Choose a serial port for kernel debugging. NOTE: This port should
  91. not be enabled under Drivers for built-in interfaces (as it has its
  92. own initialization code) and should not be the same as the debug port.
  93. config ETRAX_KGDB_PORT4
  94. bool "Serial-4"
  95. depends on ETRAX_SERIAL_PORTS = 5
  96. help
  97. Use serial port 4 for kernel debugging.
  98. endchoice
  99. config ETRAX_MEM_GRP1_CONFIG
  100. hex "MEM_GRP1_CONFIG"
  101. depends on ETRAX_ARCH_V32
  102. default "4044a"
  103. help
  104. Waitstates for flash. The default value is suitable for the
  105. standard flashes used in axis products (120 ns).
  106. config ETRAX_MEM_GRP2_CONFIG
  107. hex "MEM_GRP2_CONFIG"
  108. depends on ETRAX_ARCH_V32
  109. default "0"
  110. help
  111. Waitstates for SRAM. 0 is a good choice for most Axis products.
  112. config ETRAX_MEM_GRP3_CONFIG
  113. hex "MEM_GRP3_CONFIG"
  114. depends on ETRAX_ARCH_V32
  115. default "0"
  116. help
  117. Waitstates for CSP0-3. 0 is a good choice for most Axis products.
  118. It may need to be changed if external devices such as extra
  119. register-mapped LEDs are used.
  120. config ETRAX_MEM_GRP4_CONFIG
  121. hex "MEM_GRP4_CONFIG"
  122. depends on ETRAX_ARCH_V32
  123. default "0"
  124. help
  125. Waitstates for CSP4-6. 0 is a good choice for most Axis products.
  126. config ETRAX_SDRAM_GRP0_CONFIG
  127. hex "SDRAM_GRP0_CONFIG"
  128. depends on ETRAX_ARCH_V32
  129. default "336"
  130. help
  131. SDRAM configuration for group 0. The value depends on the
  132. hardware configuration. The default value is suitable
  133. for 32 MB organized as two 16 bits chips (e.g. Axis
  134. part number 18550) connected as one 32 bit device (i.e. in
  135. the same group).
  136. config ETRAX_SDRAM_GRP1_CONFIG
  137. hex "SDRAM_GRP1_CONFIG"
  138. depends on ETRAX_ARCH_V32
  139. default "0"
  140. help
  141. SDRAM configuration for group 1. The default value is 0
  142. because group 1 is not used in the default configuration,
  143. described in the help for SDRAM_GRP0_CONFIG.
  144. config ETRAX_SDRAM_TIMING
  145. hex "SDRAM_TIMING"
  146. depends on ETRAX_ARCH_V32
  147. default "104a"
  148. help
  149. SDRAM timing parameters. The default value is ok for
  150. most hardwares but large SDRAMs may require a faster
  151. refresh (a.k.a 8K refresh). The default value implies
  152. 100MHz clock and SDR mode.
  153. config ETRAX_SDRAM_COMMAND
  154. hex "SDRAM_COMMAND"
  155. depends on ETRAX_ARCH_V32
  156. default "0"
  157. help
  158. SDRAM command. Should be 0 unless you really know what
  159. you are doing (may be != 0 for unusual address line
  160. mappings such as in a MCM)..
  161. config ETRAX_DEF_GIO_PA_OE
  162. hex "GIO_PA_OE"
  163. depends on ETRAX_ARCH_V32
  164. default "1c"
  165. help
  166. Configures the direction of general port A bits. 1 is out, 0 is in.
  167. This is often totally different depending on the product used.
  168. There are some guidelines though - if you know that only LED's are
  169. connected to port PA, then they are usually connected to bits 2-4
  170. and you can therefore use 1c. On other boards which don't have the
  171. LED's at the general ports, these bits are used for all kinds of
  172. stuff. If you don't know what to use, it is always safe to put all
  173. as inputs, although floating inputs isn't good.
  174. config ETRAX_DEF_GIO_PA_OUT
  175. hex "GIO_PA_OUT"
  176. depends on ETRAX_ARCH_V32
  177. default "00"
  178. help
  179. Configures the initial data for the general port A bits. Most
  180. products should use 00 here.
  181. config ETRAX_DEF_GIO_PB_OE
  182. hex "GIO_PB_OE"
  183. depends on ETRAX_ARCH_V32
  184. default "00000"
  185. help
  186. Configures the direction of general port B bits. 1 is out, 0 is in.
  187. This is often totally different depending on the product used.
  188. There are some guidelines though - if you know that only LED's are
  189. connected to port PA, then they are usually connected to bits 2-4
  190. and you can therefore use 1c. On other boards which don't have the
  191. LED's at the general ports, these bits are used for all kinds of
  192. stuff. If you don't know what to use, it is always safe to put all
  193. as inputs, although floating inputs isn't good.
  194. config ETRAX_DEF_GIO_PB_OUT
  195. hex "GIO_PB_OUT"
  196. depends on ETRAX_ARCH_V32
  197. default "00000"
  198. help
  199. Configures the initial data for the general port B bits. Most
  200. products should use 00000 here.
  201. config ETRAX_DEF_GIO_PC_OE
  202. hex "GIO_PC_OE"
  203. depends on ETRAX_ARCH_V32
  204. default "00000"
  205. help
  206. Configures the direction of general port C bits. 1 is out, 0 is in.
  207. This is often totally different depending on the product used.
  208. There are some guidelines though - if you know that only LED's are
  209. connected to port PA, then they are usually connected to bits 2-4
  210. and you can therefore use 1c. On other boards which don't have the
  211. LED's at the general ports, these bits are used for all kinds of
  212. stuff. If you don't know what to use, it is always safe to put all
  213. as inputs, although floating inputs isn't good.
  214. config ETRAX_DEF_GIO_PC_OUT
  215. hex "GIO_PC_OUT"
  216. depends on ETRAX_ARCH_V32
  217. default "00000"
  218. help
  219. Configures the initial data for the general port C bits. Most
  220. products should use 00000 here.
  221. config ETRAX_DEF_GIO_PD_OE
  222. hex "GIO_PD_OE"
  223. depends on ETRAX_ARCH_V32
  224. default "00000"
  225. help
  226. Configures the direction of general port D bits. 1 is out, 0 is in.
  227. This is often totally different depending on the product used.
  228. There are some guidelines though - if you know that only LED's are
  229. connected to port PA, then they are usually connected to bits 2-4
  230. and you can therefore use 1c. On other boards which don't have the
  231. LED's at the general ports, these bits are used for all kinds of
  232. stuff. If you don't know what to use, it is always safe to put all
  233. as inputs, although floating inputs isn't good.
  234. config ETRAX_DEF_GIO_PD_OUT
  235. hex "GIO_PD_OUT"
  236. depends on ETRAX_ARCH_V32
  237. default "00000"
  238. help
  239. Configures the initial data for the general port D bits. Most
  240. products should use 00000 here.
  241. config ETRAX_DEF_GIO_PE_OE
  242. hex "GIO_PE_OE"
  243. depends on ETRAX_ARCH_V32
  244. default "00000"
  245. help
  246. Configures the direction of general port E bits. 1 is out, 0 is in.
  247. This is often totally different depending on the product used.
  248. There are some guidelines though - if you know that only LED's are
  249. connected to port PA, then they are usually connected to bits 2-4
  250. and you can therefore use 1c. On other boards which don't have the
  251. LED's at the general ports, these bits are used for all kinds of
  252. stuff. If you don't know what to use, it is always safe to put all
  253. as inputs, although floating inputs isn't good.
  254. config ETRAX_DEF_GIO_PE_OUT
  255. hex "GIO_PE_OUT"
  256. depends on ETRAX_ARCH_V32
  257. default "00000"
  258. help
  259. Configures the initial data for the general port E bits. Most
  260. products should use 00000 here.
  261. endif