815-MIPS-ath79-add-om5pac-support.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -790,6 +790,15 @@ config ATH79_MACH_OM5P
  4. select ATH79_DEV_M25P80
  5. select ATH79_DEV_WMAC
  6. +config ATH79_MACH_OM5P_AC
  7. + bool "OpenMesh OM5P-AC board support"
  8. + select SOC_QCA955X
  9. + select ATH79_DEV_AP9X_PCI if PCI
  10. + select ATH79_DEV_ETH
  11. + select ATH79_DEV_LEDS_GPIO
  12. + select ATH79_DEV_M25P80
  13. + select ATH79_DEV_WMAC
  14. +
  15. config ATH79_MACH_ONION_OMEGA
  16. bool "ONION OMEGA support"
  17. select SOC_AR933X
  18. --- a/arch/mips/ath79/Makefile
  19. +++ b/arch/mips/ath79/Makefile
  20. @@ -97,6 +97,7 @@ obj-$(CONFIG_ATH79_MACH_MZK_W300NH) += m
  21. obj-$(CONFIG_ATH79_MACH_NBG460N) += mach-nbg460n.o
  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_ONION_OMEGA) += mach-onion-omega.o
  26. obj-$(CONFIG_ATH79_MACH_PB42) += mach-pb42.o
  27. obj-$(CONFIG_ATH79_MACH_PB44) += mach-pb44.o
  28. --- a/arch/mips/ath79/machtypes.h
  29. +++ b/arch/mips/ath79/machtypes.h
  30. @@ -92,6 +92,7 @@ enum ath79_mach_type {
  31. ATH79_MACH_OM2P_LC, /* OpenMesh OM2P-LC */
  32. ATH79_MACH_OM2Pv2, /* OpenMesh OM2Pv2 */
  33. ATH79_MACH_OM2P, /* OpenMesh OM2P */
  34. + ATH79_MACH_OM5P_AC, /* OpenMesh OM5P-AC */
  35. ATH79_MACH_OM5P_AN, /* OpenMesh OM5P-AN */
  36. ATH79_MACH_OM5P, /* OpenMesh OM5P */
  37. ATH79_MACH_ONION_OMEGA, /* ONION OMEGA */