From f0e5fe97664bf493dfe050439038d7e9546f06a3 Mon Sep 17 00:00:00 2001 From: Andre Przywara Date: Wed, 13 Jul 2022 00:27:59 +0100 Subject: [PATCH] fel: add support for R528/T113s This SoC is using the same die as the RISC-V D1, but we don't support non-ARM yet. The memory map and peripherals (watchdog) are very similar to the V853, also the BROM enabled the instruction cache, so requires the same I cache hack. Signed-off-by: Andre Przywara --- soc_info.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/soc_info.c b/soc_info.c index 455f5cf..d0af8ef 100644 --- a/soc_info.c +++ b/soc_info.c @@ -409,6 +409,18 @@ soc_info_t soc_info_table[] = { .sid_offset = 0x200, .icache_fix = true, .watchdog = &wd_v853_compat, + },{ + .soc_id = 0x1859, /* Allwinner D1/D1s/R528/T113-S3 */ + .name = "R528", + .spl_addr = 0x20000, + .scratch_addr = 0x21000, + .thunk_addr = 0x3a200, .thunk_size = 0x200, + .swap_buffers = v831_sram_swap_buffers, + .sram_size = 160 * 1024, + .sid_base = 0x03006000, + .sid_offset = 0x200, + .icache_fix = true, + .watchdog = &wd_v853_compat, },{ .swap_buffers = NULL /* End of the table */ }