815-MIPS-ath79-add-mr1750-support.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -869,6 +869,16 @@ config ATH79_MACH_CAP4200AG
  4. select ATH79_DEV_M25P80
  5. select ATH79_DEV_WMAC
  6. +config ATH79_MACH_MR1750
  7. + bool "OpenMesh MR1750 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_MR900
  17. bool "OpenMesh MR900 board support"
  18. select SOC_QCA955X
  19. --- a/arch/mips/ath79/Makefile
  20. +++ b/arch/mips/ath79/Makefile
  21. @@ -86,6 +86,7 @@ obj-$(CONFIG_ATH79_MACH_HORNET_UB) += ma
  22. obj-$(CONFIG_ATH79_MACH_MC_MAC1200R) += mach-mc-mac1200r.o
  23. obj-$(CONFIG_ATH79_MACH_MR12) += mach-mr12.o
  24. obj-$(CONFIG_ATH79_MACH_MR16) += mach-mr16.o
  25. +obj-$(CONFIG_ATH79_MACH_MR1750) += mach-mr1750.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. @@ -75,6 +75,7 @@ enum ath79_mach_type {
  32. ATH79_MACH_HORNET_UB, /* ALFA Networks Hornet-UB */
  33. ATH79_MACH_MR12, /* Cisco Meraki MR12 */
  34. ATH79_MACH_MR16, /* Cisco Meraki MR16 */
  35. + ATH79_MACH_MR1750, /* OpenMesh MR1750 */
  36. ATH79_MACH_MR600V2, /* OpenMesh MR600v2 */
  37. ATH79_MACH_MR600, /* OpenMesh MR600 */
  38. ATH79_MACH_MR900, /* OpenMesh MR900 */