799-MIPS-ath79-add-minibox-v1-support.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- a/arch/mips/ath79/machtypes.h
  2. +++ b/arch/mips/ath79/machtypes.h
  3. @@ -66,6 +66,7 @@ enum ath79_mach_type {
  4. ATH79_MACH_EPG5000, /* EnGenius EPG5000 */
  5. ATH79_MACH_F9K1115V2, /* Belkin AC1750DB */
  6. ATH79_MACH_GL_INET, /* GL-CONNECT GL-INET */
  7. + ATH79_MACH_GS_MINIBOX_V1, /* Gainstrong MiniBox V1.0 */
  8. ATH79_MACH_GS_OOLITE, /* GS OOLITE V1.0 */
  9. ATH79_MACH_HIWIFI_HC6361, /* HiWiFi HC6361 */
  10. ATH79_MACH_JA76PF, /* jjPlus JA76PF */
  11. --- a/arch/mips/ath79/Kconfig
  12. +++ b/arch/mips/ath79/Kconfig
  13. @@ -531,6 +531,16 @@ config ATH79_MACH_EAP300V2
  14. select ATH79_DEV_M25P80
  15. select ATH79_DEV_WMAC
  16. +config ATH79_MACH_GS_MINIBOX_V1
  17. + bool "Gainstrong MiniBox V1.0 support"
  18. + select SOC_AR933X
  19. + select ARH79_DEV_ETH
  20. + select ARH79_DEV_GPIO_BUTTONS
  21. + select ATH79_DEV_LEDS_GPIO
  22. + select ATH79_DEV_M25P80
  23. + select ATH79_DEV_USB
  24. + select ATH79_DEV_WMAC
  25. +
  26. config ATH79_MACH_GS_OOLITE
  27. bool "GS Oolite V1 support"
  28. select SOC_AR933X
  29. --- a/arch/mips/ath79/Makefile
  30. +++ b/arch/mips/ath79/Makefile
  31. @@ -77,6 +77,7 @@ obj-$(CONFIG_ATH79_MACH_EPG5000) += mach
  32. obj-$(CONFIG_ATH79_MACH_ESR1750) += mach-esr1750.o
  33. obj-$(CONFIG_ATH79_MACH_F9K1115V2) += mach-f9k1115v2.o
  34. obj-$(CONFIG_ATH79_MACH_GL_INET) += mach-gl-inet.o
  35. +obj-$(CONFIG_ATH79_MACH_GS_MINIBOX_V1) += mach-gs-minibox-v1.o
  36. obj-$(CONFIG_ATH79_MACH_GS_OOLITE) += mach-gs-oolite.o
  37. obj-$(CONFIG_ATH79_MACH_HIWIFI_HC6361) += mach-hiwifi-hc6361.o
  38. obj-$(CONFIG_ATH79_MACH_JA76PF) += mach-ja76pf.o