906-MIPS-ath79-add-blackswift.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -936,6 +936,16 @@ config ATH79_MACH_EAP7660D
  4. select ATH79_DEV_LEDS_GPIO
  5. select ATH79_DEV_M25P80
  6. +config ATH79_MACH_BSB
  7. + bool "Smart Electronics Black Swift board"
  8. + select SOC_AR933X
  9. + select ATH79_DEV_ETH
  10. + select ATH79_DEV_GPIO_BUTTONS
  11. + select ATH79_DEV_LEDS_GPIO
  12. + select ATH79_DEV_M25P80
  13. + select ATH79_DEV_USB
  14. + select ATH79_DEV_WMAC
  15. +
  16. config ATH79_MACH_ARCHER_C7
  17. bool "TP-LINK Archer C5/C7/TL-WDR4900 v2 board support"
  18. select SOC_QCA955X
  19. --- a/arch/mips/ath79/Makefile
  20. +++ b/arch/mips/ath79/Makefile
  21. @@ -55,6 +55,7 @@ obj-$(CONFIG_ATH79_MACH_AP96) += mach-a
  22. obj-$(CONFIG_ATH79_MACH_ARCHER_C7) += mach-archer-c7.o
  23. obj-$(CONFIG_ATH79_MACH_AW_NR580) += mach-aw-nr580.o
  24. obj-$(CONFIG_ATH79_MACH_BHU_BXU2000N2_A)+= mach-bhu-bxu2000n2-a.o
  25. +obj-$(CONFIG_ATH79_MACH_BSB) += mach-bsb.o
  26. obj-$(CONFIG_ATH79_MACH_CAP4200AG) += mach-cap4200ag.o
  27. obj-$(CONFIG_ATH79_MACH_CPE510) += mach-cpe510.o
  28. obj-$(CONFIG_ATH79_MACH_DB120) += mach-db120.o
  29. --- a/arch/mips/ath79/machtypes.h
  30. +++ b/arch/mips/ath79/machtypes.h
  31. @@ -38,6 +38,7 @@ enum ath79_mach_type {
  32. ATH79_MACH_ARCHER_C7, /* TP-LINK Archer C7 board */
  33. ATH79_MACH_AW_NR580, /* AzureWave AW-NR580 */
  34. ATH79_MACH_BHU_BXU2000N2_A1, /* BHU BXU2000n-2 A1 */
  35. + ATH79_MACH_BSB, /* Smart Electronics Black Swift board */
  36. ATH79_MACH_CAP4200AG, /* Senao CAP4200AG */
  37. ATH79_MACH_CARAMBOLA2, /* 8devices Carambola2 */
  38. ATH79_MACH_CPE510, /* TP-LINK CPE510 */