Skip to content

Commit 7540cb2

Browse files
apritzelpaulkocialkowski
authored andcommitted
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 <[email protected]>
1 parent 02353e9 commit 7540cb2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

uart0-helloworld-sdboot.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ static const struct soc_info {
231231
H6_UART0_BASE, SUNXI_GPH(0), MUX_2, FLAG_NEW_CLOCK },
232232
{ 0x1851, "R329", R329_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_100000,
233233
R329_UART0_BASE, SUNXI_GPB(4), MUX_2, FLAG_NCAT2 },
234+
{ 0x1855, "A133", H6_PIO_BASE, H6_CCM_BASE, SRAM_A1_ADDR_20000,
235+
H6_UART0_BASE, SUNXI_GPB(9), MUX_2, FLAG_NEW_CLOCK },
234236
{ 0x1859, "R528", V853_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_20000,
235237
R329_UART0_BASE, SUNXI_GPE(2), MUX_6, FLAG_NCAT2 },
236238
{ 0x1886, "V853", V853_PIO_BASE, R329_CCM_BASE, SRAM_A1_ADDR_20000,

0 commit comments

Comments
 (0)