816-MIPS-ath79-add-om5pacv-support.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -799,6 +799,16 @@ config ATH79_MACH_OM5P_AC
  4. select ATH79_DEV_M25P80
  5. select ATH79_DEV_WMAC
  6. +config ATH79_MACH_OM5P_ACv2
  7. + bool "OpenMesh OM5P-ACv2 board support"
  8. + select SOC_QCA955X
  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_ONION_OMEGA
  17. bool "ONION OMEGA support"
  18. select SOC_AR933X
  19. --- a/arch/mips/ath79/Makefile
  20. +++ b/arch/mips/ath79/Makefile
  21. @@ -98,6 +98,7 @@ obj-$(CONFIG_ATH79_MACH_NBG460N) += mach
  22. obj-$(CONFIG_ATH79_MACH_OM2P) += mach-om2p.o
  23. obj-$(CONFIG_ATH79_MACH_OM5P) += mach-om5p.o
  24. obj-$(CONFIG_ATH79_MACH_OM5P_AC) += mach-om5pac.o
  25. +obj-$(CONFIG_ATH79_MACH_OM5P_ACv2) += mach-om5pacv2.o
  26. obj-$(CONFIG_ATH79_MACH_ONION_OMEGA) += mach-onion-omega.o
  27. obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
  28. obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
  29. --- a/arch/mips/ath79/machtypes.h
  30. +++ b/arch/mips/ath79/machtypes.h
  31. @@ -93,6 +93,7 @@ enum ath79_mach_type {
  32. ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
  33. ATH79_MACH_OM2P, /* OpenMesh OM2P */
  34. ATH79_MACH_OM5P_AC, /* OpenMesh OM5P-AC */
  35. + ATH79_MACH_OM5P_ACv2, /* OpenMesh OM5P-ACv2 */
  36. ATH79_MACH_OM5P_AN, /* OpenMesh OM5P-AN */
  37. ATH79_MACH_OM5P, /* OpenMesh OM5P */
  38. ATH79_MACH_ONION_OMEGA, /* ONION OMEGA */