030-v5.11-0002-v5.11-arm64-add-config-for-Broadcom-BCM4908-SoCs.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From dccb22d078ebd098115e4f66bde1ee2249c8640b Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Thu, 12 Nov 2020 16:08:30 +0100
  4. Subject: [PATCH] arm64: add config for Broadcom BCM4908 SoCs
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Add ARCH_BCM4908 config that can be used for compiling DTS files.
  9. Signed-off-by: Rafał Miłecki <[email protected]>
  10. Signed-off-by: Florian Fainelli <[email protected]>
  11. ---
  12. arch/arm64/Kconfig.platforms | 8 ++++++++
  13. arch/arm64/configs/defconfig | 1 +
  14. 2 files changed, 9 insertions(+)
  15. --- a/arch/arm64/Kconfig.platforms
  16. +++ b/arch/arm64/Kconfig.platforms
  17. @@ -43,6 +43,14 @@ config ARCH_BCM2835
  18. This enables support for the Broadcom BCM2837 SoC.
  19. This SoC is used in the Raspberry Pi 3 device.
  20. +config ARCH_BCM4908
  21. + bool "Broadcom BCM4908 family"
  22. + select GPIOLIB
  23. + help
  24. + This enables support for the Broadcom BCM4906, BCM4908 and
  25. + BCM49408 SoCs. These SoCs use Brahma-B53 cores and can be
  26. + found in home routers.
  27. +
  28. config ARCH_BCM_IPROC
  29. bool "Broadcom iProc SoC Family"
  30. select COMMON_CLK_IPROC
  31. --- a/arch/arm64/configs/defconfig
  32. +++ b/arch/arm64/configs/defconfig
  33. @@ -33,6 +33,7 @@ CONFIG_ARCH_AGILEX=y
  34. CONFIG_ARCH_SUNXI=y
  35. CONFIG_ARCH_ALPINE=y
  36. CONFIG_ARCH_BCM2835=y
  37. +CONFIG_ARCH_BCM4908=y
  38. CONFIG_ARCH_BCM_IPROC=y
  39. CONFIG_ARCH_BERLIN=y
  40. CONFIG_ARCH_BRCMSTB=y