813-MIPS-ath79-add-ap147-support.patch 1.5 KB

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