From: <nicolas.ferre@microchip.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
Claudiu Beznea <claudiu.beznea@tuxon.dev>
Cc: Ryan Wanner <ryan.wanner@microchip.com>,
<linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
Nicolas Ferre <nicolas.ferre@microchip.com>
Subject: [PATCH 2/2] ARM: debug: at91: add sama7d65 debug uarts for DEBUG_LL
Date: Fri, 5 Sep 2025 11:41:12 +0200 [thread overview]
Message-ID: <20250905094113.27480-2-nicolas.ferre@microchip.com> (raw)
In-Reply-To: <20250905094113.27480-1-nicolas.ferre@microchip.com>
From: Nicolas Ferre <nicolas.ferre@microchip.com>
Add USART6 on Flexcom6 for AT91 DEBUG_LL with associated physical and
virtual addresses. It's the debug console on SAMA765 Curiosity board.
Add the possibility to use USART3 as well because it's the debug console
on some other SAMA7D65 boards.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Reviewed-by: Ryan Wanner <ryan.wanner@microchip.com>
---
arch/arm/Kconfig.debug | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index c941adbc850b..1f4c473b81ac 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -207,6 +207,22 @@ choice
their output to the USART1 port on SAMV7 based
machines.
+ config DEBUG_AT91_SAMA7D65_FLEXCOM3
+ bool "Kernel low-level debugging on SAMA7D65 FLEXCOM3"
+ select DEBUG_AT91_UART
+ depends on SOC_SAMA7D65
+ help
+ Say Y here if you want kernel low-level debugging support
+ on the FLEXCOM3 port IOSET 1 of SAMA7D65.
+
+ config DEBUG_AT91_SAMA7D65_FLEXCOM6
+ bool "Kernel low-level debugging on SAMA7D65 FLEXCOM6"
+ select DEBUG_AT91_UART
+ depends on SOC_SAMA7D65
+ help
+ Say Y here if you want kernel low-level debugging support
+ on the FLEXCOM6 port IOSET 4 of SAMA7D65.
+
config DEBUG_AT91_SAMA7G5_FLEXCOM3
bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3"
select DEBUG_AT91_UART
@@ -1627,6 +1643,8 @@ config DEBUG_UART_PHYS
default 0xd4018000 if DEBUG_MMP_UART3
default 0xe0000000 if DEBUG_SPEAR13XX
default 0xe0064200 if DEBUG_AT91_LAN966_FLEXCOM
+ default 0xe182c200 if DEBUG_AT91_SAMA7D65_FLEXCOM3
+ default 0xe2020200 if DEBUG_AT91_SAMA7D65_FLEXCOM6
default 0xe1824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
default 0xe4007000 if DEBUG_HIP04_UART
default 0xe6c40000 if DEBUG_RMOBILE_SCIFA0
@@ -1690,6 +1708,8 @@ config DEBUG_UART_VIRT
default 0xc8821000 if DEBUG_RV1108_UART1
default 0xc8912000 if DEBUG_RV1108_UART0
default 0xe0010fe0 if ARCH_RPC
+ default 0xfc82c200 if DEBUG_AT91_SAMA7D65_FLEXCOM3
+ default 0xfd020200 if DEBUG_AT91_SAMA7D65_FLEXCOM6
default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3
default 0xf0010000 if DEBUG_ASM9260_UART
default 0xf0100000 if DEBUG_DIGICOLOR_UA0
--
2.43.0
prev parent reply other threads:[~2025-09-05 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 9:41 [PATCH 1/2] ARM: debug: at91: add UART0 for sama5d2 DEBUG_LL nicolas.ferre
2025-09-05 9:41 ` nicolas.ferre [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250905094113.27480-2-nicolas.ferre@microchip.com \
--to=nicolas.ferre@microchip.com \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ryan.wanner@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®