From 7540cb235691be94ac5ef0181a73dd929949fc4e Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Wed, 19 Mar 2025 00:40:51 +0000 Subject: [PATCH] uart0-helloworld-sdboot: add support for Allwinner A100/A133 The Allwinner A100/A133/R818 SoCs look very similar to the H6, sharing most of the peripheral's location in the memory map, with the debug UART typically at PB9/PB10. Add support for this SoC, by just filling a new entry in the new SoC struct, no further changes needed here. Tested on a Liontron H-A133L board. Signed-off-by: Andre Przywara --- uart0-helloworld-sdboot.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uart0-helloworld-sdboot.c b/uart0-helloworld-sdboot.c index e7df4d9..f644018 100644 --- a/uart0-helloworld-sdboot.c +++ b/uart0-helloworld-sdboot.c @@ -231,6 +231,8 @@ static const struct soc_info { H6_UART0_BASE, SUNXI_GPH(0), MUX_2, FLAG_NEW_CLOCK }, { 0x1851, "R329", R329_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_100000, R329_UART0_BASE, SUNXI_GPB(4), MUX_2, FLAG_NCAT2 }, + { 0x1855, "A133", H6_PIO_BASE, H6_CCM_BASE, SRAM_A1_ADDR_20000, + H6_UART0_BASE, SUNXI_GPB(9), MUX_2, FLAG_NEW_CLOCK }, { 0x1859, "R528", V853_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_20000, R329_UART0_BASE, SUNXI_GPE(2), MUX_6, FLAG_NCAT2 }, { 0x1886, "V853", V853_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_20000,