On Thu, 11 Apr 2024 15:14:14 +1000 John Watts <cont...@jookia.org> wrote:
Hi John, > The T113 supports UART1 and UART2 on PG and PD pins respectively. > Add support for these in U-Boot so we can use them. So those bits are just for the *debug* UARTs. Traditionally this is UART0, with some particular pinmux, sometimes UART2 on older SoCs. So is there a board that uses those pins for a debug console? I want to avoid making this code even messier than it already is, without good reasons. Also please note that I tried to clean this up here: https://patchwork.ozlabs.org/project/uboot/patch/20240103001239.17482-20-andre.przyw...@arm.com/ > Note: I'm not entirely sure if the PD pins should be default, they > overlap with the LCD pins. I am however using this on a real board. Is this a custom board? Could you consider using UART0 for debug then? This one doesn't support RTS/CTS, so you do not waste the more capable UARTs for debug. Cheers, Andre > Signed-off-by: John Watts <cont...@jookia.org> > --- > John Watts (2): > sunxi: Support UART1 on the T113 > sunxi: Support UART2 on the T113 > > arch/arm/mach-sunxi/board.c | 9 +++++++-- > include/sunxi_gpio.h | 1 + > 2 files changed, 8 insertions(+), 2 deletions(-) > --- > base-commit: 777c28460947371ada40868dc994dfe8537d7115 > change-id: 20240411-t113serial-a6e9ca8d8848 > > Best regards,