736-MIPS-ath79-add-MC-MAC1200R-support.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -610,6 +610,16 @@ config ATH79_MACH_R6100
  4. select ATH79_DEV_USB
  5. select ATH79_DEV_WMAC
  6. +config ATH79_MACH_MC_MAC1200R
  7. + bool "MERCURY MAC1200R board support"
  8. + select SOC_AR934X
  9. + select ATH79_DEV_AP9X_PCI if PCI
  10. + select ATH79_DEV_ETH
  11. + select ATH79_DEV_GPIO_BUTTONS
  12. + select ATH79_DEV_LEDS_GPIO
  13. + select ATH79_DEV_M25P80
  14. + select ATH79_DEV_WMAC
  15. +
  16. config ATH79_MACH_RB4XX
  17. bool "MikroTik RouterBOARD 4xx series support"
  18. select SOC_AR71XX
  19. --- a/arch/mips/ath79/Makefile
  20. +++ b/arch/mips/ath79/Makefile
  21. @@ -82,6 +82,7 @@ obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) +
  22. obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o
  23. obj-$(CONFIG_ATH79_MACH_JWAP003) += mach-jwap003.o
  24. obj-$(CONFIG_ATH79_MACH_HORNET_UB) += mach-hornet-ub.o
  25. +obj-$(CONFIG_ATH79_MACH_MC_MAC1200R) += mach-mc-mac1200r.o
  26. obj-$(CONFIG_ATH79_MACH_MR600) += mach-mr600.o
  27. obj-$(CONFIG_ATH79_MACH_MR900) += mach-mr900.o
  28. obj-$(CONFIG_ATH79_MACH_MYNET_N600) += mach-mynet-n600.o
  29. --- a/arch/mips/ath79/machtypes.h
  30. +++ b/arch/mips/ath79/machtypes.h
  31. @@ -122,6 +122,7 @@ enum ath79_mach_type {
  32. ATH79_MACH_TEW_673GRU, /* TRENDnet TEW-673GRU */
  33. ATH79_MACH_TEW_712BR, /* TRENDnet TEW-712BR */
  34. ATH79_MACH_TEW_732BR, /* TRENDnet TEW-732BR */
  35. + ATH79_MACH_MC_MAC1200R, /* MERCURY MAC1200R*/
  36. ATH79_MACH_TL_MR10U, /* TP-LINK TL-MR10U */
  37. ATH79_MACH_TL_MR11U, /* TP-LINK TL-MR11U */
  38. ATH79_MACH_TL_MR13U, /* TP-LINK TL-MR13U */