2
0

196-ARM-at91-debug-add-sama7g5-low-level-debug-uart.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. From 3de4879bf59b46a966ea226a67df70b88f43a23e Mon Sep 17 00:00:00 2001
  2. From: Eugen Hristev <[email protected]>
  3. Date: Fri, 9 Apr 2021 14:31:16 +0300
  4. Subject: [PATCH 196/247] ARM: at91: debug: add sama7g5 low level debug uart
  5. Add sama7g5 SoC debug uart on Flexcom3. This is the UART that the
  6. ROM bootloader uses.
  7. Signed-off-by: Eugen Hristev <[email protected]>
  8. Signed-off-by: Nicolas Ferre <[email protected]>
  9. Link: https://lore.kernel.org/r/[email protected]
  10. [claudiu.beznea: adapt to v5.10.27]
  11. Signed-off-by: Claudiu Beznea <[email protected]>
  12. ---
  13. arch/arm/Kconfig.debug | 10 ++++++++++
  14. 1 file changed, 10 insertions(+)
  15. diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
  16. index dd1cf7035398..09901118e3fb 100644
  17. --- a/arch/arm/Kconfig.debug
  18. +++ b/arch/arm/Kconfig.debug
  19. @@ -191,6 +191,14 @@ choice
  20. their output to the USART1 port on SAMV7 based
  21. machines.
  22. + config DEBUG_AT91_SAMA7G5_FLEXCOM3
  23. + bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
  24. + select DEBUG_AT91_UART
  25. + depends on SOC_SAMA7G5
  26. + help
  27. + Say Y here if you want kernel low-level debugging support
  28. + on the FLEXCOM3 port of SAMA7G5.
  29. +
  30. config DEBUG_BCM2835
  31. bool "Kernel low-level debugging on BCM2835 PL011 UART"
  32. depends on ARCH_BCM2835 && ARCH_MULTI_V6
  33. @@ -1731,6 +1739,7 @@ config DEBUG_UART_PHYS
  34. default 0xd4017000 if DEBUG_MMP_UART2
  35. default 0xd4018000 if DEBUG_MMP_UART3
  36. default 0xe0000000 if DEBUG_SPEAR13XX
  37. + default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
  38. default 0xe4007000 if DEBUG_HIP04_UART
  39. default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
  40. default 0xe6c50000 if DEBUG_RMOBILE_SCIFA1
  41. @@ -1791,6 +1800,7 @@ config DEBUG_UART_VIRT
  42. default 0xc8912000 if DEBUG_RV1108_UART0
  43. default 0xe0010fe0 if ARCH_RPC
  44. default 0xf0000be0 if ARCH_EBSA110
  45. + default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
  46. default 0xf0010000 if DEBUG_ASM9260_UART
  47. default 0xf0100000 if DEBUG_DIGICOLOR_UA0
  48. default 0xf01fb000 if DEBUG_NOMADIK_UART
  49. --
  50. 2.32.0