812-MIPS-ath79-add-ap143-support.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -104,6 +104,20 @@ config ATH79_MACH_AP136
  4. Say 'Y' here if you want your kernel to support the
  5. Atheros AP136 or AP135 reference boards.
  6. +config ATH79_MACH_AP143
  7. + bool "Atheros AP143 reference board"
  8. + select SOC_QCA953X
  9. + select ATH79_DEV_GPIO_BUTTONS
  10. + select ATH79_DEV_LEDS_GPIO
  11. + select ATH79_DEV_SPI
  12. + select ATH79_DEV_USB
  13. + select ATH79_DEV_WMAC
  14. + select ATH79_DEV_ETH
  15. + select ATH79_DEV_M25P80
  16. + help
  17. + Say 'Y' here if you want your kernel to support the
  18. + Atheros AP143 reference board.
  19. +
  20. config ATH79_MACH_AP81
  21. bool "Atheros AP81 reference board"
  22. select SOC_AR913X
  23. --- a/arch/mips/ath79/Makefile
  24. +++ b/arch/mips/ath79/Makefile
  25. @@ -46,6 +46,7 @@ obj-$(CONFIG_ATH79_MACH_AP113) += mach-
  26. obj-$(CONFIG_ATH79_MACH_AP121) += mach-ap121.o
  27. obj-$(CONFIG_ATH79_MACH_AP132) += mach-ap132.o
  28. obj-$(CONFIG_ATH79_MACH_AP136) += mach-ap136.o
  29. +obj-$(CONFIG_ATH79_MACH_AP143) += mach-ap143.o
  30. obj-$(CONFIG_ATH79_MACH_AP81) += mach-ap81.o
  31. obj-$(CONFIG_ATH79_MACH_AP83) += mach-ap83.o
  32. obj-$(CONFIG_ATH79_MACH_AP96) += mach-ap96.o
  33. --- a/arch/mips/ath79/machtypes.h
  34. +++ b/arch/mips/ath79/machtypes.h
  35. @@ -28,6 +28,7 @@ enum ath79_mach_type {
  36. ATH79_MACH_AP135_020, /* Atheros AP135-020 reference board */
  37. ATH79_MACH_AP136_010, /* Atheros AP136-010 reference board */
  38. ATH79_MACH_AP136_020, /* Atheros AP136-020 reference board */
  39. + ATH79_MACH_AP143, /* Atheros AP143 reference board */
  40. ATH79_MACH_AP81, /* Atheros AP81 reference board */
  41. ATH79_MACH_AP83, /* Atheros AP83 */
  42. ATH79_MACH_AP96, /* Atheros AP96 */