Skip to content

Commit

Permalink
[domd] Update config to support v5.10.41/rcar-5.1.7.rc11.2-xt kernel
Browse files Browse the repository at this point in the history
Update config to address UFS issue on
spider S4 1.2 board.

This patch adopts commits:

70174147e6fd912172087eafa24b4512307d1c94
1c0480494189ed28b45d240cd58e250d8739347f

from https://github.com/xen-troops/meta-xt-prod-devel-rcar-gen4

Signed-off-by: Andrii Chepurnyi <[email protected]>
  • Loading branch information
arminn committed Dec 7, 2023
1 parent bae4446 commit 9b40e0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Binary file modified prebuilt/ipl_spider.dtb
Binary file not shown.
8 changes: 5 additions & 3 deletions src/domains/domd/domd_cfg_spider.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ static char* dt_passthrough_nodes[] = {
"/ufs30_refclk_v",
"/regulator-1p8v",
"/regulator-3p3v",
"/regulator-vcc-sdhi",
"/reserved-memory",
};

Expand All @@ -52,18 +53,19 @@ static struct xen_domain_iomem domd_iomems[] = {
{.first_mfn = 0xe61a0, .nr_mfns = 0x1}, {.first_mfn = 0xe61a0, .nr_mfns = 0x1},
{.first_mfn = 0xe61b0, .nr_mfns = 0x1}, {.first_mfn = 0xe6260, .nr_mfns = 0x10},
{.first_mfn = 0xdfd91, .nr_mfns = 0x1},
{.first_mfn = 0xe6078, .nr_mfns = 0x1},
// { .first_gfn = 0x47fc7, .first_mfn = 0x37fc7, .nr_mfns = 0x2},
};

static uint32_t domd_irqs[] = {
// gpio@e6050180
854,
// gpio@e6050980
855,
858,
// gpio@e6051180
856,
948,
// gpio@e6051980
857,
952,
// scsi@e6860000 (UFS)
267,
// i2c@e6500000
Expand Down

0 comments on commit 9b40e0c

Please sign in to comment.