107-powerpc-85xx-add-ws-ap3825i-support.patch 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. From 2fa1a7983ef30f3c7486f9b07c001bee87d1f6d6 Mon Sep 17 00:00:00 2001
  2. From: Martin Kennedy <[email protected]>
  3. Date: Sat, 1 Jan 2022 11:01:37 -0500
  4. Subject: [PATCH] PowerPC 85xx: Add WS-AP3825i support
  5. This patch adds support for building Linux for the Extreme Networks
  6. WS-AP3825i AP.
  7. --- a/arch/powerpc/platforms/85xx/Kconfig
  8. +++ b/arch/powerpc/platforms/85xx/Kconfig
  9. @@ -73,6 +73,16 @@ config WS_AP3710I
  10. This board is a Concurrent Dual-Band wireless access point with a
  11. Freescale P1020 SoC.
  12. +config WS_AP3825I
  13. + bool "Extreme Networks WS-AP3825i"
  14. + select DEFAULT_UIMAGE
  15. + select ARCH_REQUIRE_GPIOLIB
  16. + select GPIO_MPC8XXX
  17. + help
  18. + This option enables support for the Extreme Networks WS-AP3825i board.
  19. + This board is a Concurrent Dual-Band wireless access point with a
  20. + Freescale P1020 SoC.
  21. +
  22. config MPC8540_ADS
  23. bool "Freescale MPC8540 ADS"
  24. select DEFAULT_UIMAGE
  25. --- a/arch/powerpc/platforms/85xx/Makefile
  26. +++ b/arch/powerpc/platforms/85xx/Makefile
  27. @@ -26,6 +26,7 @@ obj-$(CONFIG_PANDA) += panda.o
  28. obj-$(CONFIG_PPC_P2020) += p2020.o $(obj8259-y)
  29. obj-$(CONFIG_TWR_P102x) += twr_p102x.o
  30. obj-$(CONFIG_WS_AP3710I) += ws-ap3710i.o
  31. +obj-$(CONFIG_WS_AP3825I) += ws-ap3825i.o
  32. obj-$(CONFIG_CORENET_GENERIC) += corenet_generic.o
  33. obj-$(CONFIG_FB_FSL_DIU) += t1042rdb_diu.o
  34. obj-$(CONFIG_RED_15W_REV1) += red15w_rev1.o
  35. --- a/arch/powerpc/boot/Makefile
  36. +++ b/arch/powerpc/boot/Makefile
  37. @@ -184,6 +184,7 @@ src-plat-$(CONFIG_MVME7100) += motload-h
  38. src-plat-$(CONFIG_HIVEAP_330) += simpleboot.c fixed-head.S
  39. src-plat-$(CONFIG_TL_WDR4900_V1) += simpleboot.c fixed-head.S
  40. src-plat-$(CONFIG_WS_AP3710I) += simpleboot.c fixed-head.S
  41. +src-plat-$(CONFIG_WS_AP3825I) += simpleboot.c fixed-head.S
  42. src-plat-$(CONFIG_PPC_MICROWATT) += fixed-head.S microwatt.c
  43. @@ -357,6 +358,7 @@ image-$(CONFIG_KSI8560) += cuImage.ksi
  44. image-$(CONFIG_HIVEAP_330) += simpleImage.hiveap-330
  45. image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
  46. image-$(CONFIG_WS_AP3710I) += simpleImage.ws-ap3710i
  47. +image-$(CONFIG_WS_AP3825I) += simpleImage.ws-ap3825i
  48. # Board ports in arch/powerpc/platform/86xx/Kconfig
  49. image-$(CONFIG_MVME7100) += dtbImage.mvme7100
  50. --- a/arch/powerpc/boot/wrapper
  51. +++ b/arch/powerpc/boot/wrapper
  52. @@ -347,7 +347,8 @@ adder875-redboot)
  53. ;;
  54. simpleboot-hiveap-330|\
  55. simpleboot-tl-wdr4900-v1|\
  56. -simpleboot-ws-ap3710i)
  57. +simpleboot-ws-ap3710i|\
  58. +simpleboot-ws-ap3825i)
  59. platformo="$object/fixed-head.o $object/simpleboot.o"
  60. link_address='0x1500000'
  61. binary=y