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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. @@ -82,6 +82,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. @@ -27,6 +27,7 @@ obj-$(CONFIG_P1023_RDB) += p1023_rdb.o
  28. obj-$(CONFIG_PANDA) += panda.o
  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. @@ -164,6 +164,7 @@ src-plat-$(CONFIG_PPC_POWERNV) += pserie
  38. src-plat-$(CONFIG_PPC_IBM_CELL_BLADE) += pseries-head.S
  39. src-plat-$(CONFIG_MVME7100) += motload-head.S mvme7100.c
  40. src-plat-$(CONFIG_TL_WDR4900_V1) += 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. @@ -345,6 +346,7 @@ image-$(CONFIG_TQM8555) += cuImage.tqm
  44. image-$(CONFIG_TQM8560) += cuImage.tqm8560
  45. image-$(CONFIG_KSI8560) += cuImage.ksi8560
  46. image-$(CONFIG_TL_WDR4900_V1) += simpleImage.tl-wdr4900-v1
  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. @@ -326,6 +326,7 @@ adder875-redboot)
  53. platformo="$object/fixed-head.o $object/redboot-8xx.o"
  54. binary=y
  55. ;;
  56. +simpleboot-ws-ap3825i|\
  57. simpleboot-tl-wdr4900-v1)
  58. platformo="$object/fixed-head.o $object/simpleboot.o"
  59. link_address='0x1000000'