From ce485c0d60a7533af0ce6125f37792354036b524 Mon Sep 17 00:00:00 2001 From: Soupborsh Date: Mon, 2 Dec 2024 20:27:49 +0500 Subject: [PATCH 1/2] add B288 --- soc_info.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/soc_info.c b/soc_info.c index 264d5bce8..e28735071 100644 --- a/soc_info.c +++ b/soc_info.c @@ -618,6 +618,13 @@ soc_info_t soc_info_table[] = { .sid_sections = generic_2k_sid_maps, .rvbar_reg = 0x08000040, .watchdog = &wd_a523_compat, + },{ + .soc_id = 0x1699, /* Allwinner B288 */ + .name = "B288", + .scratch_addr = 0x1000, + .thunk_addr = 0xA200, .thunk_size = 0x200, + .swap_buffers = a10_a13_a20_sram_swap_buffers, + .sid_base = 0x01C14000, },{ .swap_buffers = NULL /* End of the table */ } From b9fd6367f9ef3051e58bcf849c6539a18f9538a6 Mon Sep 17 00:00:00 2001 From: Soupborsh Date: Fri, 13 Dec 2024 18:32:20 +0500 Subject: [PATCH 2/2] add more B288 properties, fixes spl --- soc_info.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/soc_info.c b/soc_info.c index e28735071..5b4385f17 100644 --- a/soc_info.c +++ b/soc_info.c @@ -622,9 +622,15 @@ soc_info_t soc_info_table[] = { .soc_id = 0x1699, /* Allwinner B288 */ .name = "B288", .scratch_addr = 0x1000, + .mmu_tt_addr = 0x8000, .thunk_addr = 0xA200, .thunk_size = 0x200, .swap_buffers = a10_a13_a20_sram_swap_buffers, .sid_base = 0x01C14000, + .sid_sections = h3_sid_maps, + .watchdog = &wd_h3_compat, + .sram_size = 108 * 1024, + .sid_offset = 0x200, + .sid_fix = true, },{ .swap_buffers = NULL /* End of the table */ }