908-MIPS-ath79-add-domywifi-dw33d-support.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --- a/arch/mips/ath79/Kconfig
  2. +++ b/arch/mips/ath79/Kconfig
  3. @@ -480,6 +480,22 @@ config ATH79_MACH_DLAN_PRO_1200_AC
  4. select ATH79_DEV_NFC
  5. select ATH79_DEV_USB
  6. +config ATH79_MACH_DOMYWIFI_DW33D
  7. + bool "DomyWifi DW33D 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_NFC
  15. + select ATH79_DEV_WMAC
  16. + select ATH79_DEV_USB
  17. + select MTD_NAND
  18. + select MTD_NAND_AR934X
  19. + select MTD_NAND_AR934X_HW_ECC
  20. + select MTD_NAND_ECC
  21. +
  22. config ATH79_MACH_DRAGINO2
  23. bool "DRAGINO V2 support"
  24. select SOC_AR933X
  25. --- a/arch/mips/ath79/Makefile
  26. +++ b/arch/mips/ath79/Makefile
  27. @@ -69,6 +69,7 @@ obj-$(CONFIG_ATH79_MACH_DIR_615_C1) += m
  28. obj-$(CONFIG_ATH79_MACH_DIR_615_I1) += mach-dir-615-i1.o
  29. obj-$(CONFIG_ATH79_MACH_DIR_825_B1) += mach-dir-825-b1.o
  30. obj-$(CONFIG_ATH79_MACH_DIR_825_C1) += mach-dir-825-c1.o
  31. +obj-$(CONFIG_ATH79_MACH_DOMYWIFI_DW33D) += mach-domywifi-dw33d.o
  32. obj-$(CONFIG_ATH79_MACH_DRAGINO2) += mach-dragino2.o
  33. obj-$(CONFIG_ATH79_MACH_ESR900) += mach-esr900.o
  34. obj-$(CONFIG_ATH79_MACH_EW_DORIN) += mach-ew-dorin.o
  35. --- a/arch/mips/ath79/machtypes.h
  36. +++ b/arch/mips/ath79/machtypes.h
  37. @@ -57,6 +57,7 @@ enum ath79_mach_type {
  38. ATH79_MACH_DIR_835_A1, /* D-Link DIR-835 rev. A1 */
  39. ATH79_MACH_DLAN_PRO_500_WP, /* devolo dLAN pro 500 Wireless+ */
  40. ATH79_MACH_DLAN_PRO_1200_AC, /* devolo dLAN pro 1200+ WiFi ac*/
  41. + ATH79_MACH_DOMYWIFI_DW33D, /* DomyWifi DW33D */
  42. ATH79_MACH_DRAGINO2, /* Dragino Version 2 */
  43. ATH79_MACH_ESR900, /* EnGenius ESR900 */
  44. ATH79_MACH_EW_DORIN, /* embedded wireless Dorin Platform */