Skip to content

Commit 1a39f7f

Browse files
TonyHan11jhedberg
authored andcommitted
soc: microchip: sama7g5: sam: update MMU setting for sama7g5 TRNG
Update TRNG registers with strong ordered, read and write access. Signed-off-by: Tony Han <[email protected]>
1 parent cf694d7 commit 1a39f7f

File tree

1 file changed

+4
-0
lines changed
  • soc/microchip/sam/sama7g5

1 file changed

+4
-0
lines changed

soc/microchip/sam/sama7g5/soc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ static const struct arm_mmu_region mmu_regions[] = {
4545

4646
MMU_REGION_FLAT_ENTRY("sdmmc1", SDMMC1_BASE_ADDRESS, 0x4000,
4747
MT_STRONGLY_ORDERED | MPERM_R | MPERM_W),
48+
49+
IF_ENABLED(DT_NODE_HAS_STATUS_OKAY(DT_NODELABEL(trng)),
50+
(MMU_REGION_FLAT_ENTRY("trng", TRNG_BASE_ADDRESS, 0x100,
51+
MT_STRONGLY_ORDERED | MPERM_R | MPERM_W),))
4852
};
4953

5054
const struct arm_mmu_config mmu_config = {

0 commit comments

Comments
 (0)